Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #351

Merged
merged 4 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyfcm/__meta__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
__summary__ = "Python client for FCM - Firebase Cloud Messaging (Android, iOS and Web)"
__url__ = "https://github.com/olucurious/pyfcm"

__version__ = "2.0.4"
__version__ = "2.0.5"

__author__ = "Emmanuel Adegbite"
__email__ = "olucurious@gmail.com"
Expand Down
4 changes: 2 additions & 2 deletions pyfcm/baseapi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import annotations
# from __future__ import annotations

import json
import os
Expand Down Expand Up @@ -28,7 +28,7 @@ class BaseAPI(object):

def __init__(
self,
service_account_file: str | None,
service_account_file: str,
project_id: str,
credentials=None,
proxy_dict=None,
Expand Down
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()


install_requires = ["requests", "urllib3>=1.26.0", "google-auth>=2.29.0"]
install_requires = [
"requests",
"urllib3>=1.26.0",
"google-auth>=2.22.0",
"aiohttp==3.8.6",
]
tests_require = ["pytest"]

# We can't get the values using `from pyfcm import __meta__`, because this would import
Expand Down
Loading