Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to trigger existing workflows #2043

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

madhur-ob
Copy link
Collaborator

Replaces #1955
Should only be merged after #2041
Also includes changes from #2042

Usage:

with Deployer(
    flow_file="../../try.py",
    branch="hello",
    production=True,
    environment="conda"
).argo_workflows() as ar:
    ar_obj = ar.create()

    # save this somewhere / remember it...
    identifier = ar_obj.name
    metadata = ar_obj.metadata

    # beta is a user defined parameter in flow file '../../try.py'
    df = DeployedFlow.from_deployment(identifier=identifier, metadata=metadata)
    triggered_run = df.trigger(beta={"madhur": "cool"})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant