\r\n

51Degrees Pipeline Python  4.4

51Degrees Pipeline for Python

fiftyone_pipeline_engines.aspectdata.AspectData Class Reference

Detailed Description

AspectData extends elementData by adding the option of a missing property service It also allows properties to be explicitly excluded by a flowElement / engine.

Inheritance diagram for fiftyone_pipeline_engines.aspectdata.AspectData:

[legend]

Collaboration diagram for fiftyone_pipeline_engines.aspectdata.AspectData:

[legend]

Public Member Functions

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_internal (self, key)
Returns the requested property from the data Overridden by specific ElementData instances. More...
def  get_properties (self)
Proxy to the data's flowElement properties. More...

Public Attributes

Public Attributes inherited from fiftyone_pipeline_core.elementdata.ElementData

 flow_element

Constructor & Destructor Documentation

◆ __init__()

def fiftyone_pipeline_engines.aspectdata.AspectData.__init__ (   self,
  flow_element  
)

Constructor for element data Adds default missing property service if not available.

@type FlowElement:

Parameters
FlowElement -

Reimplemented from fiftyone_pipeline_core.elementdata.ElementData.

Member Function Documentation

◆ get()

def fiftyone_pipeline_engines.aspectdata.AspectData.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

Parameters
key - the key to get @rtype mixed
Returns
The value stored under the chosen key

Reimplemented from fiftyone_pipeline_core.elementdata.ElementData.

Member Data Documentation

◆ missing_property_service

fiftyone_pipeline_engines.aspectdata.AspectData.missing_property_service