Hi everyone, there was a mention of SST supporting...
# help
r
Hi everyone, there was a mention of SST supporting python applications, unless I misunderstood that. Is there a guide i can follow to set one up?
f
Hey @Rubin Damian, here’s an example of creating a restful api with Lambda functions in Python - https://github.com/serverless-stack/serverless-stack/tree/master/examples/rest-api-python
The SST code is still in TypeScript, Lambda code is in Python 😁
r
That's awesome, thank you
Is it also pretty easy to troubleshoot/debug the code using the 'local' server and pycharm? I see there is a video of doing something similar using vscode
f
VSCode needed this
launch.json
to hook it up to SST’s
npm run start
- https://docs.serverless-stack.com/debugging-with-vscode#launch-configurations
You might need to something similar for pycharm.
Give it a try and let me know if you manage to get it to work.
I’m sure the break point debugging will work with the local server and pycharm.
r
thanks
j
And if you get it to work, let us know so we can document and share it!