mirror of
https://github.com/langgenius/dify.git
synced 2026-02-24 11:04:11 -05:00
fix: add return type annotation to abstract _publish method (#32493)
This commit is contained in:
@@ -133,7 +133,7 @@ class AppQueueManager(ABC):
|
||||
self._publish(event, pub_from)
|
||||
|
||||
@abstractmethod
|
||||
def _publish(self, event: AppQueueEvent, pub_from: PublishFrom):
|
||||
def _publish(self, event: AppQueueEvent, pub_from: PublishFrom) -> None:
|
||||
"""
|
||||
Publish event to queue
|
||||
:param event:
|
||||
|
||||
Reference in New Issue
Block a user