Updated Troubleshooting (markdown)

master
Chris Caron 2022-12-17 14:02:03 -05:00
parent 36a7f81422
commit ec5dd2960d
1 changed files with 5 additions and 5 deletions

@ -304,16 +304,16 @@ RUN apt-get update && \
##
## Obtain the latest stable branch
RUN pip install apprise
RUN pip3 install apprise
## Obtain a specific version of Apprise
# RUN pip install "apprise==1.2.0"
# RUN pip3 install "apprise==1.2.0"
## Use the master branch from GitHub:
# RUN pip install "https://github.com/caronc/apprise.git"
# RUN pip3 install "git+https://github.com/caronc/apprise.git"
## Use a specific branch you want to test
RUN pip install "https://github.com/caronc/apprise.git@branch"
RUN pip3 install "git+https://github.com/caronc/apprise.git@branch"
```
Next we need to build our docker container we set up the blueprints for above:
@ -348,7 +348,7 @@ If your calling program runs it's own event loop, then Apprise can cause some co
1. Do not call `notify()`. Instead `await` the `async_notify()` call itself. [See here for more details](https://github.com/caronc/apprise/wiki/Development_API#async_notify--leveraging-await-to-send-notifications).
1. Leverage a library that handles this exact case called [nest-asyncio](https://pypi.org/project/nest-asyncio/):
```bash
pip install nest-asyncio
pip3 install nest-asyncio
```
Then from within your python application just import it at the top:
```python