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

Commit 05a5c14

Browse files
authored
Fixed format type and documentation according to code (#179)
1 parent 082c1fc commit 05a5c14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pycti/connector/opencti_connector_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,11 +451,11 @@ def get_state(self):
451451
pass
452452
return None
453453

454-
def listen(self, message_callback: Callable[[str, Dict], str]) -> None:
454+
def listen(self, message_callback: Callable[[Dict], str]) -> None:
455455
"""listen for messages and register callback function
456456
457457
:param message_callback: callback function to process messages
458-
:type message_callback: Callable[[Dict], List[str]]
458+
:type message_callback: Callable[[Dict], str]
459459
"""
460460

461461
listen_queue = ListenQueue(self, self.config, message_callback)

0 commit comments

Comments
 (0)