Skip to content

connect() will not forward username if api_key is used instead of password #75

@alextanski

Description

@alextanski

I am on version 0.5.1 and when connecting via api-key I've realized that the username will not get passed over to the session. This will cause issues e.g. in scrunch when trying to take editorship using get_mutable_dataset(..., editor=True).

import pycrunch
print pycrunch.__version__
api_key_conn= pycrunch.connect('[email protected]', api_key=api_key)
pw_conn = pycrunch.connect('[email protected]', pw=pw)
print 'api-key:', api_key_conn.session.email
print 'password:', pw_conn.session.email

will print:

0.5.1
api-key: None
password: [email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions