Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def filter(self, qs, value):
if value:
shortuuid.set_alphabet('23456789abcdefghjkmnpqrstuvwxyz')
value = shortuuid.decode(value)
return super(ObjectIDFilter, self).filter(qs, value)