moto/tests/test_stepfunctions/parser/templates/templates.py
2024-03-16 13:03:41 -01:00

12 lines
245 B
Python

import json
import os
folder = os.path.dirname(os.path.realpath(__file__))
def load_template(name: str):
template = None
with open(os.path.join(folder, name + ".json"), "r") as df:
template = json.load(df)
return template