https://prefect.io logo
Title
s

Simon Macklin

08/10/2022, 9:18 PM
hey with prefect 2 server being a standard rest api, would it be possible to run a flow in any language? If that would be possible do you have any pointers on what endpoints I would need to communicate with or would the flow even need to check in with prefect?
z

Zanie

08/10/2022, 9:22 PM
Yes this is possible and something we’ve considered in the design. The API manages all orchestration of the flow, so the flow does need to interact with Prefect. The
OrionClient.propose_state
method and the
prefect.engine
module will be helpful for understanding the requests that are made. Basically, the client proposes states and the server returns a response indicating what the client should do. I wouldn’t recommend attempting to write your own implementation in another language yet. Eventually, we’ll document the basic client process that needs to occur to support new implementations.
🙌 2
s

Simon Macklin

08/10/2022, 9:27 PM
amazing thanks @Zanie
@Zanie do you know when standard webhook notification will be available for orion? like we have in v1 right now
z

Zanie

08/10/2022, 10:35 PM
I believe we'll add that very soon
👍 3