feat(Packagers): added html body components

This commit is contained in:
2024-10-26 16:01:18 -06:00
parent 01c05dfb78
commit ca4d2e5796
6 changed files with 46 additions and 1 deletions

11
GetSchedulePackager.py Normal file
View File

@ -0,0 +1,11 @@
import yaml
import json
with open("./MockDB/schedule.yaml", "r") as scheduleyml:
ymlschedule = yaml.safe_load(scheduleyml)
def getSchedulePackager():
res = {"isBase64ENcoded": "false",
"statusCode": 200,
"body": ymlschedule}
return res