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

enable Python 3.6.9 #345

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
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
Loading