◆ __init__()
def pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.datafile_update_service.DataFileUpdateService.__init__ | ( | self, | |
pipeline = None
|
|||
) |
Constructor for the DataFileUpdateService @type pipeline: Pipeline.
- Parameters
-
- pipeline - The pipeline the datafile update service is attached to
Member Function Documentation
◆ async_update_data_file()
def pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.datafile_update_service.DataFileUpdateService.async_update_data_file ( self, data_file ) Non blocking version of update_data_file @type data_file: DataFile.
- Parameters
-
- data_file - Datafile to update
◆ check_next_update()
def pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.datafile_update_service.DataFileUpdateService.check_next_update ( self, data_file ) Function to periodically check if a datafile needs updating also updates the datafile on start if it is set with the update_on_start option @type data_file: DataFile.
- Parameters
-
- data_file - Datafile to check updates for
◆ register_data_file()
def pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.datafile_update_service.DataFileUpdateService.register_data_file ( self, data_file ) Function to register a datafile with the update service @type data_file: DataFile.
- Parameters
-
- data_file - Datafile to check updates for
◆ track_local_data_file_changes()
def pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.datafile_update_service.DataFileUpdateService.track_local_data_file_changes ( self, data_file ) Check for local changes to a datafile.
Used by the file system watcher @type data_file: DataFile
- Parameters
-
- data_file - Datafile to check updates for
◆ update_data_file()
def pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.datafile_update_service.DataFileUpdateService.update_data_file ( self, data_file ) Function to request, download, check and unzip a datafile from an update service via an HTTP request @type data_file: DataFile.
- Parameters
-
- data_file - Datafile to update