Skip to content

Commit f07b5b8

Browse files
authored
chore: formatting
1 parent 1436a6e commit f07b5b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/msgraph_core/requests/batch_request_item.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,15 +259,15 @@ def serialize(self, writer: SerializationWriter) -> None:
259259
writer.write_str_value('url', self.url)
260260
writer.write_collection_of_primitive_values('depends_on', self._depends_on)
261261
writer.write_additional_data_value(
262-
{'headers': self._headers} # need proper method to serialize dicts
262+
{'headers': self._headers} # need proper method to serialize dicts
263263
)
264264
if self._body:
265265
json_object = json.loads(self._body)
266266
is_json_string = json_object and isinstance(json_object, dict)
267267
# /$batch API expects JSON object or base 64 encoded value for the body
268268
if is_json_string:
269269
writer.write_additional_data_value(
270-
{'body': json_object} # need proper method to serialize dicts
270+
{'body': json_object} # need proper method to serialize dicts
271271
)
272272
else:
273273
writer.write_str_value('body', base64.b64encode(self._body).decode('utf-8'))

0 commit comments

Comments
 (0)