feat: unify card runtime and event-driven web ui
This commit is contained in:
parent
0edf8c3fef
commit
4dfb7ca3cc
105 changed files with 17382 additions and 8505 deletions
9
app_dependencies.py
Normal file
9
app_dependencies.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from fastapi import Request
|
||||
|
||||
from web_runtime import WebAppRuntime
|
||||
|
||||
|
||||
def get_runtime(request: Request) -> WebAppRuntime:
|
||||
return request.app.state.runtime
|
||||
Loading…
Add table
Add a link
Reference in a new issue