RESTService#
- class eclypse.remote.service.rest.RESTService[source]#
Bases:
ServiceBase class for services in ECLYPSE remote applications.
Methods
Attributes
Raises an error since the service is not an MPI service.
- __init__(service_id, store_step=False)[source]#
Initializes a Service object.
- Parameters:
service_id (str) – The name of the service.
store_step (bool, optional) – Whether to store the results of each step. Defaults to False.
- async step()[source]#
The service’s main loop.
This method must be overridden by the user.
- Returns:
The result of the step (if any).
- Return type:
Any
- property mpi#
Raises an error since the service is not an MPI service.
- Raises:
RuntimeError – The service is not an MPI service.