@@ -12,7 +12,6 @@ if TYPE_CHECKING:
1212
1313# Numpy protocols
1414
15- _T_co = TypeVar ("_T_co" , covariant = True )
1615_S_co = TypeVar ("_S_co" , bound = tuple [Any , ...], covariant = True )
1716_D_co = TypeVar ("_D_co" , covariant = True )
1817
@@ -55,7 +54,7 @@ class NPArrayLike(NPProtocol, Generic[_S_co, _D_co], Protocol):
5554# Expression and values conversions
5655
5756NumericLiteral : TypeAlias = int | float
58- """Python objects that can be converted to a numerical `Expression` or `DuckDBPyType` (integer or floating points numbers.) """
57+ """Python objects that can be converted to a numerical `Expression` or `DuckDBPyType`. """
5958TemporalLiteral : TypeAlias = date | datetime | time | timedelta
6059BlobLiteral : TypeAlias = bytes | bytearray
6160"""Python objects that can be converted to a `BLOB` `ConstantExpression` or `DuckDBPyType`.
@@ -136,8 +135,8 @@ NestedIds: TypeAlias = Literal["list", "struct", "array", "enum", "map", "decima
136135PyTypeIds : TypeAlias = Builtins | NestedIds
137136"""All possible identifiers for `DuckDBPyType.id`."""
138137
139- StrIntoPyType = Builtins | Literal ["json" ] | str
140- """Any `str` that can be converted into a `DuckDBPyType`.
138+ StrIntoPyType : TypeAlias = Builtins | Literal ["json" ] | str
139+ """Any `str` that can be converted into a `DuckDBPyType`.
141140
142141The pytypes not present in the literal values are the composed ones, like `STRUCT` or `DECIMAL`.
143142
@@ -203,5 +202,5 @@ JsonRecordOptions: TypeAlias = _Auto | Literal["true", "false"]
203202
204203# Other
205204
206- JoinType = Literal ["inner" , "left" , "right" , "outer" , "semi" , "anti" ]
205+ JoinType : TypeAlias = Literal ["inner" , "left" , "right" , "outer" , "semi" , "anti" ]
207206"""Types of join accepted by `DuckDBPyRelation.join` method."""
0 commit comments