invenio_migrator/legacy/users.py
def _get_users_invenio2(*args, **kwargs):
    """Get user accounts from Invenio 2."""
    from invenio.modules.accounts.models import User
    q = User.query
    return q.count(), q.all()
def _get_users_invenio2(*args, **kwargs):
    from invenio.modules.accounts.models import User
    q = User.query
    return q.count(), q.all()
def _get_users_invenio2 ( * args , * * kwargs ) : from invenio . modules . accounts . models import User q = User . query return q . count ( ) , q . all ( )
Get user accounts from Invenio 2.
Get user accounts from Invenio 2 .