Skip to content

Commit

Permalink
Use Union[] instead of | None
Browse files Browse the repository at this point in the history
  • Loading branch information
mojaveazure committed Dec 17, 2024
1 parent 7a802a3 commit efa8011
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apis/python/tests/test_update_uns.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
from tests.test_basic_anndata_io import TEST_UNS, make_uns_adata

ValidUpdates = Union[None, str, List[str], Dict[str, "ValidUpdates"]]
Logs = List[str] | None

Logs = Union[List[str], None]

@dataclass
class Case:
Expand Down

0 comments on commit efa8011

Please sign in to comment.