mirror of
https://github.com/hanzo-ds/connect.git
synced 2026-10-30 20:31:24 +00:00
* migrate from pylint to ruff * ruff format/lint switch over * add formatting commit * update changelog
11 lines
334 B
Python
11 lines
334 B
Python
from clickhouse_connect import common
|
|
|
|
|
|
def test_setting():
|
|
try:
|
|
assert common.get_setting("autogenerate_session_id")
|
|
common.set_setting("autogenerate_session_id", False)
|
|
assert common.get_setting("autogenerate_session_id") is False
|
|
finally:
|
|
common.set_setting("autogenerate_session_id", True)
|