Skip to content

Commit 839eca0

Browse files
committed
python: Use new Optional syntax
1 parent 3d78598 commit 839eca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/python/pinocchio/visualize/meshcat_visualizer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def lower(self, object_data: Any) -> MsgType:
114114
}
115115

116116
class DaeMeshGeometry(mg.ReferenceSceneElement):
117-
def __init__(self, dae_path: str, cache: Optional[set[str]] = None) -> None:
117+
def __init__(self, dae_path: str, cache: set[str] | None = None) -> None:
118118
"""Load Collada files with texture images.
119119
Inspired from
120120
https://gist.github.com/danzimmerman/a392f8eadcf1166eb5bd80e3922dbdc5

0 commit comments

Comments
 (0)