Skip to content

Commit f2635e3

Browse files
committed
fix(metadata.py): Use Any outside TYPE_CHECKING for Pydantic
1 parent d3379b4 commit f2635e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zarr/v3/metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22
from enum import Enum
3-
from typing import TYPE_CHECKING, cast, Dict, Iterable
3+
from typing import TYPE_CHECKING, cast, Dict, Iterable, Any
44
from dataclasses import dataclass, field
55
import json
66
import numpy as np
@@ -10,7 +10,7 @@
1010

1111

1212
if TYPE_CHECKING:
13-
from typing import Any, Literal, Union, List, Optional, Tuple
13+
from typing import Literal, Union, List, Optional, Tuple
1414
from zarr.v3.codecs.pipeline import CodecPipeline
1515

1616

0 commit comments

Comments
 (0)