Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit f627ea9

Browse files
author
Samuel Hassine
committed
[client] Fix black
1 parent 7657de5 commit f627ea9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pycti/api/opencti_api_client.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,11 @@ def process_multiple(self, data):
261261
):
262262
row = edge["node"]
263263
# Handle remote relation ID
264-
if "relation" in edge and edge["relation"] is not None and "id" in edge["relation"]:
264+
if (
265+
"relation" in edge
266+
and edge["relation"] is not None
267+
and "id" in edge["relation"]
268+
):
265269
row["remote_relation_id"] = edge["relation"]["id"]
266270
result.append(self.process_multiple_fields(row))
267271
return result

0 commit comments

Comments
 (0)