Skip to content

Conversation

dlax
Copy link
Contributor

@dlax dlax commented Jul 28, 2025

A typing test case (plain_files/ext/indexable.py) is also added.

In order to make the methods of index_property conform with type definitions of fget, fset and fdel arguments of hybrid_property, we need to make the signature of protocols (e.g. _HybridGetterType) __call__) method positional only.

Related to #6810.

A typing test case (plain_files/ext/indexable.py) is also added.

In order to make the methods of index_property conform with type
definitions of `fget`, `fset` and `fdel` arguments of hybrid_property,
we need to make the signature of protocols (e.g. `_HybridGetterType`)
`__call__`) method positional only.

Related to sqlalchemy#6810.
@dlax dlax marked this pull request as ready for review July 28, 2025 13:09
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.

1 participant