-
-
Notifications
You must be signed in to change notification settings - Fork 154
GH1317 Set defaults #1491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
GH1317 Set defaults #1491
Conversation
cmp0xff
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just managed to review pandas-stubs/core/indexes/interval.pyi. Will check the other two files later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can verify that the changes correctly correspond to https://pandas.pydata.org/docs/dev/reference/api/pandas.interval_range.html.
| *, | ||
| start: None = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can it be the following?
| *, | |
| start: None = None, | |
| start: None = None, | |
| *, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this overload is meant to force the user to pass start, same for the one you also commented on.
It will work at least from the tests that I have run, I have pushed, let me know if you want to revert.
| *, | ||
| start: None = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can it be the following?
| *, | |
| start: None = None, | |
| start: None = None, | |
| *, |
assert_type()to assert the type of any return value