object
PYL-R0205 1
2class CachedChoiceFieldOptionsMixin(object): 3 """
4 This class speeds up performance of inline foreign-key pickers so we don't have to re-query the options for each item in the list
5
The class is inheriting from object
, which is implicit under Python 3 , hence can be safely removed from bases.
Not preferred:
class Foo(object):
"""Foo bar baz"""
Preferred:
class Foo:
"""Foo bar baz"""