invenio_migrator/legacy/remoteaccounts.py
def dump(ra, from_date, with_json=True, latest_only=False, **kwargs):
    """Dump the remote accounts as a list of dictionaries.

    :param ra: Remote account to be dumped.
    :type ra: `invenio_oauthclient.models.RemoteAccount [Invenio2.x]`
    :returns: Remote accounts serialized to dictionary.
    :rtype: dict
    """
    return dict(id=ra.id, user_id=ra.user_id, client_id=ra.client_id,
                extra_data=ra.extra_data)
def dump(ra, from_date, with_json=True, latest_only=False, **kwargs):
    return dict(id=ra.id, user_id=ra.user_id, client_id=ra.client_id,
                extra_data=ra.extra_data)
def dump ( ra , from_date , with_json = True , latest_only = False , * * kwargs ) : return dict ( id = ra . id , user_id = ra . user_id , client_id = ra . client_id , extra_data = ra . extra_data )
Dump the remote accounts as a list of dictionaries.

    :param ra: Remote account to be dumped.
    :type ra: `invenio_oauthclient.models.RemoteAccount [Invenio2.x]`
    :returns: Remote accounts serialized to dictionary.
    :rtype: dict
Dump the remote accounts as a list of dictionaries .