◆ check_data_file()
| def fiftyone_devicedetection_examples.example_utils.ExampleUtils.check_data_file | ( | pipeline, | |
| logger | |||
| ) |
static
| def | get_resource_key_from_config (config) |
| def | set_resource_key_in_config (config, key) |
| def | get_data_file_from_config (config) |
| def | set_data_file_in_config (config, file) |
| def | get_human_readable (device, property) |
| def | get_resource_key () |
| def | get_cloud_endpoint () |
| def | find_file (file_name) |
| def | get_data_file_date (engine) |
| def | data_file_is_old (engine) |
| def | get_data_file_tier (engine) |
| def | check_data_file (pipeline, logger) |
| int | FIND_FILES_TIMEOUT_S = 5 |
| int | DATA_FILE_AGE_WARNING = 30 |
| string | RESOURCE_KEY_ENV_VAR = "resource_key" |
| string | ENDPOINT_ENV_VAR = "cloud_endpoint" |
| def fiftyone_devicedetection_examples.example_utils.ExampleUtils.check_data_file | ( | pipeline, | |
| logger | |||
| ) |
| def fiftyone_devicedetection_examples.example_utils.ExampleUtils.data_file_is_old | ( | engine | ) |
| def fiftyone_devicedetection_examples.example_utils.ExampleUtils.find_file | ( | file_name | ) |
| def fiftyone_devicedetection_examples.example_utils.ExampleUtils.get_cloud_endpoint | ( | ) |
| def fiftyone_devicedetection_examples.example_utils.ExampleUtils.get_data_file_date | ( | engine | ) |
| def fiftyone_devicedetection_examples.example_utils.ExampleUtils.get_data_file_from_config | ( | config | ) |
| def fiftyone_devicedetection_examples.example_utils.ExampleUtils.get_data_file_tier | ( | engine | ) |
| def fiftyone_devicedetection_examples.example_utils.ExampleUtils.get_human_readable | ( | device, | |
| property | |||
| ) |
| def fiftyone_devicedetection_examples.example_utils.ExampleUtils.get_resource_key | ( | ) |
| def fiftyone_devicedetection_examples.example_utils.ExampleUtils.get_resource_key_from_config | ( | config | ) |
| def fiftyone_devicedetection_examples.example_utils.ExampleUtils.set_data_file_in_config | ( | config, | |
| file | |||
| ) |
| def fiftyone_devicedetection_examples.example_utils.ExampleUtils.set_resource_key_in_config | ( | config, | |
| key | |||
| ) |
| int fiftyone_devicedetection_examples.example_utils.ExampleUtils.DATA_FILE_AGE_WARNING = 30 |
| string fiftyone_devicedetection_examples.example_utils.ExampleUtils.ENDPOINT_ENV_VAR = "cloud_endpoint" |
| int fiftyone_devicedetection_examples.example_utils.ExampleUtils.FIND_FILES_TIMEOUT_S = 5 |
| string fiftyone_devicedetection_examples.example_utils.ExampleUtils.RESOURCE_KEY_ENV_VAR = "resource_key" |