From 6eeb0495ec0fb4b5357ac35c27002e6cfe055a00 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Tue, 25 Jun 2024 10:22:43 +0200 Subject: [PATCH] Update `List` to `list` type hints (newer style) --- client/ayon_core/pipeline/create/creator_plugins.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/ayon_core/pipeline/create/creator_plugins.py b/client/ayon_core/pipeline/create/creator_plugins.py index ce1c1dfe85..bf8382d430 100644 --- a/client/ayon_core/pipeline/create/creator_plugins.py +++ b/client/ayon_core/pipeline/create/creator_plugins.py @@ -460,7 +460,7 @@ class BaseCreator: 'True' if did so. Args: - instances (List[CreatedInstance]): Instance objects which should be + instances (list[CreatedInstance]): Instance objects which should be removed. """ @@ -716,7 +716,7 @@ class Creator(BaseCreator): By default, returns `default_variants` value. Returns: - List[str]: Whisper variants for user input. + list[str]: Whisper variants for user input. """ return copy.deepcopy(self.default_variants) @@ -789,7 +789,7 @@ class Creator(BaseCreator): updating keys/values when plugin attributes change. Returns: - List[AbstractAttrDef]: Attribute definitions that can be tweaked + list[AbstractAttrDef]: Attribute definitions that can be tweaked for created instance. """ return self.pre_create_attr_defs