Skip to content

Commit

Permalink
chore: conditional type imports
Browse files Browse the repository at this point in the history
  • Loading branch information
d-v-b committed Mar 19, 2024
1 parent 0676002 commit 5b1250f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_v2.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
from __future__ import annotations
from typing import TYPE_CHECKING, Any, Union
from pydantic import ValidationError
import pytest
import zarr
from zarr.errors import ContainsGroupError, ContainsArrayError
from typing import Any, Literal, Union, Optional

if TYPE_CHECKING:
from typing import Literal, Optional

import numcodecs
from numcodecs.abc import Codec
from pydantic_zarr.v2 import (
Expand Down

0 comments on commit 5b1250f

Please sign in to comment.