◆ __init__()
def fiftyone_pipeline_core.evidence.Evidence.__init__ | ( | self, | |
flowdata | |||
) |
Constructor for Evidence container on a FlowData.
@type flowdata: FlowData
- Parameters
-
- flowdata - Parent FlowData
\r\n
def | __init__ (self, flowdata) |
def | add (self, key, value)
Add a single piece of evidence by its element and value. More...
|
def | add_from_dict (self, evidence_dictionary)
Helper function to set multiple pieces of evidence from a dict. More...
|
def | get (self, key)
Get a piece of evidence by key. More...
|
def | get_all (self)
Get all evidence. More...
|
None | filter (self)
Filter evidence using filter_evidence_key and filter_evidence methods of each FlowElement in the pipeline. More...
|
def fiftyone_pipeline_core.evidence.Evidence.__init__ | ( | self, | |
flowdata | |||
) |
Constructor for Evidence container on a FlowData.
@type flowdata: FlowData
def fiftyone_pipeline_core.evidence.Evidence.add | ( | self, | |
key, | |||
value | |||
) |
Add a single piece of evidence by its element and value.
@type key: string
@type value: mixed
def fiftyone_pipeline_core.evidence.Evidence.add_from_dict | ( | self, | |
evidence_dictionary | |||
) |
Helper function to set multiple pieces of evidence from a dict.
@type evidence_dictionary: dict
None fiftyone_pipeline_core.evidence.Evidence.filter | ( | self | ) |
Filter evidence using filter_evidence_key
and filter_evidence
methods of each FlowElement in the pipeline.
def fiftyone_pipeline_core.evidence.Evidence.get | ( | self, | |
key | |||
) |
Get a piece of evidence by key.
@type key: string
@rtype: dict
def fiftyone_pipeline_core.evidence.Evidence.get_all | ( | self | ) |
fiftyone_pipeline_core.evidence.Evidence.evidence |
fiftyone_pipeline_core.evidence.Evidence.evidence_filtered |
fiftyone_pipeline_core.evidence.Evidence.flowdata |