Device Detection services for 51Degrees Pipeline

fiftyone_devicedetection_cloud.hardwareprofile_cloud Namespace Reference

Classes

class  HardwareProfileCloud
 The hardware profile cloud engine. More...

Functions

 _build_aspect_values (hardware)
 Build the aspect level property values from the "hardware" section of a cloud response, pairing each null value with the reason the service gave for it.

Variables

str NULL_REASON_SUFFIX = "nullreason"

Function Documentation

◆ _build_aspect_values()

_build_aspect_values ( hardware)
protected

Build the aspect level property values from the "hardware" section of a cloud response, pairing each null value with the reason the service gave for it.

@type hardware: dict

Parameters
hardwarethe "hardware" section of the cloud response

@rtype dict

Returns
property name to AspectPropertyValue

Variable Documentation

◆ NULL_REASON_SUFFIX

str fiftyone_devicedetection_cloud.hardwareprofile_cloud.NULL_REASON_SUFFIX = "nullreason"