Skip to content

Commit 8008ab0

Browse files
committed
Use future annotations style
1 parent eb17eeb commit 8008ab0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/ayon_core/pipeline/project_folders.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import os
33
import re
44
import json
5-
from typing import Dict, Any, List, Union
5+
from typing import Any, Union
66

77
from ayon_core.settings import get_project_settings
88
from ayon_core.lib import Logger
@@ -49,7 +49,7 @@ def concatenate_splitted_paths(split_paths, anatomy: Anatomy):
4949
return output
5050

5151

52-
def fill_paths(path_list: List[str], anatomy: Anatomy):
52+
def fill_paths(path_list: list[str], anatomy: Anatomy):
5353
format_data = get_project_template_data(project_name=anatomy.project_name)
5454
format_data["root"] = anatomy.roots
5555
filled_paths = []
@@ -83,7 +83,7 @@ def create_project_folders(project_name: str, basic_paths=None):
8383

8484

8585
def _list_path_items(
86-
folder_structure: Union[Dict[str, Any], List[str]]):
86+
folder_structure: Union[dict[str, Any], list[str]]):
8787
output = []
8888

8989
# Allow leaf folders of the `project_folder_structure` to use a list of

0 commit comments

Comments
 (0)