Skip to content

Commit

Permalink
Add typing_extensions to support py3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
fasashen committed Jul 6, 2022
1 parent 9dee8d9 commit 260d60f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ankr/providers.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from __future__ import annotations

from typing import Any, Iterable, List, Optional, Protocol, Type, TypeVar, Union
from typing import Any, Iterable, List, Optional, Type, TypeVar, Union

from eth_typing import URI
from typing_extensions import Protocol
from web3 import HTTPProvider
from web3.types import RPCEndpoint, RPCResponse

Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

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

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ankr-sdk"
version = "0.1.4"
version = "0.2.0"
description = "Compact Python library for interacting with Ankr's Advanced APIs."
authors = ["Roman Fasakhov <romanfasakhov@ankr.com>"]
license = "MIT License"
Expand All @@ -19,6 +19,7 @@ python = "^3.7.2"
web3 = "^5.29.2"
pydantic = "^1.9.1"
pyhumps = "^3.7.2"
typing-extensions = "^4.3.0"

[tool.poetry.dev-dependencies]
pytest = "^7.1.2"
Expand Down

0 comments on commit 260d60f

Please sign in to comment.