Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: Iteration Tests #2319

Merged
merged 24 commits into from
Nov 28, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add in set type hint
mikedh committed Nov 8, 2024
commit a16ad87d6a8cdedaa2052b9301528c233e862623
12 changes: 11 additions & 1 deletion trimesh/typed.py
Original file line number Diff line number Diff line change
@@ -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