3 ms·
Or existing in the first place. Or being fundamentally possible to implement in the first place (I say, glaring at boto3).
by philwelch 6y ago
Or existing in the first place. Or being fundamentally possible to implement in the first place (I say, glaring at boto3).
- orf 6y agomypy-boto3 works fantastically: https://mypy-boto3.readthedocs.io/en/latest/ https://mypy-boto3.readthedocs.io/en/latest/
- philwelch 6y agoHuh, interesting: > Auto discovery of types for boto3.client and boto3.session calls I'm curious how this is possible. I didn't realize mypy could inspect function arguments and use them to determine the returned type.
- duckerude 6y agotyping.Literal makes a lot possible as of 3.8: https://docs.python.org/3/library/typing.html#typing.Literal https://docs.python.org/3/library/typing.html#typing.Literal