Skip to content

Commit

Permalink
add from_option_string to RPCOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
anvacaru committed Dec 18, 2024
1 parent cd6e77b commit 7b3ba7c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/kontrol/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b3ba7c

Please sign in to comment.