We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07b7649 commit 6c01e40Copy full SHA for 6c01e40
pyhilo/util/state.py
@@ -110,7 +110,8 @@ async def set_state(
110
async with lock: # note ic-dev21: on lock le fichier pour être sûr de finir la job
111
current_state = await get_state(state_yaml) or {}
112
merged_state: dict[str, Any] = {
113
- key: {**current_state.get(key, {}), **state}} # type: ignore
+ key: {**current_state.get(key, {}), **state}
114
+ } # type: ignore
115
new_state: dict[str, Any] = {**current_state, **merged_state}
116
async with aiofiles.open(state_yaml, mode="w") as yaml_file:
117
LOG.debug("Saving state to yaml file")
0 commit comments