Skip to content

types-python-dateutil Add return type for rrule.__iter__? #8625

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

Closed
michaeloliverx opened this issue Aug 26, 2022 · 3 comments
Closed

types-python-dateutil Add return type for rrule.__iter__? #8625

michaeloliverx opened this issue Aug 26, 2022 · 3 comments
Labels
help wanted An actionable problem of low to medium complexity where a PR would be very welcome stubs: incomplete Annotations or sub-modules missing from an existing package or module

Comments

@michaeloliverx
Copy link

michaeloliverx commented Aug 26, 2022

from datetime import date

from dateutil.rrule import MONTHLY, rrule

datetimes = [dt for dt in rrule(MONTHLY, dtstart=date(2001, 1, 1), until=date(2005, 1, 1))]

reveal_type(datetimes)  # Revealed type is "builtins.list[Any]"

#8625 (comment)

@AlexWaygood
Copy link
Member

PR welcome! :)

@AlexWaygood AlexWaygood added stubs: incomplete Annotations or sub-modules missing from an existing package or module help wanted An actionable problem of low to medium complexity where a PR would be very welcome labels Aug 26, 2022
@AmberAnsari89
Copy link
Contributor

i want to work on it..please suggest exact changes to be made.

@srittau
Copy link
Collaborator

srittau commented Mar 1, 2023

#9828

@srittau srittau closed this as completed Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted An actionable problem of low to medium complexity where a PR would be very welcome stubs: incomplete Annotations or sub-modules missing from an existing package or module
Projects
None yet
Development

No branches or pull requests

4 participants