mantlebio.core.pipeline.client module#

class mantlebio.core.pipeline.client.PipelineClient(session)[source]#

Bases: object

PipelineClient object for making requests to the Mantle API

get(id, version='')[source]#

get an existing Pipeline

Parameters:
  • id (str) – Pipeline ID

  • version (str, optional) – Pipeline Version. Defaults to “”. If not provided, the latest version will be returned.

Returns:

Pipeline object

Return type:

Pipeline

get_pipeline(id, version='')[source]#

get an existing Pipeline

Parameters:

id (str) – Pipeline ID

Returns:

Pipeline object

Return type:

Pipeline

Note

This method will be deprecated in version 2.0.0. Use get() instead.