From a16ad87d6a8cdedaa2052b9301528c233e862623 Mon Sep 17 00:00:00 2001 From: Michael Dawson-Haggerty Date: Fri, 8 Nov 2024 14:28:52 -0500 Subject: [PATCH] add in set type hint --- trimesh/typed.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/trimesh/typed.py b/trimesh/typed.py index b27698b51..2001392e2 100644 --- a/trimesh/typed.py +++ b/trimesh/typed.py @@ -20,9 +20,19 @@ List = list Tuple = tuple Dict = dict + Set = set from collections.abc import Callable, Hashable, Iterable, Mapping, Sequence else: - from typing import Callable, Dict, Hashable, Iterable, List, Mapping, Sequence, Tuple + from typing import ( + Callable, + Dict, + Hashable, + Iterable, + List, + Mapping, + Sequence, + Tuple, + ) # most loader routes take `file_obj` which can either be # a file-like object or a file path, or sometimes a dict