invenio_migrator/tasks/oauth2server.py
def load_token(data):
    """Load the oauth2server token from data dump."""
    from invenio_oauth2server.models import Token
    data['expires'] = iso2dt_or_none(data['expires'])
    load_common(Token, data)
def load_token(data):
    """Load the oauth2server token from data dump."""
    from invenio_oauth2server.models import Token
    data['expires'] = iso2dt_or_none(data['expires'])
    load_common(Token, data)
Load the oauth2server token from data dump.