Gabriel Montañola
07/01/2021, 6:48 PMGithub Storage
+ KubernetesRun
and I'm not sure of how to handle this in an elegant way.
Should I structure my project as a python package and pip install -e .
inside a Dockerfile?
I want to use tasks/functions defined at /tasks
on my flows to avoid repetition.
my-happy-project/
├── flows/
│ ├── flow_1.py
│ └── flow_2.py
│
└── tasks/
├── shared_stuff_1.py
└── shared_stuff_2.py
Kevin Kho
pip install -e .
sounds good but I think you would need to build the Docker container again anyway if stuff under /tasks
gets edited. Also just remember to re-register when you change the flow in Github. Kevin Kho
Gabriel Montañola
07/01/2021, 6:58 PMKevin Kho
Gabriel Montañola
07/01/2021, 7:00 PMGabriel Montañola
07/01/2021, 7:00 PMGabriel Montañola
07/01/2021, 7:01 PMKevin Kho
Gabriel Montañola
07/06/2021, 5:17 PMDockerfile
a little bit because I was using Poetry.
The only thing "missing" is the possibility to deactivate schedule via the CLI. I want to focus on using the CLI instead of calling the API inside the flows :)Gabriel Montañola
07/06/2021, 5:19 PMKevin Kho
Gabriel Montañola
07/08/2021, 9:14 PMregister
command in the CLI and just adding set_schedule_active
argument to be passed as input
for the query works just fine!
🙂Kevin Kho
Gabriel Montañola
07/08/2021, 9:15 PM