[Blender_Kitsu] Publish VSE Edit as Revision on Kitsu #7
@ -18,6 +18,18 @@ def get_all_edits(relations=False, client=default):
|
||||
edits = raw.fetch_all(path, params, client=client)
|
||||
return sort_by_name(edits)
|
||||
|
||||
@cache
|
||||
def get_all_edits_with_tasks(relations=False, client=default):
|
||||
"""
|
||||
Retrieve all edit entries.
|
||||
"""
|
||||
params = {}
|
||||
if relations:
|
||||
params = {"relations": "true"}
|
||||
path = "edits/with-tasks"
|
||||
edits_with_tasks = raw.fetch_all(path, params, client=client)
|
||||
return sort_by_name(edits_with_tasks)
|
||||
|
||||
def add_comment_on_edit_task(task_id:str,
|
||||
rendered_filepath = None, comment=""
|
||||
):
|
||||
|
Loading…
Reference in New Issue
Block a user