\r\n

51Degrees Pipeline Python  4.4

51Degrees Pipeline for Python

fiftyone_pipeline_engines.aspectdata_dictionary.AspectDataDictionary Class Reference

Detailed Description

AspectDataDictionary class extension that stores content as dictionary.

Inheritance diagram for fiftyone_pipeline_engines.aspectdata_dictionary.AspectDataDictionary:

[legend]

Collaboration diagram for fiftyone_pipeline_engines.aspectdata_dictionary.AspectDataDictionary:

[legend]

Public Member Functions

def  __init__ (self, flow_element, contents)
Constructor for element data dictionary. More...
def  as_dictionary (self)
Get the values contained in the aspectData instance as a dictionary of keys and values. More...
def  get_internal (self, key)
getInternal = Internal getter for contents More...

Public Member Functions inherited from fiftyone_pipeline_engines.aspectdata.AspectData

def  __init__ (self, flow_element)
Constructor for element data Adds default missing property service if not available. More...
def  get (self, key)
get - Get a value (unless in a flowElement's restrictedProperties list) If property not found, call the attached missing property service @type key: string More...

Public Member Functions inherited from fiftyone_pipeline_core.elementdata.ElementData

def  __getattr__ (self, key)
Magic getter for a property from the data Allowing user to write for example Data.IsMobile rather than Data.get("IsMobile) More...
def  __getitem__ (self, flow_element_key)
Magic method in Python, which when used in a class, allows its instances to use the [] (indexer) operators. More...
def  get_properties (self)
Proxy to the data's flowElement properties. More...

Public Attributes

Public Attributes inherited from fiftyone_pipeline_engines.aspectdata.AspectData

 missing_property_service

Public Attributes inherited from fiftyone_pipeline_core.elementdata.ElementData

 flow_element

Constructor & Destructor Documentation

◆ __init__()

def fiftyone_pipeline_engines.aspectdata_dictionary.AspectDataDictionary.__init__ (   self,
  flow_element,
  contents  
)

Constructor for element data dictionary.

@type flow_element: FlowElement

Parameters
flow_element - @type contents: dict
contents -

Reimplemented in fiftyone_pipeline_cloudrequestengine.clouddata.CloudData.

Member Function Documentation

◆ as_dictionary()

def fiftyone_pipeline_engines.aspectdata_dictionary.AspectDataDictionary.as_dictionary (   self )

Get the values contained in the aspectData instance as a dictionary of keys and values.

@rtype: dict

Returns
: Returns the values contained in the aspectData instance as a dictionary of keys and values.

◆ get_internal()

def fiftyone_pipeline_engines.aspectdata_dictionary.AspectDataDictionary.get_internal (   self,
  key  
)

getInternal = Internal getter for contents

@type key: string

Parameters
key - the key to get

@rtype: dict

Returns
: Internal getter for contents

Reimplemented from fiftyone_pipeline_core.elementdata.ElementData.

Member Data Documentation

◆ contents

fiftyone_pipeline_engines.aspectdata_dictionary.AspectDataDictionary.contents
On This Page