Skip to content

Commit

Permalink
Fix pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Feb 17, 2025
1 parent b8b9cba commit ca4b926
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/hydra_zen/wrapper/_implementations.py
Original file line number Diff line number Diff line change
Expand Up @@ -971,14 +971,14 @@ def get_name(target: _HasName) -> str:
#
# This default dict enables us to easily update/merge the default arguments for a
# specific ZenStore instance, in support of self-partialing behavior.
_StoreCallSig = TypedDict("_StoreCallSig", [
("name", Union[NodeName, Callable[[Any], NodeName]]),
("group", Union[GroupName, Callable[[Any], GroupName]]),
("package", Optional[Union[str, Callable[[Any], str]]]),
("provider", Optional[str]),
("__kw", dict[str, Any]), # kwargs passed to to_config
("to_config", Callable[[Any], Any]),
])
_StoreCallSig = TypedDict("_StoreCallSig", {
"name": Union[NodeName, Callable[[Any], NodeName]],
"group": Union[GroupName, Callable[[Any], GroupName]],
"package": Optional[Union[str, Callable[[Any], str]]],
"provider": Optional[str]),
"__kw": dict[str, Any], # kwargs passed to to_config
"to_config": Callable[[Any], Any],
})


# TODO: make frozen dict
Expand Down

0 comments on commit ca4b926

Please sign in to comment.