-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: User model #239
Comments
@opalczynski Can you please take a look? |
@lifcio will do. |
Thanks! I checked and it works when we pass |
Ahh, this. Yep this is known bug :) By me. But to be honest - I have no idea how to solve it now :( |
Hi, |
@Eggwise Unless you need to connect to multiple Syncano instances in your app at once, you can try following code as a workaround for now (pass instance name in import syncano
from syncano.models import User
syncano.connect(api_key='KEY', instance_name=META['instance'])
users = User.please.list()
for user in users:
# print(user)
print(user.user_key) |
@lifcio That is handy, thanks! |
when trying to list the users in my instance (see following code)
I get the following error:
I tested my api key in http://docs.syncano.io/v0.1.1/docs/users-list and it worked. It looks like the python lib cant create a user model object from the response.
Code from the stacktrace
The text was updated successfully, but these errors were encountered: