mirror of
https://github.com/langgenius/dify.git
synced 2026-03-11 20:01:53 +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)
|
||||
|
||||
@abstractmethod
|
||||
def _publish(self, event: AppQueueEvent, pub_from: PublishFrom):
|
||||
def _publish(self, event: AppQueueEvent, pub_from: PublishFrom) -> None:
|
||||
"""
|
||||
Publish event to queue
|
||||
:param event:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user