fix(SchedulePackager): changed comments

This commit is contained in:
2024-11-09 12:10:57 -07:00
parent 45f6cf83c8
commit 4fe15620d7
7 changed files with 36 additions and 34 deletions

View File

@ -1,6 +1,21 @@
import json
import datetime
def SelectAppointment (appointmentTime:datetime):
"""
packages up a response for a http request
``appointmentTime``: ``timedate``
The appointment date and time details
``returns``: ``json``
Returns the status of the booking confirmation
``Develop in part by``: Brock T
``Contact``: darkicewolf50@gmail.com
"""
def SelectAppointment (appointmentTime):
status = mockWriteFunction(appointmentTime)
res = {"isBase64ENcoded": "false",
"statusCode": 200,
@ -9,7 +24,7 @@ def SelectAppointment (appointmentTime):
res["body"] = {"Success": True}
else:
res["body"] = {"Success": False}
return res
return json.dumps(res)