From 4b1f1a95848d261ac6c7fcbbdf7d57d882baf904 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Wed, 21 May 2025 19:45:39 +0200 Subject: [PATCH] add typehints --- client/ayon_core/lib/execute.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/ayon_core/lib/execute.py b/client/ayon_core/lib/execute.py index c0d86ea07a..7c6efde35c 100644 --- a/client/ayon_core/lib/execute.py +++ b/client/ayon_core/lib/execute.py @@ -295,8 +295,8 @@ def run_detached_process(args, **kwargs): def run_ayon_launcher_process( - *args, add_sys_paths=False, **kwargs -): + *args, add_sys_paths: bool = False, **kwargs +) -> str: """Execute AYON process with passed arguments and wait. Wrapper for 'run_process' which prepends AYON executable arguments @@ -325,8 +325,8 @@ def run_ayon_launcher_process( def run_detached_ayon_launcher_process( - *args, add_sys_paths=False, **kwargs -): + *args, add_sys_paths: bool = False, **kwargs +) -> subprocess.Popen: """Execute AYON process with passed arguments and wait. Wrapper for 'run_process' which prepends AYON executable arguments