Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, **kwargs):
if kwargs.get('id') is None:
raise Exception('No id provided to search by')
self.url = 'cards/arena/{}?'.format(str(kwargs.get('id')))
super(ArenaId, self).__init__(self.url)