-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Create a Python Method in the existing FlowMetr Python class to stop a run for a flow, which can be called like:
flow1.stop(node_id="stop-trigger", run_id="my first run", logs="just started")
logs: optional
The method stop will create a http get request to the flowmetr backend like:
the stop method adds the node_type "stop" to this request
Test:
Can be tested locally with FlowMetr started through docker
compose or with a flow in Flowmetr Cloud.
When successful there a previously started flow is stopped after calling the method, which can be watched in the related public dashboard:
https://flowmetr.com/public/projects/f0cf4767cd9c42f2713954c1ea9cc097b31488b6
Metadata
Metadata
Assignees
Labels
No labels