Does anyone know how to edit the following code fr...
# prefect-getting-started
r
Does anyone know how to edit the following code from github to azure devops? I tried simply adding the link provided in dev.azure but it won't work, though I can create a local branch using
git clone
with that link.
Copy code
from prefect import flow

if __name__ == "__main__":
    flow.from_source(
        source="<https://github.com/discdiver/demos.git>",
        entrypoint="my_gh_workflow.py:repo_info",
    ).deploy(
        name="my-first-deployment",
        work_pool_name="my-managed-pool",
        cron="0 1 * * *",
    )
d
This needs you take python files upload to GitHub and On your own stream, entrypoint="my_gh_workflow.py:repo_info", the my_gh_workflow.py needs to s to be placed in the correct path