mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Automatic style fix
This commit is contained in:
parent
afc753bb2d
commit
66c2ac9364
@ -115,8 +115,10 @@ class KeeperClient(object):
|
||||
def get(self, path: str, timeout: float = 60.0) -> str:
|
||||
return self.execute_query(f"get {path}", timeout)
|
||||
|
||||
def set(self, path: str, value:str, version: tp.Optional[int] = None) -> None:
|
||||
self.execute_query(f"set {path} {value} {version if version is not None else ''}")
|
||||
def set(self, path: str, value: str, version: tp.Optional[int] = None) -> None:
|
||||
self.execute_query(
|
||||
f"set {path} {value} {version if version is not None else ''}"
|
||||
)
|
||||
|
||||
def rm(self, path: str, version: tp.Optional[int] = None) -> None:
|
||||
self.execute_query(f"rm {path} {version if version is not None else ''}")
|
||||
|
@ -215,4 +215,4 @@ def test_quoted_argument_parsing(client: KeeperClient):
|
||||
assert client.get(node_path) == "value3 with some whitespace"
|
||||
|
||||
client.execute_query(f"set '{node_path}' \"value4 with some whitespace\" 3")
|
||||
assert client.get(node_path) == "value4 with some whitespace"
|
||||
assert client.get(node_path) == "value4 with some whitespace"
|
||||
|
Loading…
Reference in New Issue
Block a user