From 26df70d050c9c1464e2fb8d1672293b17989de94 Mon Sep 17 00:00:00 2001 From: Michael Dawson-Haggerty Date: Sat, 9 Nov 2024 14:48:28 -0500 Subject: [PATCH] unique_name type hints --- trimesh/util.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/trimesh/util.py b/trimesh/util.py index b7fd45ca7..bd10a0d26 100644 --- a/trimesh/util.py +++ b/trimesh/util.py @@ -1,5 +1,5 @@ """ -"Grab bag" of utility functions. +Grab bag of utility functions. """ import abc @@ -2360,7 +2360,9 @@ def is_ccw(points, return_all=False): def unique_name( - start: str, contains: Union[Dict, Set, Sequence], counts: Optional[Dict] = None + start: Optional[str], + contains: Union[Set, Mapping, Sequence], + counts: Optional[Dict] = None, ): """ Deterministically generate a unique name not