Skip to content

Commit 39332d2

Browse files
committed
⚙️ fixed: move uvicorn package to api cli.
1 parent 7fbe7b4 commit 39332d2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/ddeutil/workflow/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from typing import Annotated, Any, Literal, Optional, Union
55

66
import typer
7-
import uvicorn
87
from pydantic import Field, TypeAdapter
98

109
from .__about__ import __version__
@@ -91,6 +90,8 @@ def api(
9190
"""
9291
Provision API application from the FastAPI.
9392
"""
93+
import uvicorn
94+
9495
from .api.log_conf import LOGGING_CONFIG
9596

9697
# LOGGING_CONFIG = {}

0 commit comments

Comments
 (0)