Skip to content

Commit 260d60f

Browse files
committed
Add typing_extensions to support py3.7
1 parent 9dee8d9 commit 260d60f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

ankr/providers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
from __future__ import annotations
22

3-
from typing import Any, Iterable, List, Optional, Protocol, Type, TypeVar, Union
3+
from typing import Any, Iterable, List, Optional, Type, TypeVar, Union
44

55
from eth_typing import URI
6+
from typing_extensions import Protocol
67
from web3 import HTTPProvider
78
from web3.types import RPCEndpoint, RPCResponse
89

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ankr-sdk"
3-
version = "0.1.4"
3+
version = "0.2.0"
44
description = "Compact Python library for interacting with Ankr's Advanced APIs."
55
authors = ["Roman Fasakhov <[email protected]>"]
66
license = "MIT License"
@@ -19,6 +19,7 @@ python = "^3.7.2"
1919
web3 = "^5.29.2"
2020
pydantic = "^1.9.1"
2121
pyhumps = "^3.7.2"
22+
typing-extensions = "^4.3.0"
2223

2324
[tool.poetry.dev-dependencies]
2425
pytest = "^7.1.2"

0 commit comments

Comments
 (0)