Skip to content

Commit

Permalink
fix: raise attr error if explicitly defined ones are not requested
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwise-constructs committed Nov 25, 2024
1 parent 7f7f7e2 commit 7079486
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ape_infura/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ def __getattr__(name: str):

return NETWORKS

import ape_infura.provider as module

return getattr(module, name)
else:
raise AttributeError(name)


__all__ = [
Expand Down

0 comments on commit 7079486

Please sign in to comment.