We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'ResponseMetadata'
e.g.
import boto3 session = boto3.Session() s3 = session.resource('s3', ...) bucket = s3.Bucket('foo') object = bucket.Object('bar') response = object.get() print(f'Got status {response["ResponseMetadata"]["HTTPStatusCode"]}')
mypy on the above results in:
mypy
file.py:8: error: TypedDict "GetObjectOutputTypeDef" has no key 'ResponseMetadata'
However the actual returned response dict does have this key.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
e.g.
mypy
on the above results in:However the actual returned response dict does have this key.
The text was updated successfully, but these errors were encountered: