From 3583bdbb23f8e5749991e259d3bee693f39e5fc3 Mon Sep 17 00:00:00 2001 From: newwingbird Date: Mon, 14 Oct 2024 14:41:06 +0900 Subject: [PATCH] Removed typing-extensions --- README.md | 2 +- poetry.lock | 2 +- pyproject.toml | 1 - supabase/types.py | 10 +++++----- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 17d10ad4..7d0d6b3f 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ conda activate supabase-py ### PyPi installation -Install the package (for Python > 3.7): +Install the package (for Python >= 3.9): ```bash # with pip diff --git a/poetry.lock b/poetry.lock index 8c0a71ed..7faefcb3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1971,4 +1971,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "4defa77d3b7a8a9570d54d93af5777f48d335f914f23d6cebc0ca5f893ff04eb" +content-hash = "acbc7af9a66c718777619069de44f550f22f03219cc41067a7cb86324596f563" diff --git a/pyproject.toml b/pyproject.toml index c3d037dc..04613800 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,6 @@ gotrue = "^2.7.0" httpx = ">=0.26,<0.28" storage3 = "^0.8.0" supafunc = "^0.6.0" -typing-extensions = "^4.12.2" [tool.poetry.dev-dependencies] pre-commit = "^3.8.0" diff --git a/supabase/types.py b/supabase/types.py index fdee53ff..4f774531 100644 --- a/supabase/types.py +++ b/supabase/types.py @@ -1,8 +1,8 @@ -from typing_extensions import NotRequired, TypedDict +from typing import TypedDict class RealtimeClientOptions(TypedDict, total=False): - auto_reconnect: NotRequired[bool] - hb_interval: NotRequired[int] - max_retries: NotRequired[int] - initial_backoff: NotRequired[float] + auto_reconnect: bool + hb_interval: int + max_retries: int + initial_backoff: float