Skip to content

Commit

Permalink
added typehints
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Dec 10, 2024
1 parent 55dacd5 commit 55a4c42
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions client/ayon_core/pipeline/workfile/path_resolving.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import re
import copy
import platform
from typing import Optional, Dict, Any

import ayon_api

Expand All @@ -16,12 +17,12 @@


def get_workfile_template_key_from_context(
project_name,
folder_path,
task_name,
host_name,
project_settings=None
):
project_name: str,
folder_path: str,
task_name: str,
host_name: str,
project_settings: Optional[Dict[str, Any]] = None,
) -> str:
"""Helper function to get template key for workfile template.
Do the same as `get_workfile_template_key` but returns value for "session
Expand Down

0 comments on commit 55a4c42

Please sign in to comment.