Device Detection services for 51Degrees Pipeline

fiftyone_devicedetection_examples.onpremise.offlineprocessing.OfflineProcessing Class Reference

Public Member Functions

 run (self, data_file, evidence_yaml, logger, output)
 Process a YAML representation of evidence - and create a YAML output containing the processed evidence.
 analyseEvidence (self, evidence, pipeline, output, yaml, missing)

Member Function Documentation

◆ analyseEvidence()

fiftyone_devicedetection_examples.onpremise.offlineprocessing.OfflineProcessing.analyseEvidence ( self,
evidence,
pipeline,
output,
yaml,
missing )

◆ run()

fiftyone_devicedetection_examples.onpremise.offlineprocessing.OfflineProcessing.run ( self,
data_file,
evidence_yaml,
logger,
output )

Process a YAML representation of evidence - and create a YAML output containing the processed evidence.

Parameters
data_fileThe path to the device detection data file
evidence_yamlFile containing the yaml representation of the evidence to process
loggerLogger to use within the pipeline
outputOutput file to write results to
Returns
: True when the data file lacks properties that only the Enterprise data file has