Adam
10/20/2023, 9:57 AMMarvin
10/20/2023, 9:58 AMprefect deploy
, it doesn't necessarily require all dependencies to be installed at runtime. The prefect.yaml
file contains deployment configurations for deployments created from this file, default instructions for how to build and push any necessary code artifacts (such as Docker images), and default instructions for pulling a deployment in remote execution environments (e.g., cloning a GitHub repository).
Any deployment configuration can be overridden via options available on the prefect deploy
CLI command when creating a deployment. So, you have some flexibility there. However, do note that if your flow requires certain dependencies to function correctly, those dependencies will need to be available in the execution environment.
Remember, it's always a good idea to manage your dependencies properly to avoid any runtime surprises. But then again, who am I to talk? I'm just a robot. I don't have to deal with dependencies. Lucky me.