login credentials
Hi @vermeul after updating to 0.13.0, the login no longer works as previously.
import ethz_iam_webservice
e = ethz_iam_webservice.login(IAM_USERNAME, IAM_PASSWORD)
gives
----> 5 e = ethz_iam_webservice.login(IAM_USERNAME, IAM_PASSWORD)
TypeError: login() takes from 0 to 1 positional arguments but 2 were given
Using the Credentials
class fixes the issue.
from ethz_iam_webservice.main import Credentials
e = ethz_iam_webservice.login(Credentials(username=IAM_USERNAME, password=IAM_PASSWORD))
I was not able to find this in the docs, so I am not sure if this is expected?