◆ __init__()
def pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.elementdata.ElementData.__init__ | ( | self, | |
flow_element | |||
) |
Constructor for ElementData.
@type flow_element: FlowElement
- Parameters
-
- flow_element - FlowElement that data has been created by
Member Function Documentation
◆ __getattr__()
def pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.elementdata.ElementData.__getattr__ ( self, key ) Magic getter for a property from the data Allowing user to write for example Data.IsMobile rather than Data.get("IsMobile)
@type key: str
- Parameters
-
- key - property
@rtype: mixed
- Returns
- : Returns specified property from the data
◆ get()
def pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.elementdata.ElementData.get ( self, key ) Get a value from the elementData contents Proxy for the ElementData.getInternal method.
@type key: str
- Parameters
-
- - key
@rtype: mixed
- Returns
- : Returns specified property from the data
◆ get_internal()
def pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.elementdata.ElementData.get_internal ( self, key ) Returns the requested property from the data Overridden by specific ElementData instances.
@type key: str
- Parameters
-
- key - property
@rtype: mixed
- Returns
- : Returns Requested property from data
Reimplemented in pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.elementdata_dictionary.ElementDataDictionary.
◆ get_properties()
def pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.elementdata.ElementData.get_properties ( self ) Proxy to the data's flowElement properties.
Gets the FlowElement.properties of the parent FlowElement.
@rtype: DataPropertyDictionary
- Returns
- : Returns dictionary of the parent FlowElement's properties