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 073cf77 commit 761fa92Copy full SHA for 761fa92
app/schemas/appointment.py
@@ -37,7 +37,7 @@ class AppointmentInDBBase(AppointmentBase):
37
updated_at: Optional[datetime] = None
38
39
class Config:
40
- orm_mode = True
+ from_attributes = True
41
42
# Properties to return to client
43
class Appointment(AppointmentInDBBase):
@@ -52,4 +52,3 @@ class AppointmentDetail(Appointment):
52
patient_name: str
53
doctor_name: str
54
doctor_specialization: str
55
-
docker-compose.yml
@@ -1,5 +1,3 @@
1
-version: '3.8'
2
3
services:
4
# PostgreSQL Database
5
db:
@@ -63,4 +61,4 @@ volumes:
63
61
64
62
networks:
65
healthcare-network:
66
- driver: bridge
+ driver: bridge
0 commit comments