def backup_apps(storage, bucket):
 full_bucket_name = ''
 if (storage == StorageTypes.GCS):
  full_bucket_name = 'gs://{0}'.format(bucket)
 return BR.app_backup(storage, full_bucket_name=full_bucket_name)

def backup_apps ( storage , bucket ) : full_bucket_name = '' if ( storage == StorageTypes . GCS ) : full_bucket_name = 'gs://{0}' . format ( bucket ) return BR . app_backup ( storage , full_bucket_name = full_bucket_name )
triggers a backup of the source code of deployed apps .