File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,12 @@ REDIS_HOST=localhost
88REDIS_PORT = 6379
99SECRET_KEY = CHANGE_ME_IN_PRODUCTION
1010TELEMETRY_ENABLED = false
11+ RELOAD = False
12+ LOG_LEVEL = INFO
1113
1214# TODO: Are these needed?
1315# OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=True
1416# OTEL_LOGS_EXPORTER=otlp
1517# OTEL_METRIC_EXPORT_INTERVAL=5000 # So we don't have to wait 60s for metrics
18+
19+ WATCHFILES_IGNORE_PERMISSION_DENIED = 1
Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ def REDIS_URL(self) -> URL:
7878 env_file = ".env" ,
7979 # env_prefix="API_TEMPLATE_",
8080 env_file_encoding = "utf-8" ,
81+ extra = "ignore" ,
8182 )
8283
8384
Original file line number Diff line number Diff line change 1- from pydantic import BaseModel
1+ from typing import Annotated
2+
3+ from pydantic import BaseModel , Field
24
35
46class Message (BaseModel ):
57 """Simple message model."""
68
7- message : str
9+ message : Annotated [ str , Field ( description = "Message to be echoed." )]
You can’t perform that action at this time.
0 commit comments