Skip to content

Commit

Permalink
Update to latest LSP spec (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig committed Nov 6, 2023
1 parent 55060c6 commit eb78297
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion generator/lsp.json
Original file line number Diff line number Diff line change
Expand Up @@ -6647,7 +6647,7 @@
"name": "scopeUri",
"type": {
"kind": "base",
"name": "string"
"name": "URI"
},
"optional": true,
"documentation": "The scope to get the configuration section for."
Expand Down
4 changes: 2 additions & 2 deletions packages/python/lsprotocol/_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion packages/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]" },
]
Expand Down

0 comments on commit eb78297

Please sign in to comment.