Describe the feature request
Can mypy be taught to narrow to a particular TypedDict from a union of them, based on a test of string keys with Literal values types in them?
https://github.com/GeospatialPython/pyshp/blob/19010dfbe0ef7a7ac0d9c2d1a62585a6a4cd2ec4/src/shapefile.py#L992C9-L992C22
Contributions