We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cff24b commit 6e11713Copy full SHA for 6e11713
src/injective/chain_client/_typings.py
@@ -1,8 +1,9 @@
1
import sys
2
3
-from typing import Literal, TypedDict
4
-# for python3.7, you need to change this to the followings
5
-# from typing_extensions import Literal, TypedDict
+if sys.version_info < (3, 8):
+ from typing_extensions import Literal, TypedDict
+else:
6
+ from typing import Literal, TypedDict
7
8
# Valid transaction broadcast modes for the `POST /txs` endpoint of the
9
# Cosmos REST API.
0 commit comments