mypy-extras icon indicating copy to clipboard operation
mypy-extras copied to clipboard

Create `KeyOf[DictInstance, Key]` type

Open sobolevn opened this issue 4 years ago • 0 comments

Key must be a strict key of a given dict. For TypedDict it will fetch the exact type, for regular Dict it will return just a value type.

sobolevn avatar Oct 31 '20 16:10 sobolevn