Closed sphuber closed 1 year ago
could you please mention the existence of the examples in the
docs/
as well?
Will do in a follow-up PR.
there is obviously a need for a matching Python "client" for the REST API. for the moment it's fine to have the example scripts be fully self-contained (and duplicate the client code), but it may at some point make sense to create another package for the client side (can be just another folder in the same repo).
Fully agree. Was just holding off with this since everything thing is still so fluid. But as soon as we see that this is being used, I will start working on one.
The example launches an
ArithmeticAddCalculation
, polls for its status until it is terminated using the/processes
end-point and then retrieves its outputs using the/graphql
end-point.This is an alternative to #55 that doesn't require the addition of a new REST end-point to get the outputs of a process, but instead reuses the
/graphql
end-point.