Skip to content

Commit 761fa92

Browse files
My local changes
1 parent 073cf77 commit 761fa92

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

app/schemas/appointment.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class AppointmentInDBBase(AppointmentBase):
3737
updated_at: Optional[datetime] = None
3838

3939
class Config:
40-
orm_mode = True
40+
from_attributes = True
4141

4242
# Properties to return to client
4343
class Appointment(AppointmentInDBBase):
@@ -52,4 +52,3 @@ class AppointmentDetail(Appointment):
5252
patient_name: str
5353
doctor_name: str
5454
doctor_specialization: str
55-

docker-compose.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.8'
2-
31
services:
42
# PostgreSQL Database
53
db:
@@ -63,4 +61,4 @@ volumes:
6361

6462
networks:
6563
healthcare-network:
66-
driver: bridge
64+
driver: bridge

0 commit comments

Comments
 (0)