File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
stubs/python-dateutil/dateutil/zoneinfo Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ from _typeshed import Incomplete
2
+ from typing import IO
3
+ from typing_extensions import TypeAlias
4
+
5
+ __all__ = ["get_zonefile_instance" , "gettz" , "gettz_db_metadata" ]
6
+
7
+ _MetadataType : TypeAlias = dict [str , Incomplete ]
8
+
9
+ class ZoneInfoFile :
10
+ zones : dict [Incomplete , Incomplete ]
11
+ metadata : _MetadataType | None
12
+ def __init__ (self , zonefile_stream : IO [bytes ] | None = ...) -> None : ...
13
+ def get (self , name , default : Incomplete | None = ...): ...
14
+
15
+ def get_zonefile_instance (new_instance : bool = ...) -> ZoneInfoFile : ...
16
+ def gettz (name ): ...
17
+ def gettz_db_metadata () -> _MetadataType : ...
Original file line number Diff line number Diff line change
1
+ from _typeshed import Incomplete , StrOrBytesPath
2
+ from collections .abc import Sequence
3
+ from tarfile import TarInfo
4
+
5
+ def rebuild (
6
+ filename : StrOrBytesPath ,
7
+ tag : Incomplete | None = ...,
8
+ format : str = ...,
9
+ zonegroups : Sequence [str | TarInfo ] = ...,
10
+ metadata : Incomplete | None = ...,
11
+ ) -> None : ...
You can’t perform that action at this time.
0 commit comments