Skip to content

Commit 7f7f7e2

Browse files
fix: adds Infura to library
1 parent 272baab commit 7f7f7e2

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

ape_infura/__init__.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ def providers():
1212

1313

1414
def __getattr__(name: str):
15-
if name == "NETWORKS":
15+
if name == "Infura":
16+
from ape_infura.provider import Infura
17+
18+
return Infura
19+
20+
elif name == "NETWORKS":
1621
from ape_infura.utils import NETWORKS
1722

1823
return NETWORKS
@@ -22,4 +27,7 @@ def __getattr__(name: str):
2227
return getattr(module, name)
2328

2429

25-
__all__ = ["NETWORKS"]
30+
__all__ = [
31+
"Infura",
32+
"NETWORKS",
33+
]

0 commit comments

Comments
 (0)