Hi there, I was send here by support. How can I re...
# prefect-community
r
Hi there, I was send here by support. How can I register a flow to prefect Core and then let it run once? I don’t need any scheduled reruns or anything. Just a single run on an agent polling for this flow. I know it can be done using the UI, but I’d rather do this from python.
j
Hi. I haven't tried it but from the docs I saw you can use the Python Client and run a flow like this
👍 1
r
thanks, I solved it using: thanks, I solved it using:
Copy code
client = Client()
client.create_flow_run(flow_id=flow_id)
👍 1