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, id, url, client, parent):
super(Restriction, self).__init__(url, client, parent, API_OVERRIDE_PATH)
self._id = id
def __getitem__(self, item):
return Restriction(item, self.url(item), self._client, self)