We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cdd9dd commit 6c90390Copy full SHA for 6c90390
pyiceberg/typedef.py
@@ -36,14 +36,14 @@
36
from pydantic import BaseModel, ConfigDict, RootModel
37
from typing_extensions import Self
38
39
-from pyiceberg.expressions.literals import Literal as IcebergLiteral
40
-
41
if TYPE_CHECKING:
+ from pyiceberg.expressions.literals import Literal as IcebergLiteral
42
from pyiceberg.types import StructType
43
44
LiteralValue = IcebergLiteral[Any]
45
else:
46
- LiteralValue = IcebergLiteral
+ # Use Any for runtime to avoid circular import - type checkers will use TYPE_CHECKING version
+ LiteralValue = Any # type: ignore[assignment,misc]
47
48
49
class FrozenDict(dict[Any, Any]):
0 commit comments