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 edf99e17..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 = "ce9b2093cdd1a886d6fc9447bca4fd98b18409293e7cb74862fd75eee3a9e803" +content-hash = "acbc7af9a66c718777619069de44f550f22f03219cc41067a7cb86324596f563" diff --git a/pyproject.toml b/pyproject.toml index d5e03b01..7b921c14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,6 @@ gotrue = "^2.9.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