From 40459b1d78ff47602d20979ee085041579db914b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20V=C4=83caru?= <16517508+anvacaru@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:30:18 +0200 Subject: [PATCH] add from_option_string to RPCOptions (#921) Co-authored-by: Palina --- src/kontrol/options.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/kontrol/options.py b/src/kontrol/options.py index d86b01b36..f258e693b 100644 --- a/src/kontrol/options.py +++ b/src/kontrol/options.py @@ -74,6 +74,12 @@ def default() -> dict[str, Any]: 'port': None, } + @staticmethod + def from_option_string() -> dict[str, str]: + return { + 'log-rewrites': 'log_succ_rewrites', + } + class TraceOptions(Options): active_tracing: bool