(aws-rds): Python typing issue with EngineVersion
See original GitHub issueWhat is the problem?
There is a typing error with RDS EngineVersions in the Python version of the CDK.
Expected type 'AuroraMysqlEngineVersion', got '() -> AuroraMysqlEngineVersion' instead
I copied this code directly from the example in the docs: https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_rds/README.html
Reproduction Steps
- Clone https://github.com/blimmer/cdk-bug-reports
- Check out the
python-db-type-issue
branch - Open the code in a Python IDE (e.g., PyCharm)
- Open the
python_cdk/python_cdk_stack.py
file.
You’ll see the type error:
What did you expect to happen?
I expected the example from the official documentation (https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_rds/README.html) to not have any errors.
What actually happened?
A type error was displayed:
Expected type 'AuroraMysqlEngineVersion', got '() -> AuroraMysqlEngineVersion' instead
CDK CLI Version
1.138.1 (build 595dee1)
Framework Version
1.138.1
Node.js Version
16.x
OS
MacOS
Language
Python
Language Version
Python 3.9
Other information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (12 by maintainers)
Top Results From Across the Web
Troubleshooting DB issues for Amazon RDS Custom
Learn how to troubleshoot issues with Amazon RDS Custom DB instances. ... Troubleshooting custom engine version creation for RDS Custom for Oracle ...
Read more >Troubleshoot errors when scaling the instance class of an ...
I have an Amazon Aurora DB instance, and I want to scale the instance class. Why can't I change the instance class, and...
Read more >Troubleshoot major version upgrade issues in RDS for ...
When Amazon RDS supports a new version of a database engine, you can upgrade your DB instances to the new version.
Read more >Resolve an Amazon RDS instance that is in an incompatible ...
My Amazon Relational Database Service (Amazon RDS) instance is stuck in an incompatible-parameters state. I can't connect to the DB instance ...
Read more >CreateCustomDBEngineVersion - AWS Documentation
Creates a custom DB engine version (CEV). ... If creation fails, RDS Custom issues RDS-EVENT-0196 with the message Creation ... Type: String.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @blimmer, I’m taking a look at this
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.