[feat] add fastapi adapter

This commit is contained in:
Azamat 2026-03-20 15:06:39 +03:00
parent 05543bbbbb
commit a930185754
12 changed files with 220 additions and 16 deletions

View file

@ -59,13 +59,6 @@ def load_config(
env_values,
'APP_HTTP_PORT',
),
api_prefix=_yaml_or_env_str(
http_section,
'api_prefix',
'http.api_prefix',
env_values,
'APP_HTTP_API_PREFIX',
),
),
logging=LoggingConfig(
level=_yaml_or_env_str(

View file

@ -11,7 +11,6 @@ class AppSectionConfig:
class HttpConfig:
host: str
port: int
api_prefix: str
@dataclass(frozen=True, slots=True)