Prefect
Prefect [https://docs.prefect.io/core/] 用于数据flow的构建,重训练,调度等。
安装问题
Server启动后无法打开8080并且ui docker显示Miss PREFECT_SERVER__BASE_URL ```shell script prefect backend server prefect server start
解决办法
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prefect/cli/docker-compose.yml
增加PREFECT_SERVER__BASE_URL: ${BASE_URL:-http://localhost:8080/}
## Prefect Agent
```shell script
# local agent
prefect agent local start
prefect agent local start --import-path "/usr/local/my_module" --import-path "~/other_module"
prefect agent local start --env MY_SECRET_KEY=secret --env OTHER_VAR=$OTHER_VAR
Written on August 3, 2021