Skip to content

Commit

Permalink
add in set type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedh committed Nov 8, 2024
1 parent fc40523 commit a16ad87
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion trimesh/typed.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a16ad87

Please sign in to comment.