\r\n

51Degrees Device Detection Python  4.4

Device Detection services for 51Degrees Pipeline

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)

Member Function Documentation

◆ run()

def 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