def list_content_history(scope, name): """ List data identifier contents history. :param scope: The scope name. :param name: The data identifier name. """ return did.list_content_history(scope=scope, name=name)
def list_content_history(scope, name): """ List data identifier contents history. :param scope: The scope name. :param name: The data identifier name. """ scope = InternalScope(scope) dids = did.list_content_history(scope=scope, name=name) for d in dids: yield api_update_return_dict(d)
def list_content_history(scope, name, vo='def', session=None): """ List data identifier contents history. :param scope: The scope name. :param name: The data identifier name. :param vo: The VO to act on. :param session: The database session in use. """ scope = InternalScope(scope, vo=vo) dids = did.list_content_history(scope=scope, name=name, session=session) for d in dids: yield api_update_return_dict(d, session=session)