From ab6b883c386915449a3e504aadfc09957d7153f0 Mon Sep 17 00:00:00 2001 From: Flavio Curella Date: Fri, 4 Nov 2022 11:47:55 -0500 Subject: [PATCH] fix method signature --- faker/providers/bank/en_IN/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/faker/providers/bank/en_IN/__init__.py b/faker/providers/bank/en_IN/__init__.py index d63beebf6e..218b1c8eb6 100644 --- a/faker/providers/bank/en_IN/__init__.py +++ b/faker/providers/bank/en_IN/__init__.py @@ -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)