◆ __init__()
def fiftyone_devicedetection_onpremise.devicedetection_datafile.DeviceDetectionDataFile.__init__ | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
\r\n
Extension of the DataFile class for DeviceDetection This helps construct the update url based on url parameters provided by the engine, provides methods to get the published date and update date of the datafile and refreshes the on premise engine when the datafile is updated.
def | __init__ (self, *args, **kwargs) |
def fiftyone_devicedetection_onpremise.devicedetection_datafile.DeviceDetectionDataFile.__init__ | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
def fiftyone_devicedetection_onpremise.devicedetection_datafile.DeviceDetectionDataFile.get_date_published | ( | self | ) |
Get the date the datafile was published.
def fiftyone_devicedetection_onpremise.devicedetection_datafile.DeviceDetectionDataFile.get_next_update | ( | self | ) |
Get the date of the next datafile update.
def fiftyone_devicedetection_onpremise.devicedetection_datafile.DeviceDetectionDataFile.get_url_formatter | ( | self | ) |
Generate a url for the data file update service to call These parameters are passed in to the constructor of the Device Detection On Premise engine.
def fiftyone_devicedetection_onpremise.devicedetection_datafile.DeviceDetectionDataFile.refresh | ( | self | ) |
Once the datafile has updated, refresh the engine.
def fiftyone_devicedetection_onpremise.devicedetection_datafile.DeviceDetectionDataFile.swig_date_to_date | ( | self, | |
swig_date | |||
) |
Helper function to convert the SWIG wrapper date object into a python date.
fiftyone_devicedetection_onpremise.devicedetection_datafile.DeviceDetectionDataFile.download |