def _get_backup(self, context):
    backup = None
    if context.get('backup'):
        backup = {'backupRef': context['backup']}
    return backup
def _get_backup(self, context):
    backup = None
    if context.get('backup'):
        backup = {'backupRef': context['backup']}
    return backup