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