Add documentation of how custom runtime function (python) in Amplify Gen 2, can interact with Amplify Data (just like in typescript functions)
Describe the content issue: In this PR: https://github.com/aws-amplify/amplify-backend/pull/1602 Custom functions runtime was added to Amplify Gen 2. The docs about it are in: https://docs.amplify.aws/nextjs/build-a-backend/functions/custom-functions/#python
Can you also please add documentation about how a Python function can interact with the Amplify Data? For example how to create/update/read/delete a table in Amplify Gen 2 Data.
In a typescript function, according to this docs: https://docs.amplify.aws/nextjs/build-a-backend/functions/examples/create-user-profile-record/ It's possible to interact with Amplify Data using the "client" object:
Is it possible to do something similar in a python function? (if yes, can you please 🙏 provide example)
If not, in a typescript function it's also possible to interact with the Amplify Data with GraphQL (as you mentioned) like this:
Can you please 🙏 provide an example of how to do this in a python Amplify function?