@transactional_session
def update_replica_state(rse_id, scope, name, state, session=None):
    '\n    Update File replica information and state.\n\n    :param rse_id: the rse id.\n    :param scope: the tag name.\n    :param name: The data identifier name.\n    :param state: The state.\n    :param session: The database session in use.\n    '
    return update_replicas_states(replicas=[{'scope': scope, 'name': name, 'state': state, 'rse_id': rse_id}], session=session)
Update File replica information and state.

:param rse_id: the rse id.
:param scope: the tag name.
:param name: The data identifier name.
:param state: The state.
:param session: The database session in use.
@transactional_session
def update_replica_state(rse_id, scope, name, state, session=None):
    '\n    Update File replica information and state.\n\n    :param rse_id: the rse id.\n    :param scope: the tag name.\n    :param name: The data identifier name.\n    :param state: The state.\n    :param session: The database session in use.\n    '
    return update_replicas_states(replicas=[{'scope': scope, 'name': name, 'state': state, 'rse_id': rse_id}], session=session)