Skip to content
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

Improve typing deck_due_tree() #3003

Merged
merged 2 commits into from
Feb 12, 2024
Merged

Improve typing deck_due_tree() #3003

merged 2 commits into from
Feb 12, 2024

Conversation

nix6839
Copy link
Contributor

@nix6839 nix6839 commented Feb 10, 2024

I have improved the typing for mw.col.sched.deck_due_tree() by using overloading to specify that it will return None only when top_deck_id is received as a DeckId type.

@dae
Copy link
Member

dae commented Feb 11, 2024

Thanks!

@dae
Copy link
Member

dae commented Feb 11, 2024

(sorry, the CONTRIBUTORS file has a conflict - would you mind rebasing over main?)

@nix6839
Copy link
Contributor Author

nix6839 commented Feb 11, 2024

I've rebased it. Thank you so much for creating such an awesome app!

@dae dae merged commit 9ba527a into ankitects:main Feb 12, 2024
1 check passed
@nix6839 nix6839 deleted the improve-typing branch February 12, 2024 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants