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):
157
157
) -> Timestamp : ...
158
158
def astimezone (self , tz : _tzinfo | None = ...) -> Self : ...
159
159
def ctime (self ) -> str : ...
160
- def isoformat (
160
+ def isoformat ( # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
161
161
self ,
162
162
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" ,
164
172
) -> str : ...
165
173
@classmethod
166
174
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