Timestamp does not have a signature
See original GitHub issueThe current type annotations for pandas.Timestamp
(https://github.com/VirtusLab/pandas-stubs/blob/master/third_party/3/pandas/_libs/tslibs/timestamps.pyi) does not hae a signature, where in reality it does: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Timestamp.html
This leads to mypy complaining with the error:
error: Too many arguments for "Timestamp"
for code like:
import pandas
pandas.Timestamp("2021-01-01")
Same problem for Timedelta:
import pandas
pandas.Timedelta("1s")
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
How to fix the error "The signatur… | Apple Developer Forums
The short answer is to include the --timestamp argument to codesign. The long answer is Signing a Mac Product For Distribution. Share and...
Read more >“The signature contains a timestamp (…) that is not trusted ...
A: Timestamps are signed just as documents are signed. For a timestamp signature to be valid, you must have trusted the Timestamp Authority...
Read more >Always Include A Timestamp for Digital Signature
Adding a timestamp to your digital signature is not always necessary. There are many situations in which placing a digital signature will be...
Read more >Why a Digital Signature Timestamp is Always Required
A timestamp is an important mechanism to validate and confirm the legitimacy of digital signatures. This is done by storing the time and...
Read more >Adding signature timestamp on existing PDF signature
I have an existing signed PDF and I would like to add a timestamp on this signature and, optionally, add revocation infos (CRL/OCSP)....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Commented here:
https://github.com/VirtusLab/pandas-stubs/pull/30/files#r593245488
Fixing that. I’ll let you know when it’s ready for review.