@read_session
def get_replica_atime(replica, session=None):
    '\n    Get the accessed_at timestamp for a replica. Just for testing.\n    :param replicas: List of dictionaries {scope, name, rse_id, path}\n    :param session: Database session to use.\n\n    :returns: A datetime timestamp with the last access time.\n    '
    return session.query(models.RSEFileAssociation.accessed_at).filter_by(scope=replica['scope'], name=replica['name'], rse_id=replica['rse_id']).with_hint(models.RSEFileAssociation, text='INDEX(REPLICAS REPLICAS_PK)', dialect_name='oracle').one()[0]
Get the accessed_at timestamp for a replica. Just for testing.
:param replicas: List of dictionaries {scope, name, rse_id, path}
:param session: Database session to use.

:returns: A datetime timestamp with the last access time.
@read_session
def get_replica_atime(replica, session=None):
    '\n    Get the accessed_at timestamp for a replica. Just for testing.\n    :param replicas: List of dictionaries {scope, name, rse_id, path}\n    :param session: Database session to use.\n\n    :returns: A datetime timestamp with the last access time.\n    '
    return session.query(models.RSEFileAssociation.accessed_at).filter_by(scope=replica['scope'], name=replica['name'], rse_id=replica['rse_id']).with_hint(models.RSEFileAssociation, text='INDEX(REPLICAS REPLICAS_PK)', dialect_name='oracle').one()[0]