Fix dependency conflict by upgrading FastAPI to 0.100.x and cleaning up deprecated code
This commit is contained in:
parent
f91bd18d96
commit
868cf93034
@ -29,7 +29,4 @@ class DoctorSchedule(Base):
|
||||
updated_at = Column(DateTime, default=datetime.utcnow, onupdate=datetime.utcnow)
|
||||
|
||||
# Relationships
|
||||
doctor = relationship("Doctor", back_populates="schedules")
|
||||
|
||||
class Config:
|
||||
orm_mode = True
|
||||
doctor = relationship("Doctor", back_populates="schedules")
|
@ -1,4 +1,4 @@
|
||||
fastapi>=0.95.0,<0.96.0
|
||||
fastapi>=0.100.0,<0.101.0
|
||||
uvicorn>=0.21.1,<0.22.0
|
||||
sqlalchemy>=2.0.7,<2.1.0
|
||||
pydantic>=2.0.0,<3.0.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user