octue / octue-sdk-python

The python SDK for @Octue services and digital twins.
https://octue.com
Other
10 stars 4 forks source link

Make sure `octue` CLI commands are in line with `answer_question` method of running a service #667

Open cortadocodes opened 4 months ago

cortadocodes commented 4 months ago

Bug report

What is the current behavior?

The way a service is run in octue start (and possibly octue run) is slightly different from how it's run in answer_question (the function run by the flask app in Cloud Run).

What is the expected behavior?

These should run a service in the exact same way.

Proposed Solution

Audit these different methods and bring them into parity where necessary.