51Degrees Pipeline Python  4.2

51Degrees Pipeline for Python

pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.basiclist_evidence_keyfilter.BasicListEvidenceKeyFilter Class Reference

Detailed Description

An instance of EvidenceKeyFilter that uses a simple array of keys Evidence not using these keys is filtered out.

Inheritance diagram for pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.basiclist_evidence_keyfilter.BasicListEvidenceKeyFilter:

[legend]

Collaboration diagram for pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.basiclist_evidence_keyfilter.BasicListEvidenceKeyFilter:

[legend]

Public Member Functions

def  __init__ (self, keys_list)
def  filter_evidenceKey (self, key)
Check if an evidence key is present in a filter list. More...

Public Member Functions inherited from pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.evidence_keyfilter.EvidenceKeyFilter

def  filter_evidence (self, evidence_key_object)
Filter evidence from a dictionary of evidence keys/values. More...
def  filter_evidence_key (self, key)
See if a property key should be in the filtered evidence. More...

Public Attributes

 list

Constructor & Destructor Documentation

◆ __init__()

def pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.basiclist_evidence_keyfilter.BasicListEvidenceKeyFilter.__init__ (   self,
  keys_list  
)

BasicListEvidenceKeyFilter constructor.

@type keysList: dict

Parameters
keysList - a list of keys to keep.

Member Function Documentation

◆ filter_evidenceKey()

def pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.basiclist_evidence_keyfilter.BasicListEvidenceKeyFilter.filter_evidenceKey (   self,
  key  
)

Check if an evidence key is present in a filter list.

@type key: string

Parameters
key - to check in the filter

@rtype: bool

Returns
: Is this key in the filter's keys list?