Example of wrapper and api usage

This commit is contained in:
simonwt 2026-04-01 19:56:50 +01:00
parent 9d52837c2a
commit 7fa6d640e4

View file

@ -123,7 +123,11 @@ from wrappers.post.create_post import create_post
# parent_path="/branch/music", # parent_path="/branch/music",
# )) # ))
save_response(create_post( # save_response(create_post(
# "This is a test post created via the create_post wrapper function.",
# "/userprofile/simon-little",
# ))
save_response(API.run_job('post.create', create_post(
"This is a test post created via the create_post wrapper function.", "This is a test post created via the create_post wrapper function.",
"/userprofile/simon-little", "/userprofile/simon-little",
)) )))