You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The majority of scaffolding is there already for runtime/handlers/infra - the mustache templates for the python-async-xxx projects in packages/type-safe-api/scripts/generators are copy/pasted REST API implementations that need to be modified to work for websockets.
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the "backlog" label.
Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the "backlog" label.
Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the "backlog" label.
Describe the feature
Add support for WebSocket APIs in Python
Use Case
Consistency with remainder of PDK
Proposed Solution
Need to add the following:
InfrastructurePyProject
Other Information
The majority of scaffolding is there already for runtime/handlers/infra - the mustache templates for the
python-async-xxx
projects inpackages/type-safe-api/scripts/generators
are copy/pasted REST API implementations that need to be modified to work for websockets.The projen projects (eg generated-python-async-runtime-project.ts) will likely need to be tweaked slightly to add any dependencies required.
The client library will need to be added - follow the same pattern as the TypeScript websocket client library.
Make sure to remove the validation check once implemented:
aws-pdk/packages/type-safe-api/src/project/type-safe-websocket-api-project.ts
Line 226 in a0dda50
Acknowledgements
PDK version used
0.23.26
What languages will this feature affect?
Python
Environment details (OS name and version, etc.)
OSX
The text was updated successfully, but these errors were encountered: