Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion loopx/control_plane/work_items/stride_policy_codec.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@

@lru_cache(maxsize=1)
def stride_strategy_options() -> tuple[str, ...]:
contract = json.loads(files("loopx.control_plane").joinpath("stride_strategy_schema.json").read_text())
contract = json.loads(
files("loopx.control_plane").joinpath("stride_strategy_schema.json").read_text(encoding="utf-8")
)
return tuple(contract["enum"])


Expand Down
Loading