0.4.0 - Literally New Parser
This version is very close to what I have planned initially, so it is no longer an Alpha
. From now on, builds are automated, so a new version of boto3-stubs
should be released within 2-3 hours after boto3
release. Thanks everyone for testing and feedback!
You can help this project by submitting PRs to botocore
as there are some errors in their documentation:
- Missing
:rtype:
statement for functions that returnbool
iss3
documentation - Invalid unindent in
ce
,cloudfront
,cognito-idp
,elasticache
andelastictranscoder
documentation - Float values in syntax documentation replaced with
...
for some reason. dynamodb
does not have simplified annotation forExpressionAttributeValues
even though it is supported.
Stay tuned, we are getting closer to the first stable release!
Highlights
typing_extensions
are no longer required forpy38+
- Added
Literal
andUnion
types support
mypy-boto3-builder changes
- Changed PyPi status to
Beta
- Added
pyparsing
requirement typing_extensions
are no longer required forpy38+
- Added
type_defs
module for compatibility betweentyping
andtyping_extensions
- Added
DocstringParser
class that extracts info from request/responsebotocore
syntax andSphinx
argument definitions. Syntax is the source of truth for arguments and return types now - Added
ArgSpecParser
class that extracts function arguments frominspect.argspec
- Added fix for incorrect indentation in
botocore
docs - Removed
--skip-stubs
CLI argument, use--skip-master
instead - Added
--panic
CLI argument to fail on warning (usually it is unsuccessful parsing)
mypy-boto3 and subpackages changes
- Changed PyPi status to
Beta
typing_extensions
are no longer required forpy38+
- Added
type_defs
module for compatibility betweentyping
andtyping_extensions
- Added
Literal
andUnion
annotations extracted from request/response syntax - Cleaned up generated
type_defs
documentation Union
of the same type is unwrapped for readability
mypy-boto3 bugfixes
- Removed extra empty line in
TypedDict
definition with no docstring - Fixed some functions having return type
None
instead ofbool
due to incorrect documentation - Fixed silencing of undocumented methods
Auto builds changes
mypy-boto3-builder
is now published toPyPI
on releasemypy_boto3
is built by latestmypy-boto3-builder
release instead ofmaster