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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4