Skip to content

Commit a1949f1

Browse files
committed
Revert "Try using get_args on definition"
This reverts commit 7ad760f.
1 parent 7ad760f commit a1949f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/zarr/core/common.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
TypedDict,
1717
TypeVar,
1818
cast,
19-
get_args,
2019
overload,
2120
)
2221

@@ -41,7 +40,7 @@
4140
JSON = str | int | float | Mapping[str, "JSON"] | Sequence["JSON"] | None
4241
MemoryOrder = Literal["C", "F"]
4342
AccessModeLiteral = Literal["r", "r+", "a", "w", "w-"]
44-
ANY_ACCESS_MODE: Final = get_args(AccessModeLiteral)
43+
ANY_ACCESS_MODE: Final = "r", "r+", "a", "w", "w-"
4544
DimensionNames = Iterable[str | None] | None
4645

4746
TName = TypeVar("TName", bound=str)

0 commit comments

Comments
 (0)