Centralized session URL generation for commands and events.
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (Python 3.12) (push) Successful in 2m45s
CI / Tests (Python 3.13) (push) Successful in 2m53s
CI / Tests (Python 3.14) (push) Successful in 2m39s
CI / Type Checking (push) Successful in 9s
CI / Spelling (push) Successful in 5s
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (Python 3.12) (push) Successful in 2m45s
CI / Tests (Python 3.13) (push) Successful in 2m53s
CI / Tests (Python 3.14) (push) Successful in 2m39s
CI / Type Checking (push) Successful in 9s
CI / Spelling (push) Successful in 5s
This commit is contained in:
@@ -316,6 +316,7 @@ def event_dispatcher(
|
||||
session_manager: SessionManager,
|
||||
command_dispatcher: CommandDispatcher,
|
||||
handler_timeout: float,
|
||||
config: Config,
|
||||
) -> EventDispatcher:
|
||||
"""Build an EventDispatcher that resolves contexts via ``_context_registry``."""
|
||||
return EventDispatcher(
|
||||
@@ -323,6 +324,7 @@ def event_dispatcher(
|
||||
get_module_context=_make_context_lookup(_context_registry),
|
||||
handler_timeout=handler_timeout,
|
||||
session_manager=session_manager,
|
||||
public_base_url=config.public_base_url,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user