[Blender_Kitsu] Publish VSE Edit as Revision on Kitsu #7

Merged
Nick Alberelli merged 28 commits from :feature/upload_render_to_kitsu into master 2023-04-17 19:02:15 +02:00
Showing only changes of commit 59785f8437 - Show all commits

View File

@ -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=""
):