Skip to content

Commit

Permalink
Merge pull request #4 from anfema/fix-python-3.10-support
Browse files Browse the repository at this point in the history
Fix python 3.10 support & pipenv lock file
  • Loading branch information
dunkelstern authored Jan 29, 2024
2 parents 8d749b2 + d065ef4 commit 6ce1cac
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 43 deletions.
122 changes: 81 additions & 41 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion firebase_push/message/base.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json
from copy import copy
from datetime import datetime
from typing import Any, Optional, Self, Tuple, Union
from typing import Any, Optional, Tuple, Union
from uuid import uuid4

from django.conf import settings
Expand All @@ -18,6 +18,7 @@
WebpushNotification,
WebpushNotificationAction,
)
from typing_extensions import Self

from firebase_push.models import FCMHistoryBase, FCMTopic
from firebase_push.tasks import send_message
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ dependencies = [
"celery>=5.2",
"firebase-admin>=6.0",
"django-admin-extra-buttons",
"djangorestframework>=3.14.0"
"djangorestframework>=3.14.0",
"typing_extensions >= 4.1; python_version < '3.11'",
]
authors = [{name = "Johannes Schriewer", email = "j.schriewer@anfe.ma"}]

Expand Down

0 comments on commit 6ce1cac

Please sign in to comment.