Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow models to be started with remotebmi #461

Open
sverhoeven opened this issue Oct 15, 2024 · 0 comments
Open

allow models to be started with remotebmi #461

sverhoeven opened this issue Oct 15, 2024 · 0 comments

Comments

@sverhoeven
Copy link
Member

The remotebmi Python package allows to start models in an alternative way than https://github.com/eWaterCycle/grpc4bmi using HTTP, JSON and OpenAPI spec.

At

from grpc4bmi.bmi_client_apptainer import BmiClientApptainer
from grpc4bmi.bmi_client_docker import BmiClientDocker

and
return BmiClientApptainer(

and
return BmiClientDocker(

grpc is hardcoded. To support remotebmi the start_* methods should have a protocol = 'grpc' | 'openapi' argument and when protocol = openapi then use the remotebmi equivalents:

from remotebmi.client.apptainer import BmiClientApptainer
from remotebmi.client.docker import BmiClientDocker

Note

Remotebmi Python package is in development and has not yet been released to pypi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant