Skip to content

Commit

Permalink
[fix] Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
837477 committed Oct 25, 2024
1 parent f7163e3 commit 7fe2df3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- main

env:
TAG: 0.2.0
TAG: 0.2.1

jobs:
pypi-publish:
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,17 @@ def sample_refresh_access_token():
```

### Send Message
This sample is used when you want to maintain an asynchronous session of aiohttp.<br>
You can use resources efficiently by not opening a session every time you send.
This sample shows how to send a message to FCM.

```Python
import asyncio
import aiopyfcm

async def send_stateful():
"""
This sample is used when you want to maintain an asynchronous session of aiohttp.
You can use resources efficiently by not opening a session every time you send.
"""
# Get the PyFCMAuthenticator object.
authenticator = sample_authenticate()

Expand Down
2 changes: 1 addition & 1 deletion aiopyfcm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
__TITLE__ = 'aiopyfcm'
__SUMMARY__ = 'aiopyfcm is Python Asynchronous FCM Push Controller'
__URL__ = 'https://github.com/837477/aiopyfcm'
__VERSION__ = "0.2.0"
__VERSION__ = "0.2.1"
__AUTHOR__ = '837477'
__EMAIL__ = '[email protected]'
__LICENSE__ = 'MIT License'
Expand Down

0 comments on commit 7fe2df3

Please sign in to comment.