[Appointments] - Implement CRUD Operations to Pass Tests #123
Labels
No labels
CI/CD
MongoDB
PostgreSQL
api
authentication
bug
documentation
duplicate
enhancement
example issue
fix
good first issue
help wanted
high-level requirement
infrastructure
invalid
low-level requirement
medium-level requirement
question
security
test
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AndreFerreira5/starranja#123
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fill in the logic for the interface methods created in the first sub-issue until all tests written in the second sub-issue pass.
Tasks:
create_appointment(usingAppointment(**data).save()).get_appointment_by_id(usingAppointment.get()).get_appointments_by_vehicle_id(usingAppointment.find(Appointment.vehicle_id == ...).to_list()).get_appointments_by_client_id(usingAppointment.find(Appointment.client_id == ...).to_list()).update_appointment(finding the appointment, applying updates, and saving).delete_appointment(finding the appointment and callingdelete()).pytestand confirm all tests now pass.