diff --git a/packages/python/lsprotocol/_hooks.py b/packages/python/lsprotocol/_hooks.py index a421439..b807e9f 100644 --- a/packages/python/lsprotocol/_hooks.py +++ b/packages/python/lsprotocol/_hooks.py @@ -1223,7 +1223,7 @@ def _with_custom_unstructure(cls: type) -> Any: rename=_to_camel_case(a.name), omit_if_default=_omit(cls, a.name), ) - for a in attrs.fields(cls) # type: ignore + for a in attrs.fields(cls) } return cattrs.gen.make_dict_unstructure_fn(cls, converter, **attributes) @@ -1233,7 +1233,7 @@ def _with_custom_structure(cls: type) -> Any: rename=_to_camel_case(a.name), omit_if_default=_omit(cls, a.name), ) - for a in attrs.fields(cls) # type: ignore + for a in attrs.fields(cls) } return cattrs.gen.make_dict_structure_fn(cls, converter, **attributes)