Skip to content

Commit

Permalink
fix method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
fcurella committed Nov 4, 2022
1 parent 589a4bb commit ab6b883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions faker/providers/bank/en_IN/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ class Provider(BankProvider):
"Yes Bank",
)

def bank(self, min_length: Optional[int] = None, max_length: Optional[int] = None) -> str:
def bank(self) -> str:
"""Generate a bank name."""
return self.random_element(self.banks, min_length, max_length)
return self.random_element(self.banks)

0 comments on commit ab6b883

Please sign in to comment.