Traceback (most recent call last):


 "/bugreport/test_orm_changed.py", line 73, in <module>

print s.query(Foo).options(joinedload('bar').load_only('biz')).first()


 "/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 1358, in options

return self._options(False, *args)


 "<string>", line 2, in _options


 "/lib/python2.7/site-packages/sqlalchemy/orm/base.py", line 201, in generate

fn(self, *args[1:], **kw)


 "/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 1375, in _options

opt.process_query(self)


 "/lib/python2.7/site-packages/sqlalchemy/orm/strategy_options.py", line 146, in process_query

self._process(query, True)


 "/lib/python2.7/site-packages/sqlalchemy/orm/strategy_options.py", line 468, in _process

query._current_path, query._attributes, raiseerr)


 "/lib/python2.7/site-packages/sqlalchemy/orm/strategy_options.py", line 639, in _bind_loader

loader.path, token, None, raiseerr):


 "/lib/python2.7/site-packages/sqlalchemy/orm/strategy_options.py", line 200, in _generate_path

attr = attr.property
AttributeError: 'property' object has no attribute 'property'

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 186, in _async_setup_platform

await asyncio.gather(*pending)


 "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 292, in async_add_entities

await asyncio.gather(*tasks)


 "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 449, in _async_add_entity

await entity.async_added_to_hass()


 "/usr/src/homeassistant/homeassistant/components/filter/sensor.py", line 276, in async_added_to_hass

filter_sensor_state_listener(self._entity, prev_state, state, False)


 "/usr/src/homeassistant/homeassistant/components/filter/sensor.py", line 189, in filter_sensor_state_listener

filtered_state = filt.filter_state(copy(temp_state))


 "/usr/local/lib/python3.7/copy.py", line 106, in copy

return _reconstruct(x, None, *rv)


 "/usr/local/lib/python3.7/copy.py", line 293, in _reconstruct

setattr(y, key, value)
AttributeError: can't set attribute```
