mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-04 21:06:03 +00:00
feat: preliminary migration of events entities
This commit is contained in:
@@ -8,6 +8,7 @@ import typing
|
||||
|
||||
from .context import BasePlugin as Plugin
|
||||
from .events import *
|
||||
import langbot_plugin.api.entities.events as events
|
||||
|
||||
|
||||
def register(
|
||||
@@ -17,7 +18,7 @@ def register(
|
||||
|
||||
|
||||
def on(
|
||||
event: typing.Type[BaseEventModel],
|
||||
event: typing.Type[events.BaseEventModel],
|
||||
) -> typing.Callable[[typing.Callable], typing.Callable]:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user