@property
    def connection(cls):
        """A connection object which handles all HTTP requests."""
        super_class = cls.__mro__[1]
        if super_class == object or cls.__dict__ in '_connection':
            if cls._connection is None:
                cls._connection = connection.Connection(
                    cls.site, cls.user, cls.password, cls.timeout, cls.format)
            return cls._connection
        else:
            return super_class.connection
dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/pyactiveresource/activeresource.py/ResourceMeta.connection/swapped operands of `in`