ccs4dt.main.http package

Submodules

ccs4dt.main.http.input_batch_controller module

ccs4dt.main.http.input_batch_controller.get_all(location_id)

Gets all input batches of given location

Parameters

location_id (str) – id of the location

Return type

flask.Response

ccs4dt.main.http.input_batch_controller.get_input_by_id(location_id, batch_id)

Gets an input batch of a given location by id

Parameters
  • location_id (str) – id of the location

  • batch_id (str) – id of the batch

Return type

flask.Response

ccs4dt.main.http.input_batch_controller.get_output_by_id(location_id, batch_id)

Gets an output batch of a given location and input batch

Parameters
  • location_id (str) – id of the location

  • batch_id (str) – id of the input batch

Return type

flask.Response

ccs4dt.main.http.input_batch_controller.post(location_id)

Create a new input batch for a given location. Input batch will be processed async and results can be polled when the computation is finished

Parameters

location_id (str) – id of the location

Return type

flask.Response

ccs4dt.main.http.location_controller module

ccs4dt.main.http.location_controller.get_all()

Get all locations

Returns

flask.Response

ccs4dt.main.http.location_controller.get_by_id(location_id)

Get a location by id

Parameters

location_id – id of the location

Returns

flask.Response

ccs4dt.main.http.location_controller.post()

Create a new location

Returns

flask.Response

Module contents