Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'bankCode': And(int, lambda i: i in PaymentService.BANK.values()),
Optional('accountName'): And(str, len),
'bankCode': And(int, lambda i: i in PaymentService.BANK.values()),
Optional('accountName'): And(str, len),