Adam Roderick
03/23/2020, 11:12 PM\prefect\core\flow.py:1331: UserWarning: flow.deploy() will be deprecated in an upcoming release. Please use flow.register()
UserWarning,
[2020-03-23 22:36:15,573] INFO - prefect.Docker | Building the flow's Docker storage...
On a second development machine, we get an error with not much context:
/prefect/core/flow.py:1331: UserWarning: flow.deploy() will be deprecated in an upcoming release. Please use flow.register()
UserWarning,
Expecting value: line 1 column 1 (char 0)
Chris White
03/23/2020, 11:59 PMflow.deploy
will be removed in the next release so you should replace it with flow.register
ā same call signature just a different name)Adam Roderick
03/24/2020, 12:27 AMChris White
03/24/2020, 1:39 AMAdam Roderick
03/24/2020, 1:42 AMINFO - prefect.Docker | Building the flow's Docker storage...
Chris White
03/24/2020, 1:46 AMbase_url
in your docker storage?Adam Roderick
03/24/2020, 3:02 PMbase_url
flow.register
and to use the Dockerfile approach instead of a base docker image, is there a chance that is more stable than flow.deploy
and using a base image?Chris White
03/25/2020, 2:10 PMjosh
03/25/2020, 2:12 PM[logging]
level = "DEBUG"
or
export PREFECT__LOGGING__LEVEL="DEBUG"
Adam Roderick
03/25/2020, 2:12 PMArsenii
06/01/2020, 10:01 AMsimplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
. The error is indeed because I tried to flow.register(build=True)
without running prefect auth login
in CLI (or logging in inside the python script itself) beforehand. Maybe a better error would help others in future.