invenio_migrator/legacy/clients.py
def dump(obj, from_date, with_json=True, latest_only=False, **kwargs):
    """Dump the oauth2server Client."""
    return dict(name=obj.name,
                description=obj.description,
                website=obj.website,
                user_id=obj.user_id,
                client_id=obj.client_id,
                client_secret=obj.client_secret,
                is_confidential=obj.is_confidential,
                is_internal=obj.is_internal,
                _redirect_uris=obj._redirect_uris,
                _default_scopes=obj._default_scopes)
def dump(obj, from_date, with_json=True, latest_only=False, **kwargs):
    return dict(name=obj.name,
                description=obj.description,
                website=obj.website,
                user_id=obj.user_id,
                client_id=obj.client_id,
                client_secret=obj.client_secret,
                is_confidential=obj.is_confidential,
                is_internal=obj.is_internal,
                _redirect_uris=obj._redirect_uris,
                _default_scopes=obj._default_scopes)
def dump ( obj , from_date , with_json = True , latest_only = False , * * kwargs ) : return dict ( name = obj . name , description = obj . description , website = obj . website , user_id = obj . user_id , client_id = obj . client_id , client_secret = obj . client_secret , is_confidential = obj . is_confidential , is_internal = obj . is_internal , _redirect_uris = obj . _redirect_uris , _default_scopes = obj . _default_scopes )
Dump the oauth2server Client.
Dump the oauth2server Client .