\r\n

51Degrees Device Detection Python  4.4

Device Detection services for 51Degrees Pipeline

fiftyone_devicedetection_examples.onpremise.offlineprocessing.OfflineProcessing Class Reference

Public Member Functions

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

Member Function Documentation

◆ analyseEvidence()

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

◆ run()

def 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_file - The path to the device detection data file
evidence_yaml - File containing the yaml representation of the evidence to process
logger - Logger to use within the pipeline
output - Output file to write results to