wallaroo.assays_v2.assay_v2
This module features the AssayV2 class that configures assays and retrieves results via the MLOps API.
This class helps configure assays and retrieve results via the MLOps API.
Attributes: - id: The ID of the assay.
def
results( self, start: datetime.datetime, end: datetime.datetime, include_failures: bool = False, workspace_id: Optional[int] = None) -> wallaroo.assays_v2.assay_result_v2.AssayResultsList:
Retrieves the results of the assay.
Parameters
- start: The start time.
- end: The end time.
- include_failures: Whether to include failures.
- workspace_id: The workspace ID.
Returns
The assay results.
Sets the active status of the assay.
Parameters
- active: Whether the assay is active.
Returns
The AssayV2 object.
Pauses an assay. Note: this only pauses future scheduled runs - historical calculations will still be computed.
@staticmethod
def
builder( client: wallaroo.client.Client, pipeline_id, pipeline_name: str, workspace_id: int) -> wallaroo.assays_v2.assay_v2_builder.AssayV2Builder:Return an AssayV2Builder.
Parameters
- client: The client object.
- pipeline_name: The name of the pipeline.
- workspace_id: The workspace id.
Returns
The AssayV2Builder object.
class
AssayV2List(typing.List[wallaroo.assays_v2.assay_v2.AssayV2]):
This class represents a list of assays.
Inherited Members
- builtins.list
- list
- clear
- copy
- append
- insert
- extend
- pop
- remove
- index
- count
- reverse
- sort