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
PEP 705 was recently accepted for Python 3.13. It introduces a new typing qualifier ReadOnly[] which trycast will need to be able to recognize.
Until this support is added, I expect trycast() and isassignable() will always return False (or crash) when given a TypedDict type that includes ReadOnly items.
The text was updated successfully, but these errors were encountered:
PEP 705 was recently accepted for Python 3.13. It introduces a new typing qualifier
ReadOnly[]
which trycast will need to be able to recognize.Until this support is added, I expect
trycast()
andisassignable()
will always return False (or crash) when given a TypedDict type that includes ReadOnly items.The text was updated successfully, but these errors were encountered: