I'm using aws-cdk-lib as an example. In the overview of every submodule, there are code examples. Currently, they are always in TypeScript, regardless of the language selected.
Example: https://constructs.dev/packages/aws-cdk-lib/v/2.12.0?submodule=aws_apigateway&lang=python