stochss_compute.client package¶
Submodules¶
stochss_compute.client.compute_server module¶
ComputeServer(Server)
stochss_compute.client.endpoint module¶
Endpoint(Enum)
stochss_compute.client.server module¶
Server(ABC)
- class stochss_compute.client.server.Server[source]¶
Bases:
ABC
Abstract Server class with hard coded endpoints.
- Raises:
TypeError – Server cannot be instantiated directly. Must be ComputeServer or Cluster.
- abstract property address¶
NotImplemented
- get(endpoint: Endpoint, sub: str)[source]¶
Send a GET request to endpoint.
- Parameters:
endpoint (Endpoint) – The API endpoint.
sub (str) – Final part of url string.
- Returns:
The HTTP response.
- Return type:
requests.Response
Module contents¶
stochss_compute.client