Rupsha Chaudhuri

    Rupsha Chaudhuri

    2 months ago
    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?
    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)

    Ketan (kumare3)

    2 months ago
    Why are u using pyflyte serialize and not pyflyte package
    Rupsha Chaudhuri

    Rupsha Chaudhuri

    2 months ago
    ok updated my steps to follow this... it's working.