We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 581f52a commit cdbf421Copy full SHA for cdbf421
app/schemas.py
@@ -1,6 +1,6 @@
1
from __future__ import annotations
2
3
-from datetime import datetime
+from datetime import datetime, date
4
from enum import Enum
5
from typing import Optional, List
6
@@ -64,7 +64,7 @@ def from_db(db_entry: models.School) -> School:
64
class Statistic(BaseModel):
65
state: State
66
count: int
67
- last_updated: str
+ last_updated: date
68
model_config = ConfigDict(json_schema_extra={
69
"example": [{
70
"name": "BE",
0 commit comments