mirror of https://github.com/caronc/apprise
Updated Troubleshooting (markdown)
parent
36a7f81422
commit
ec5dd2960d
|
@ -304,16 +304,16 @@ RUN apt-get update && \
|
||||||
##
|
##
|
||||||
|
|
||||||
## Obtain the latest stable branch
|
## Obtain the latest stable branch
|
||||||
RUN pip install apprise
|
RUN pip3 install apprise
|
||||||
|
|
||||||
## Obtain a specific version of 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:
|
## 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
|
## 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:
|
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. 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/):
|
1. Leverage a library that handles this exact case called [nest-asyncio](https://pypi.org/project/nest-asyncio/):
|
||||||
```bash
|
```bash
|
||||||
pip install nest-asyncio
|
pip3 install nest-asyncio
|
||||||
```
|
```
|
||||||
Then from within your python application just import it at the top:
|
Then from within your python application just import it at the top:
|
||||||
```python
|
```python
|
||||||
|
|
Loading…
Reference in New Issue