Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #930 from marceloneppel/fix-asyncio-on-readme
#930 #### Description The following error is thrown if we run the example code from README. ```sh Traceback (most recent call last): File "/home/ubuntu/main.py", line 6, in <module> from juju import asyncio ImportError: cannot import name 'asyncio' from 'juju' (/home/linuxbrew/.linuxbrew/Cellar/[email protected]/3.11.4_1/lib/python3.11/site-packages/juju/__init__.py) ``` It fails because it should be using `jasyncio`, which is the correct module to import. The the other examples from the `examples` folder are using the correct module. #### QA Steps Add the code from README to a file named `main.py` and run it with `python3 main.py`. The ubuntu charm should be correctly deployed.
- Loading branch information