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

Commit ff38519

Browse files
authored
[client] Corrected entity_type type hint from Dict to str (#184)
Co-authored-by: nor3th <>
1 parent 80d61fe commit ff38519

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pycti/utils/opencti_stix2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,7 @@ def prepare_export(
13571357

13581358
def export_entity(
13591359
self,
1360-
entity_type: Dict,
1360+
entity_type: str,
13611361
entity_id: str,
13621362
mode: str = "simple",
13631363
max_marking_definition: Dict = None,
@@ -1418,7 +1418,7 @@ def export_entity(
14181418

14191419
def export_list(
14201420
self,
1421-
entity_type: Dict,
1421+
entity_type: str,
14221422
search: Dict = None,
14231423
filters: List = None,
14241424
order_by: str = None,

0 commit comments

Comments
 (0)