fix: update book_slot function parameters and documentation for clarity

This commit is contained in:
2026-05-29 15:48:57 +02:00
parent a98f3751e9
commit 0b09fe489e
+9 -1
View File
@@ -36,8 +36,16 @@ def new(date_start: str, date_end: str, time_span: list, slots: int, slot_lenght
return link
def book_slot(id, date, start_time):
def book_slot(id, date_start_time, name):
"""
Updates slot for the booking per a id
Input:
- id: the id is the id you get from the
- date_start_time: the date of the booking that was selected with date and time
- name: name that the client gave himself
Output:
- bool: if worked or not
"""
termin.update()