-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
Don't use Optional type for every single argument with a default value #653
Labels
Comments
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 7, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 7, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 7, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 22, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 22, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 22, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 22, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 22, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 23, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 23, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 23, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 23, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 23, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 23, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 23, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 27, 2023
LeXofLeviafan
added a commit
to LeXofLeviafan/buku
that referenced
this issue
Jan 27, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The
Optional
type hint is meant to describe a "nullable" value – it has nothing to do with the value being an "omittable" function argument. Which is why I suggest modifying method type hints in the main buku file so that only the arguments which can legally have theNone
value are markedOptional
.The text was updated successfully, but these errors were encountered: