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

[TASK] Type hint arguments in ViewInterface #933

Merged
merged 1 commit into from
Jul 23, 2024
Merged

[TASK] Type hint arguments in ViewInterface #933

merged 1 commit into from
Jul 23, 2024

Conversation

lolli42
Copy link
Member

@lolli42 lolli42 commented Jul 23, 2024

Add proper type hints to the two arguments
in ViewInterface->assign(). This is not
breaking since existing implementations can
still accept "more" by not setting these
arguments - method arguments of subtypes
are contravariant. This will be backported
to 2.14.

Add proper type hints to the two arguments
in ViewInterface->assign(). This is not
breaking since existing implementations can
still accept "more" by not setting these
arguments - method arguments of subtypes
are contravariant. This will be backported
to 2.14.
@lolli42 lolli42 merged commit 9aeb4b1 into 2.14 Jul 23, 2024
10 checks passed
@lolli42 lolli42 deleted the lolli-1 branch July 23, 2024 13:34
lolli42 added a commit that referenced this pull request Jul 23, 2024
Add proper type hints to the two arguments
in ViewInterface->assign(). This is not
breaking since existing implementations can
still accept "more" by not setting these
arguments - method arguments of subtypes
are contravariant. This will be backported
to 2.14.
lolli42 added a commit that referenced this pull request Jul 23, 2024
Add proper type hints to the two arguments
in ViewInterface->assign(). This is not
breaking since existing implementations can
still accept "more" by not setting these
arguments - method arguments of subtypes
are contravariant. This will be backported
to 2.14.
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