Skip to content

Commit

Permalink
add from_option_string to RPCOptions (#921)
Browse files Browse the repository at this point in the history
Co-authored-by: Palina <[email protected]>
  • Loading branch information
anvacaru and palinatolmach authored Dec 18, 2024
1 parent ee38215 commit 40459b1
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 40459b1

Please sign in to comment.