Skip to content

Commit 61adbc3

Browse files
authored
typing (#330)
1 parent caf0689 commit 61adbc3

File tree

1 file changed

+5
-0
lines changed
  • spec/API_specification/dataframe_api

1 file changed

+5
-0
lines changed

spec/API_specification/dataframe_api/typing.py

+5
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ class NullType:
6969
null: NullType
7070

7171
class Datetime:
72+
time_unit: Literal['ms', 'us']
73+
time_zone: str | None
74+
7275
def __init__( # noqa: ANN204
7376
self,
7477
time_unit: Literal["ms", "us"],
@@ -77,6 +80,8 @@ def __init__( # noqa: ANN204
7780
...
7881

7982
class Duration:
83+
time_unit: Literal['ms', 'us']
84+
8085
def __init__( # noqa: ANN204
8186
self,
8287
time_unit: Literal["ms", "us"],

0 commit comments

Comments
 (0)