In [1]:
Copied!
from metaflow import namespace
from metaflow.integrations import ArgoEvent
from metaflow import namespace
from metaflow.integrations import ArgoEvent
In [2]:
Copied!
namespace("triggerpipeline-0-vqms")
namespace("triggerpipeline-0-vqms")
Out[2]:
'triggerpipeline-0-vqms'
In [4]:
Copied!
e = ArgoEvent(
"ampersand",
payload={"guid": "1234", "pipeline": "http://app-name?params=true&test=1"},
)
e = ArgoEvent(
"ampersand",
payload={"guid": "1234", "pipeline": "http://app-name?params=true&test=1"},
)
In [5]:
Copied!
e.publish()
e.publish()
Argo Event (ampersand) published.
Out[5]:
'e9d3168d-349b-438c-8542-040017e1da72'