Esempio n. 1
0
    def _list_datastore_images(self, ds_path, datastore):
        """Return a list of the images present in _base.

        This method returns a dictionary with the following keys:
            - unexplained_images
            - originals
        """
        ds_browser = self._get_ds_browser(datastore.ref)
        originals = ds_util.get_sub_folders(self._session, ds_browser, ds_path)
        return {'unexplained_images': [], 'originals': originals}
Esempio n. 2
0
    def _list_datastore_images(self, ds_path, datastore):
        """Return a list of the images present in _base.

        This method returns a dictionary with the following keys:
            - unexplained_images
            - originals
        """
        ds_browser = self._get_ds_browser(datastore['ref'])
        originals = ds_util.get_sub_folders(self._session, ds_browser,
                                            ds_path)
        return {'unexplained_images': [],
                'originals': originals}
Esempio n. 3
0
 def _get_timestamp(self, ds_browser, ds_path):
     files = ds_util.get_sub_folders(self._session, ds_browser, ds_path)
     if files:
         for file in files:
             if file.startswith(TIMESTAMP_PREFIX):
                 return file