functioning wrapper

This commit is contained in:
simonwt 2026-04-01 19:52:04 +01:00
parent 9407b9a03e
commit 78c2b2006e
4 changed files with 60 additions and 43 deletions

View file

@ -110,5 +110,20 @@ def save_response(response):
# 'sk': 'post#1774951384-98fe38df'
# }))
save_response(API.run_job('post.listall'))
# save_response(API.run_job('post.listall'))
from wrappers.create_post import create_post
# save_response(create_post(
# post_text="This is a test post created via the create_post wrapper function.",
# ))
# save_response(create_post(
# post_text="This is a test post created via the create_post wrapper function.",
# parent_path="/branch/music",
# ))
save_response(create_post(
"This is a test post created via the create_post wrapper function.",
"/userprofile/simon-little",
))