jsii icon indicating copy to clipboard operation
jsii copied to clipboard

Generated python docs incorrectly adds underscore to prop

Open peterwoodworth opened this issue 2 years ago • 1 comments

Describe the bug

The generated Python docs incorrectly shows memory_limit_mi_b as the property when there should be no underscore in mi_b. Seen here

This is likely because Python is detecting the capital B as a new "word"

Expected Behavior

docs show memory_limit_mib

Current Behavior

docs show memory_limit_mi_b

Reproduction Steps

https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_ecs_patterns/ApplicationLoadBalancedFargateService.html https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_ecs_patterns/ApplicationLoadBalancedFargateServiceProps.html

Possible Solution

No response

Additional Information/Context

No response

SDK version used

.

Environment details (OS name and version, etc.)

.

peterwoodworth avatar May 04 '22 21:05 peterwoodworth