diff --git a/python/src/trezorlib/protobuf.py b/python/src/trezorlib/protobuf.py index 5a5315f186..00e0aedbe0 100644 --- a/python/src/trezorlib/protobuf.py +++ b/python/src/trezorlib/protobuf.py @@ -166,7 +166,7 @@ class Field: if self._py_type is None: self._py_type = self._resolve_type() # pyright issue https://github.com/microsoft/pyright/issues/8136 - return self._py_type # type: ignore [Type ["Unknown | None"]] + return self._py_type # type: ignore [Type "Unknown | None"] def _resolve_type(self) -> type: # look for a type in the builtins