\r\n

51Degrees Pipeline Python  4.4

51Degrees Pipeline for Python

fiftyone_pipeline_core.jsonbundler.JSONBundlerElement Class Reference

Detailed Description

The JSONBundler aggregates all properties from FlowElements into a JSON object It is used for retrieving via an endpoint from the client side via the JavaScriptBuilder and also used inside the JavaScriptBuilder itself to pass properties to the client side.

Both this and the JavaScriptBuilder element are automatically added to a Pipeline unless specifically ommited in the PipelineBuilder

Inheritance diagram for fiftyone_pipeline_core.jsonbundler.JSONBundlerElement:

[legend]

Collaboration diagram for fiftyone_pipeline_core.jsonbundler.JSONBundlerElement:

[legend]

Public Member Functions

def  __init__ (self)
List of Pipelines the FlowElement has been added to. More...
def  process_internal (self, flowdata)
The JSONBundler extracts all properties from a FlowData and serializes them into JSON @type flowdata: FlowData. More...

Public Member Functions inherited from fiftyone_pipeline_core.flowelement.FlowElement

def  process (self, flowdata)
Function for getting the FlowElement's EvidenceKeyFilter Used by the filterEvidence method. More...
def  on_registration (self, pipeline)
Function called when an element is added to the pipeline. More...
def  get_evidence_key_filter (self)
Filter FlowData evidence using the FlowElement's EvidenceKeyFilter. More...
def  filter_evidence (self, flowdata)
Filter FlowData evidence using the FlowElement's EvidenceKeyFilter. More...
def  filter_evidence_key (self, key)
Filter FlowData.evidence using the flowElement's EvidenceKeyFilter with the property key of evidence of interest. More...
def  get_properties (self)

Public Attributes

 exclude_from_messages
 properties
 property_cache

Public Attributes inherited from fiftyone_pipeline_core.flowelement.FlowElement

 pipelines
 properties  datakey  exclude_from_messages

Constructor & Destructor Documentation

◆ __init__()

def fiftyone_pipeline_core.jsonbundler.JSONBundlerElement.__init__ (   self )

List of Pipelines the FlowElement has been added to.

Reimplemented from fiftyone_pipeline_core.flowelement.FlowElement.

Member Function Documentation

◆ process_internal()

def fiftyone_pipeline_core.jsonbundler.JSONBundlerElement.process_internal (   self,
  flowdata  
)

The JSONBundler extracts all properties from a FlowData and serializes them into JSON @type flowdata: FlowData.

Parameters
flowdata - A FlowData

Reimplemented from fiftyone_pipeline_core.flowelement.FlowElement.

Member Data Documentation

◆ datakey

fiftyone_pipeline_core.jsonbundler.JSONBundlerElement.datakey

◆ exclude_from_messages

fiftyone_pipeline_core.jsonbundler.JSONBundlerElement.exclude_from_messages

◆ properties

fiftyone_pipeline_core.jsonbundler.JSONBundlerElement.properties

◆ property_cache

fiftyone_pipeline_core.jsonbundler.JSONBundlerElement.property_cache
On This Page