Jackson Nguyen
02/01/2025, 3:34 AMMarvin
02/01/2025, 3:34 AMflow.from_source
method to specify the location of your flow code, which can be a URL to a Git repository. The process worker will then access this repository to acquire the flow code when executing the deployment.
Here are some relevant resources for you:
- Storing Flow Code
- Deploying via Python
If you have further questions or need more specific examples, feel free to ask.Jackson Nguyen
02/01/2025, 3:46 AMMarvin
02/01/2025, 3:46 AMprocess
worker type, which executes flow runs in subprocesses. This type does not require any additional package installations.
3. Authentication: Authenticate to Prefect Cloud using the CLI if you're using Prefect Cloud for orchestration.
4. Worker Start: Start the process worker by running it from a terminal. It will poll the work pool for any flow runs to execute.
5. Environment Compatibility: Ensure that your environment can execute subprocesses, which is typically straightforward on most systems.
Here's a link for more detailed information on Prefect Workers.
If you need further assistance or have specific configurations in mind, feel free to ask.