Skip to content

Commit

Permalink
[deploy] AioPyFCM Version 0.2.1
Browse files Browse the repository at this point in the history
[deploy] AioPyFCM Version 0.2.1
  • Loading branch information
837477 authored Oct 25, 2024
2 parents c655dbc + 7fe2df3 commit 13a352b
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 13a352b

Please sign in to comment.