◆ __init__()
def pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.elementdata_dictionary.ElementDataDictionary.__init__ | ( | self, | |
flow_element, | |||
contents | |||
) |
Constructor for Element Data Dictionary.
@type flowElement: FlowElement
- Parameters
-
- flowElement - FlowElement that creates the data to be stored
@type contents: dict
- Parameters
-
- contents - Dictionary contents
Member Function Documentation
◆ as_dictionary()
def pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.elementdata_dictionary.ElementDataDictionary.as_dictionary ( self ) Get the values contained in the ElementData instance as a dictionary of keys and values.
@rtype: dict
- Returns
- : Returns a dictionary of items in an ElementData
◆ get_internal()
def pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.elementdata_dictionary.ElementDataDictionary.get_internal ( self, key ) Internal getter for ElementDataDictionary.contents.
@type key: string
- Parameters
-
- key - Key of an item in the ElementDataDictionary.
@rtype: mixed
- Returns
- : The data keyed under that property
Reimplemented from pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.elementdata.ElementData.