Example of wrapper and api usage
This commit is contained in:
parent
9d52837c2a
commit
7fa6d640e4
1 changed files with 6 additions and 2 deletions
|
|
@ -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",
|
||||||
))
|
)))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue