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]