refactor and fixes for episode handling gav

This commit is contained in:
2026-09-01 15:44:11 +02:00
parent 01fccc63d9
commit 4e29c0e699
7 changed files with 448 additions and 164 deletions
+5
View File
@@ -120,6 +120,11 @@ class Kitsu(Tracker):
return os.environ['TRACKER_PROJECT_NAME']
def get_projects(self):
# gazu caches this endpoint indefinitely by default. This matters for
# projects created or configured after Blender started: the project
# may be present locally (from the toolbox config) while its task
# types are never loaded from Kitsu.
gazu.cache.clear_all()
return gazu.project.all_open_projects()
def get_episode(self, episode, project=None):