cloudflare / sqlalchemy-clickhouse

Apache License 2.0
306 stars 105 forks source link

Add timeout parameter for connect_args #81

Open junfan opened 2 years ago

junfan commented 2 years ago

fix the error that can not set the timeout for the connect_args

>> engine = create_engine('clickhouse://default:@localhost:8123/default', connect_args=={"timeout":180})
TypeError: __init__() got an unexpected keyword argument 'timeout'