druid-io / pydruid

A Python connector for Druid
Other
506 stars 194 forks source link

[Bug] Cursor object swap init for client cert and proxy #232

Open juen1jp opened 3 years ago

juen1jp commented 3 years ago

The new cursor object defined on line 175 of api.py has the order ending in ssl_client_cert, proxies.

The cursor constructor on line 205 has the order proxies, ssl_client_cert.

This causes the cursor to not work properly with client side certificates. Simple fix swap the order in the Cursor Class.