Skip to content

Commit

Permalink
Temp server changes
Browse files Browse the repository at this point in the history
  • Loading branch information
saqadri committed Jan 4, 2024
1 parent e926e4e commit bbb06ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/src/aiconfig/editor/server/server_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from asyncio import Task, create_task
import importlib
import importlib.util
import logging
Expand Down Expand Up @@ -75,6 +76,7 @@ def convert_to_mode(cls, value: Any) -> ServerMode: # pylint: disable=no-self-a
@dataclass
class ServerState:
aiconfig: AIConfigRuntime | None = None
tasks: dict[str, Task[Any]] = {}


FlaskResponse = NewType("FlaskResponse", tuple[core_utils.JSONObject, int])
Expand Down

0 comments on commit bbb06ae

Please sign in to comment.