pipeline.objects.model.Model

GraphNode - class

Source on GitHub

pipeline.objects.graph.GraphNode(
    model: Any,
  *,
  name: str = "",
  local_id: str = ""
)

Description

A class generated from pipeline_model for containing the wrapped model, it's metadata, and reference IDs for use in the Graph object.

Parameters

  • model (Any) - base model class wrapped by pipeline_model
  • name (str, optional) - name of the model
  • local_id (str) - ID for the model used by the Graph object

Functions

from_schema(cls, schema: ModelGet) -> Model

Description

Returns a Model object from a ModelGet schema. Typically used in conjunction with remote API access.

Parameters

  • schema, (ModelGet) - the ModelGet schema containing the remote model information.