Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 23, 2024
1 parent ba37097 commit 9e78556
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jupyter_server/services/contents/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ async def _append(self, to_append_model, path):
self.log.info(f"Appending file chunk {chunk} at path: {path}")
existing_model = self.contents_manager.get(path)
# TODO: Test binary files encoding works properly:
assert existing_model['format'] == to_append_model['format']
existing_model['content'] = existing_model['content'] + to_append_model['content']
assert existing_model["format"] == to_append_model["format"]
existing_model["content"] = existing_model["content"] + to_append_model["content"]
model = await ensure_async(self.contents_manager.save(existing_model, path))
validate_model(model)
self._finish_model(model)
Expand Down

0 comments on commit 9e78556

Please sign in to comment.