diff --git a/generator/lsp.json b/generator/lsp.json index 493dce1..29f33f6 100644 --- a/generator/lsp.json +++ b/generator/lsp.json @@ -6647,7 +6647,7 @@ "name": "scopeUri", "type": { "kind": "base", - "name": "string" + "name": "URI" }, "optional": true, "documentation": "The scope to get the configuration section for." diff --git a/packages/python/lsprotocol/_hooks.py b/packages/python/lsprotocol/_hooks.py index 06ade48..e1ba9d6 100644 --- a/packages/python/lsprotocol/_hooks.py +++ b/packages/python/lsprotocol/_hooks.py @@ -1214,7 +1214,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) + for a in attrs.fields(cls) # type: ignore } return cattrs.gen.make_dict_unstructure_fn(cls, converter, **attributes) @@ -1224,7 +1224,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) + for a in attrs.fields(cls) # type: ignore } return cattrs.gen.make_dict_structure_fn(cls, converter, **attributes) diff --git a/packages/python/pyproject.toml b/packages/python/pyproject.toml index 4a98b31..8d1e3ec 100644 --- a/packages/python/pyproject.toml +++ b/packages/python/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi" [project] name = "lsprotocol" description = 'Python implementation of the Language Server Protocol.' -version = "2023.0.0b2" +version = "2023.0.0" authors = [ { name = "Microsoft Corporation", email = "lsprotocol-help@microsoft.com" }, ]