Comments (5)
This method's type annotations are generated from a docstring. I will check, thanks.
from mypy_boto3_builder.
Indeed, no return type in docstring:
Generates an auth token used to connect to a db with IAM credentials.
:type DBHostname: str
:param DBHostname: The hostname of the database to connect to.
:type Port: int
:param Port: The port number the database is listening on.
:type DBUsername: str
:param DBUsername: The username to log in as.
:type Region: str
:param Region: The region the database is in. If None, the client
region will be used.
:return: A presigned url which can be used as an auth token.
I can detect presigned url
in return
section. fi it present - i set return type to str
from mypy_boto3_builder.
@vemel just for my future reference, where did you look to find this docstring? next time i'd like to be able to submit a patch :)
from mypy_boto3_builder.
I do it using __doc__
, but they are generated from botocore shapes.
import boto3
client = boto3.client("rds")
help(client.generate_db_auth_token)
Should be fixed in the latest boto3-stubs==1.12.28.1
. I also recommend to update boto3
to 1.12.28
to keep type annotations consistent.
Please let me know if the issue still exists or if you find something related.
from mypy_boto3_builder.
just confirmed fixed! thank you for your rapid response, well done :)
from mypy_boto3_builder.
Related Issues (20)
- Shorten package descriptions for compatibility with Azure DevOps mirroring, pipelines HOT 3
- Return type incorrect for DynamoDb Client methods HOT 2
- The query paginator returns unexpected Type QueryOutputTableTypeDef HOT 2
- upload_fileobj types in S3Client are wrong. HOT 3
- Corrupt tarball for mypy-boto3-ec2 on PyPI HOT 2
- Include TypeDef for Cloudwatch Alarms Events from EventBridge HOT 10
- Support configuration of `typing` vs `typing_extensions` HOT 4
- [sts] GetCallerIdentityResponseTypeDef -> Arn should be 'str' but ist dict[str, Any] HOT 3
- GetKeyPolicyResponseTypeDef Policy should be `str` not `Dict[str, Any]` HOT 4
- dynamo: AttributeBase does not include `name` property HOT 2
- Client package ServiceName literal definitions are not necessarily up-to-date HOT 2
- pyright now treats TypedDict field types as invariant instead of covariant resulting in some type checking errors HOT 5
- session.get_credentials() has become optional HOT 2
- ListUserPoolClientsResponseTypeDef : NextToken should be not required HOT 3
- Sub-resources do not inherit correct `.meta.client` type HOT 3
- Misleading return type definition for table.get_item() HOT 2
- S3 ListObjectsV2OutputTypeDef Contents key should be NotRequired HOT 3
- ResponseMetadata attribute being added to EC2 TypeDefs where it doesn't belong HOT 4
- EC2 InstanceTypeDef.Platform Literal incorrectly capitalized HOT 6
- ListObjectVersionsOutputTypeDef CommonPrefixes key can be missing HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mypy_boto3_builder.