From 7c896a4f96221369a6c1204adc345ee9502a1200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Je=C5=BEek?= Date: Thu, 18 Jul 2024 15:37:38 +0200 Subject: [PATCH] Update client/ayon_resolve/api/lib.py Co-authored-by: Roy Nieterau --- client/ayon_resolve/api/lib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/ayon_resolve/api/lib.py b/client/ayon_resolve/api/lib.py index 95d8729a92..932bfb2691 100644 --- a/client/ayon_resolve/api/lib.py +++ b/client/ayon_resolve/api/lib.py @@ -961,7 +961,8 @@ def iter_all_media_pool_clips(root=None): """Recursively iterate all media pool clips in current project Args: - root (resolve.Folder)[optional]: root folder / bin object + root (Optional[resolve.Folder]): root folder / bin object. + When None, defaults to media pool root folder. """ root = root or get_current_project().GetMediaPool().GetRootFolder() queue = [root]