Skip to content

Commit

Permalink
Merge pull request #345 from sgserg/sgserg
Browse files Browse the repository at this point in the history
enable Python 3.6.9
  • Loading branch information
olucurious authored Jul 16, 2024
2 parents 53dd9b2 + f8b3275 commit a0e1dc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 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,13 +28,13 @@ class BaseAPI(object):

def __init__(
self,
service_account_file: str | None,
service_account_file: str,
project_id: str,
credentials=None,
proxy_dict=None,
env=None,
json_encoder=None,
adapter=None,
adapter=None
):
"""
Override existing init function to give ability to use v1 endpoints of Firebase Cloud Messaging API
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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

0 comments on commit a0e1dc9

Please sign in to comment.