Skip to content

Commit

Permalink
(fix): default_value typing
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan-gold committed Jan 5, 2024
1 parent 374c107 commit 1a021f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anndata/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class DeprecatedOption(NamedTuple):
# TODO: inherit from Generic[T] as well after python 3.9 is no longer supported
class RegisteredOption(NamedTuple):
option: str
default_value: object
default_value: T
doc: str
validator: Callable[[T], None] | None

Expand Down

0 comments on commit 1a021f2

Please sign in to comment.