https://prefect.io logo
s

Sumit Kumar Rai

02/03/2022, 6:47 AM
How can I fit in these Gitlab's sheetload script in the Prefect workflow? Is there similar example for this use case?
a

Anna Geller

02/03/2022, 11:05 AM
Are you asking: how can you package those dependencies so that you can import them in a Prefect flow? If so, it depends on: • the type of agent • your storage Generally, you can always build a package with setup.py and install it within the execution environment (local environment, docker container). If you need an example, check out this sample repo incl. setup.py
k

Kevin Kho

02/03/2022, 2:52 PM
If you are asking how to run a Python script. You can use the shell task to run it
s

Sumit Kumar Rai

02/07/2022, 4:06 AM
@Kevin Kho your answer was what I was looking for in short and @Anna Geller your GitHub repo was the exact thing what I was looking for. Thanks to both of you for your answers.
👍 1
4 Views