File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
pandas-stubs/_libs/tslibs Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -157,10 +157,18 @@ class Timestamp(datetime, SupportsIndex):
157157 ) -> Timestamp : ...
158158 def astimezone (self , tz : _tzinfo | None = ...) -> Self : ...
159159 def ctime (self ) -> str : ...
160- def isoformat (
160+ def isoformat ( # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
161161 self ,
162162 sep : str = "T" ,
163- timespec : str = "auto" ,
163+ timespec : Literal [
164+ "auto" ,
165+ "hours" ,
166+ "minutes" ,
167+ "seconds" ,
168+ "milliseconds" ,
169+ "microseconds" ,
170+ "nanoseconds" ,
171+ ] = "auto" ,
164172 ) -> str : ...
165173 @classmethod
166174 def strptime (cls , date_string : Never , format : Never ) -> Never : ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
You can’t perform that action at this time.
0 commit comments