Skip to main content

module aixplain.factories.pipeline_factory.utils


function build_from_response

build_from_response(response: Dict, load_architecture: bool = False) → Pipeline

Converts response Json to 'Pipeline' object

Args:

  • response (Dict): Json from API
  • load_architecture (bool, optional): If True, the architecture will be loaded. Defaults to False.

Returns:

  • Pipeline: Coverted 'Pipeline' object