Skip to content
Snippets Groups Projects
Verified Commit 25bd8611 authored by !! Julian Keck (old Account; do not use) !!'s avatar !! Julian Keck (old Account; do not use) !! :ghost:
Browse files

FIXUP

parent f18f35f3
No related branches found
No related tags found
No related merge requests found
...@@ -351,7 +351,10 @@ def send_patch_request(actions: list[PatchRequestAction], mgr: Mgr, receiver=set ...@@ -351,7 +351,10 @@ def send_patch_request(actions: list[PatchRequestAction], mgr: Mgr, receiver=set
path = pathlib.Path(__file__).parent.parent.resolve() path = pathlib.Path(__file__).parent.parent.resolve()
TEMPLATE = 'templates/patch_request_template.j2' TEMPLATE = 'templates/patch_request_template.j2'
raw_action_json = json.dumps(actions) raw_data = []
for action in actions:
raw_data.append(json.loads(action.model_dump_json()))
raw_action_json = json.dumps(raw_data)
body = render_jinja_template(path, TEMPLATE, body = render_jinja_template(path, TEMPLATE,
actions=actions, actions=actions,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment