Run Python scripts on TD Workflow using the Python operator.
Python scripts can be run from TD Workflow or Digdag, using the Python operator py>. The workflow itself can be created via TD Console and the CLI. In the workflow, specify a Docker image to use for running the Python script. When the workflow task starts, a new Docker container is created based on the specified Docker image. Then, the Python script is executed in the container in an isolated environment. This box goes through basics such as:
- How to call functions
- How to pass parameters to functions
- How to use environment variables
- How to import functions
This box is a basic for beginners and you can run your Python script on TD Workflow.
Use-Cases
- Sales
- Marketing
- Product
- Customer Success
- Customer Support