Skip to content

Commit

Permalink
fix: remove number of args from inner callable for typing
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Apr 28, 2024
1 parent aa67ee1 commit d660914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uniswap_sdk/universal_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def encoded_commands(self) -> HexBytes:
def encode_inputs(self) -> List[HexBytes]:
return [cmd.encode_inputs() for cmd in self.commands]

def __getattr__(self, command_name: str) -> Callable[[Any], "Plan"]:
def __getattr__(self, command_name: str) -> Callable[..., "Plan"]:
if command_name.upper() not in ALL_COMMANDS_BY_NAME:
raise AttributeError(f"Unsupported command type: '{command_name.upper()}'.")

Expand Down

0 comments on commit d660914

Please sign in to comment.