\r\n

51Degrees Pipeline Python  4.4

51Degrees Pipeline for Python

constants.Constants Class Reference

Static Public Attributes

string  resourceKey = "resource_key"
string  userAgent = "iPhone"
string  jsonResponse = '{"device":{"value": 1}}'
string  evidenceKeysResponse = '["query.User-Agent"]'
 accessiblePropertiesResponse = \
int  accessiblePropertiesResponseCode = 200 string  invalidKey = "invalidkey" string  invalidKeyMessage = "58982060: " + invalidKey + " not a valid resource key" dictionary  invalidKeyResponse = { 'errors':[ invalidKeyMessage ]} string  invalidKeyMessageComplete = "Error returned from 51Degrees cloud service: '[\"" + invalidKeyMessage + "\"]'" string  noDataKey = "nodatakey" dictionary  noDataKeyResponse = {} string  noDataKeyMessageComplete = "Error returned from 51Degrees cloud service: 'No data in response " + \ string  noErrorNoSuccessKey = "noErrorNoSuccessKey" dictionary  noErrorNoSuccessResponse = {'device': {'value': 'abc'}} string  noErrorNoSuccessMessage = "Error returned from 51Degrees cloud service: 'Cloud service at 'https://cloud.51degrees.com/api/v4/' returned status code '400' with content {'device': {'value': 'abc'}}'"  accessibleSubPropertiesResponse = \ string  PRECENDENCE_WARNING = "WARNING: '{}:{}' evidence conflicts with {}:{}"

Member Data Documentation

◆ accessiblePropertiesResponse

constants.Constants.accessiblePropertiesResponse = \
static

◆ accessiblePropertiesResponseCode

int constants.Constants.accessiblePropertiesResponseCode = 200
static

◆ accessibleSubPropertiesResponse

constants.Constants.accessibleSubPropertiesResponse = \
static

◆ evidenceKeysResponse

string constants.Constants.evidenceKeysResponse = '["query.User-Agent"]'
static

◆ invalidKey

string constants.Constants.invalidKey = "invalidkey"
static

◆ invalidKeyMessage

string constants.Constants.invalidKeyMessage = "58982060: " + invalidKey + " not a valid resource key"
static

◆ invalidKeyMessageComplete

string constants.Constants.invalidKeyMessageComplete = "Error returned from 51Degrees cloud service: '[\"" + invalidKeyMessage + "\"]'"
static

◆ invalidKeyResponse

dictionary constants.Constants.invalidKeyResponse = { 'errors':[ invalidKeyMessage ]}
static

◆ jsonResponse

string constants.Constants.jsonResponse = '{"device":{"value": 1}}'
static

◆ noDataKey

string constants.Constants.noDataKey = "nodatakey"
static

◆ noDataKeyMessageComplete

string constants.Constants.noDataKeyMessageComplete = "Error returned from 51Degrees cloud service: 'No data in response " + \
static

◆ noDataKeyResponse

dictionary constants.Constants.noDataKeyResponse = {}
static

◆ noErrorNoSuccessKey

string constants.Constants.noErrorNoSuccessKey = "noErrorNoSuccessKey"
static

◆ noErrorNoSuccessMessage

string constants.Constants.noErrorNoSuccessMessage = "Error returned from 51Degrees cloud service: 'Cloud service at 'https://cloud.51degrees.com/api/v4/' returned status code '400' with content {'device': {'value': 'abc'}}'"
static

◆ noErrorNoSuccessResponse

dictionary constants.Constants.noErrorNoSuccessResponse = {'device': {'value': 'abc'}}
static

◆ PRECENDENCE_WARNING

string constants.Constants.PRECENDENCE_WARNING = "WARNING: '{}:{}' evidence conflicts with {}:{}"
static

◆ resourceKey

string constants.Constants.resourceKey = "resource_key"
static

◆ userAgent

string constants.Constants.userAgent = "iPhone"
static
On This Page