def _final_cleanup(self): """Final cleanup called in the run function at the very end of processing """ # Clean up and remove the temporary gisdbase # Unlock mapsets PersistentProcessing._final_cleanup(self) # Unlock the mapsets for lock_id in self.lock_ids: self.lock_interface.unlock(lock_id)
def __init__(self, rdc): """Constructor Args: rdc (ResourceDataContainer): The data container that contains all required variables for processing """ PersistentProcessing.__init__(self, rdc) self.lock_ids = {} # This dict holds the lock ids of all locked mapsets
def __init__(self, *args): PersistentProcessing.__init__(self, *args)
def __init__(self, *args): PersistentProcessing.__init__(self, *args) self.response_model_class = MapsetInfoResponseModel
def __init__(self, *args): PersistentProcessing.__init__(self, *args) self.response_model_class = StringListProcessingResultResponseModel
def __init__(self, *args): PersistentProcessing.__init__(self, *args) self.user_download_cache_path = os.path.join( self.config.DOWNLOAD_CACHE, self.user_id)