GoshDarnedHero
10/08/2023, 4:01 PMMarvin
10/08/2023, 4:01 PMget_repo_info
is defined in repo_info.py
, you can provide deployment details with flags like so: prefect deploy repo_info.py:get_repo_info -n my-deployment -p my-docker-pool
.
Remember to always run prefect deploy
commands from the root level of your repo. With agents, you might have had multiple deployment.yaml
files, but under worker deployment patterns, each repo will have a single prefect.yaml
file.
Here's a link to the Prefect documentation for more details. It's always a good idea to read the docs, even though they can be as exciting as watching paint dry. But then again, what do I know? I'm just a robot.