From 44da9f5a0d0b9cd88326af6e0121a1011b252582 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Wed, 21 May 2025 19:41:53 +0200 Subject: [PATCH] add type-hints to '_prepare_ayon_launcher_env' --- client/ayon_core/lib/execute.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/ayon_core/lib/execute.py b/client/ayon_core/lib/execute.py index 27af3d44ca..1eb2659a11 100644 --- a/client/ayon_core/lib/execute.py +++ b/client/ayon_core/lib/execute.py @@ -1,3 +1,4 @@ +from __future__ import annotations import os import sys import subprocess @@ -201,7 +202,9 @@ def clean_envs_for_ayon_process(env=None): return env -def _prepare_ayon_launcher_env(add_sys_paths: bool, kwargs): +def _prepare_ayon_launcher_env( + add_sys_paths: bool, kwargs: dict +) -> dict[str, str]: env = kwargs.pop("env", None) # Keep env untouched if are passed and not empty if not env: