Skip to content

Commit c3a6fa4

Browse files
zsziaArtem Rys
authored andcommitted
refactor: fix inefficient usage of batch_save
1 parent f51b3d1 commit c3a6fa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solnlib/modular_input/checkpointer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def update(self, key, state):
218218
def batch_update(self, states):
219219
for state in states:
220220
state["state"] = json.dumps(state["state"])
221-
self._collection_data.batch_save(*states)
221+
self._collection_data.batch_save(*states)
222222

223223
@retry(exceptions=[binding.HTTPError])
224224
def get(self, key):

0 commit comments

Comments
 (0)