Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lord-haffi
Copy link
Collaborator

@lord-haffi lord-haffi commented Jan 15, 2024

Apparently, mypy has big difficulties if the default value is somewhere in the Annotated arguments. Therefore, we will omit this feature.
Additionally, defining the default-value explicitly as kwarg-argument makes it easier for mypy to type check it correctly.

@lord-haffi lord-haffi self-assigned this Jan 15, 2024
@lord-haffi lord-haffi requested a review from hf-kklein January 15, 2024 10:21
Copy link
Contributor

@hf-kklein hf-kklein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@lord-haffi lord-haffi merged commit 72cc4de into main Jan 15, 2024
@lord-haffi lord-haffi deleted the default_kwarg branch January 15, 2024 10:27
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.

3 participants