hass-core/homeassistant/components/recorder
Eugenio Panadero e57d0f345e Recorder: Extra check to incoming connections which could be not sqlite3 ones (#9867)
* Extra check to incoming connections

The incoming connection could be other than self.db_url, because
some 'custom_component' could be making these, and then, if they're not
sqlite3 connections, an error will raise because those haven't the
`dbapi_connection.isolation_level` attrib.

* lint fix

* simplify check: isinstance test only
2017-10-17 10:06:49 +02:00
..
__init__.py Recorder: Extra check to incoming connections which could be not sqlite3 ones (#9867) 2017-10-17 10:06:49 +02:00
const.py Feature/reorg recorder (#6237) 2017-02-26 14:38:06 -08:00
migration.py Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
models.py History query and schema optimizations for huge performance boost (#8748) 2017-08-04 23:16:53 -07:00
purge.py Fix recorder does not vacuum SQLite DB on purge (#9469) 2017-09-17 21:10:53 +02:00
services.yaml Add recorder purge service, rework purge timer (#9523) 2017-10-04 14:07:42 +02:00
util.py History query and schema optimizations for huge performance boost (#8748) 2017-08-04 23:16:53 -07:00