You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for contrast has better runtime behavior (slightly, anyhow), but unfortunately, properties are not generic in the type system, so this ends up not type-checked, though ruff has no issue with this definition.
The text was updated successfully, but these errors were encountered:
Example code that works at runtime and which type checkers do understand
Code sample in pyright playground
Rewriting
ExecuteWrapper
as:for contrast has better runtime behavior (slightly, anyhow), but unfortunately, properties are not generic in the type system, so this ends up not type-checked, though ruff has no issue with this definition.
The text was updated successfully, but these errors were encountered: