def get_maintenance_metadata(self): # type: () -> dict """ Return a maintenance layout that the GUI can interpret to create a dynamic form :return: Dict with metadata :rtype: dict """ metadata = {} if AlbaController.can_set_auto_cleanup(): metadata.update({ 'edit': True, 'edit_metadata': { 'auto_cleanup_deleted_namespaces': 'integer' } }) return metadata