Skip to content

Commit 74f24a4

Browse files
author
Med Kamal
committed
apply black
1 parent 8aae9d7 commit 74f24a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ravendb/http/request_executor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,9 @@ def __create_request(self, node: ServerNode, command: RavenCommand) -> Optional[
908908
# todo: optimize that if - look for the way to make less ifs each time
909909
if request.data and not isinstance(request.data, str) and not inspect.isgenerator(request.data):
910910
# Making sur that all documents are utf-8 decoded, avoiding any bizzar caracters in the database documents
911-
request.data = json.dumps(request.data, default=self.conventions.json_default_method, ensure_ascii=False).encode("utf-8")
911+
request.data = json.dumps(
912+
request.data, default=self.conventions.json_default_method, ensure_ascii=False
913+
).encode("utf-8")
912914

913915
# todo: 1117 - 1133
914916
return request or None

0 commit comments

Comments
 (0)