Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def region(self) -> Optional[str]:
code = self.region_code
title = None
for chars, title_ in REGIONS.items():
if code in chars:
title = title_
break
return title