diff --git a/pyfcm/__meta__.py b/pyfcm/__meta__.py index 8fdb2d3..0f2680a 100644 --- a/pyfcm/__meta__.py +++ b/pyfcm/__meta__.py @@ -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" diff --git a/pyfcm/baseapi.py b/pyfcm/baseapi.py index ad4ef98..147050b 100644 --- a/pyfcm/baseapi.py +++ b/pyfcm/baseapi.py @@ -1,4 +1,4 @@ -from __future__ import annotations +# from __future__ import annotations import json import os @@ -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, diff --git a/setup.py b/setup.py index 5f0eff2..294940d 100644 --- a/setup.py +++ b/setup.py @@ -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