Skip to content
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

AttributeError: 'dict' object has no attribute 'strip' #16

Open
ashutosh2909 opened this issue Jun 18, 2021 · 4 comments
Open

AttributeError: 'dict' object has no attribute 'strip' #16

ashutosh2909 opened this issue Jun 18, 2021 · 4 comments

Comments

@ashutosh2909
Copy link

I am not able to make API call.
pymortar is installed. Could you please help
image

@fstinner
Copy link

I had the same Issue

@ashutosh2909
Copy link
Author

@fstinner were you able to resolve it ?
Could you please share the steps to resolve this.

@fstinner
Copy link

When I solve this problem, I get new issues.

You can use

client = pymortar.Client("api.mortardata.org") with password and username set in environment.

But then another error occurs:
requests.exceptions.MissingSchema: Invalid URL 'api.mortardata.org/qualify': No schema supplied. Perhaps you meant http://api.mortardata.org/qualify?

@fstinner
Copy link

@ashutosh2909 If you install pymortar==1.0.0 the tutorials work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants