Hi team.. I'm trying to serialize the workflows in...
# ask-the-community
r
Hi team.. I'm trying to serialize the workflows in order to run
flytectl register files
.. However pyflyte is not serializing anything. This is what I see when I run
pyflyte serialize...
in the container. Any ideas what's going on?
Copy code
pyflyte serialize workflows -f /tmp/_pb_output
{"asctime": "2022-06-28 23:51:47,894", "name": "flytekit", "levelname": "INFO", "message": "Setting protocol to file"}
{"asctime": "2022-06-28 23:51:48,124", "name": "flytekit", "levelname": "INFO", "message": "Setting protocol to file"}
{"asctime": "2022-06-28 23:51:48,125", "name": "flytekit", "levelname": "INFO", "message": "Setting protocol to file"}
{"asctime": "2022-06-28 23:51:48,125", "name": "flytekit", "levelname": "INFO", "message": "Setting protocol to file"}
{"asctime": "2022-06-28 23:51:48,125", "name": "flytekit", "levelname": "INFO", "message": "We won't register bigquery handler for structured dataset because we can't find the packages google-cloud-bigquery-storage and google-cloud-bigquery"}
Serializing Flyte elements with image 
Writing output to /tmp/_pb_output
Loading packages [] under source root /root
Successfully serialized 0 flyte objects
k
Why are u using pyflyte serialize and not pyflyte package
r
ok updated my steps to follow this... it's working.
👍 1
159 Views