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 Treasure Data Console and/or 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.
- Customer Success
- Customer Support