mirror of
https://github.com/UofCBaja/Interview-Backend.git
synced 2025-07-07 03:37:14 -06:00
fix(SchedulePackager): changed comments
This commit is contained in:
@ -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)
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user