From 6d8dc1580c9a4630064e1a545c75a1822095723d Mon Sep 17 00:00:00 2001 From: Joris Vaillant Date: Wed, 8 Jan 2025 09:39:04 +0100 Subject: [PATCH] python: Try a last fix --- bindings/python/pinocchio/visualize/meshcat_visualizer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/python/pinocchio/visualize/meshcat_visualizer.py b/bindings/python/pinocchio/visualize/meshcat_visualizer.py index 4933b212f..fa311385e 100644 --- a/bindings/python/pinocchio/visualize/meshcat_visualizer.py +++ b/bindings/python/pinocchio/visualize/meshcat_visualizer.py @@ -3,7 +3,7 @@ import warnings from pathlib import Path -from typing import ClassVar, TypeAlias +from typing import ClassVar import numpy as np @@ -24,10 +24,10 @@ # DaeMeshGeometry import xml.etree.ElementTree as Et -from typing import Any, Union +from typing import Any #TODO: Remove quote when 20.04 is not supported -MsgType: TypeAlias = "dict[str, Union[str, bytes, bool, float, 'MsgType']]" +MsgType = "dict[str, Union[str, bytes, bool, float, 'MsgType']]" try: import hppfcl