moto/tests/test_stepfunctions/parser/templates/templates.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
245 B
Python
Raw Normal View History

2024-03-16 14:03:41 +00:00
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