Added database parameters from infi.clickhouse_orm 1.0.4

This commit is contained in:
M1ha 2019-03-25 10:17:13 +05:00
parent 2798cbb602
commit 10fae9220c

View File

@ -17,7 +17,8 @@ class Database(InfiDatabase):
def __init__(self, **kwargs):
infi_kwargs = {
k: kwargs[k]
for k in ('db_name', 'db_url', 'username', 'password', 'readonly', 'autocreate')
for k in ('db_name', 'db_url', 'username', 'password', 'readonly', 'autocreate', 'timeout',
'verify_ssl_cert')
if k in kwargs
}
super(Database, self).__init__(**infi_kwargs)