Rupsha Chaudhuri

06/28/2022, 11:53 PM
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

Ketan (kumare3)

06/29/2022, 12:33 AM
Why are u using pyflyte serialize and not pyflyte package

Rupsha Chaudhuri

06/29/2022, 2:26 AM
ok updated my steps to follow this... it's working.
👍 1