mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-03 22:04:57 +08:00
fix(runtime): apply configuration changes without restart
This commit is contained in:
@@ -11,7 +11,12 @@ from typing import Any, Literal, TypeAlias
|
||||
_DEFAULT_IDENTITY = "<default>"
|
||||
_DYNAMIC_IDENTITY = "<dynamic>"
|
||||
_EVENT_MANAGER_METHODS = {"add_event_listener", "register"}
|
||||
_PRODUCER_METHODS = {"async_send_event", "send_event", "send_event_strict"}
|
||||
_PRODUCER_METHODS = {
|
||||
"async_send_event",
|
||||
"async_send_event_strict",
|
||||
"send_event",
|
||||
"send_event_strict",
|
||||
}
|
||||
_COMPREHENSION_SCOPES = (
|
||||
ast.ListComp,
|
||||
ast.SetComp,
|
||||
@@ -63,6 +68,7 @@ class _BoundEventMethod:
|
||||
"send_event",
|
||||
"send_event_strict",
|
||||
"async_send_event",
|
||||
"async_send_event_strict",
|
||||
]
|
||||
receiver_kind: str
|
||||
|
||||
|
||||
Reference in New Issue
Block a user