Create a Python Method in the existing FlowMetr Python class to start a run for a flow, which can be called like:
flow1.start(node_id="start-trigger", run_id="my first run", logs="just started")
logs: optional
The method will create a http get call to the flowmetr backend like:
https://flowmetr.com/hooks/339a7c52-58eb-4537-ab92-9a57f0bae96b?run_id=fa932b0f386f5d2e&node_id=start-trigger&node_type=start&logs=Started&project_token=f815f37293f415e33e3b8542cc6eefa433809e1777774632f2343668792f3dd1
The Method "start" adds the node_type "start" to the request
Test:
Can be tested locally with FlowMetr started through docker
compose or with a flow in Flowmetr Cloud.
When successful there will be a started flow, which can be watched in the related public dashboard:
https://flowmetr.com/public/projects/f0cf4767cd9c42f2713954c1ea9cc097b31488b6
Create a Python Method in the existing FlowMetr Python class to start a run for a flow, which can be called like:
flow1.start(node_id="start-trigger", run_id="my first run", logs="just started")
logs: optional
The method will create a http get call to the flowmetr backend like:
https://flowmetr.com/hooks/339a7c52-58eb-4537-ab92-9a57f0bae96b?run_id=fa932b0f386f5d2e&node_id=start-trigger&node_type=start&logs=Started&project_token=f815f37293f415e33e3b8542cc6eefa433809e1777774632f2343668792f3dd1
The Method "start" adds the node_type "start" to the request
Test:
Can be tested locally with FlowMetr started through docker
compose or with a flow in Flowmetr Cloud.
When successful there will be a started flow, which can be watched in the related public dashboard:
https://flowmetr.com/public/projects/f0cf4767cd9c42f2713954c1ea9cc097b31488b6