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

TypeError: async_from_user_password() missing 1 required positional argument: 'api_base_url' #347

Closed
Worxfr opened this issue Jan 18, 2024 · 0 comments

Comments

@Worxfr
Copy link
Contributor

Worxfr commented Jan 18, 2024

I'm using the library for the last 3 year, and follow all update...

First thank alot for your work albertogeniola.

But, I have an error since today, when I try to use the library.

As an example, I'm using the toggle.py example, and now, I have the following error :

pi@domochauffage:~/projects/MerossIot/examples $ python3 toggle.py 
Traceback (most recent call last):
  File "toggle.py", line 49, in <module>
    loop.run_until_complete(main())
  File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
    return future.result()
  File "toggle.py", line 13, in main
    http_api_client = await MerossHttpClient.async_from_user_password(email=EMAIL, password=PASSWORD)
TypeError: async_from_user_password() missing 1 required positional argument: 'api_base_url'

And, I had the issue with the version 4.5.9 and also with the version 4.6.0

Thanks for your help

@Worxfr Worxfr closed this as completed Jan 18, 2024
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

1 participant