Skip to content

Commit eb78297

Browse files
authored
Update to latest LSP spec (#281)
1 parent 55060c6 commit eb78297

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

generator/lsp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6647,7 +6647,7 @@
66476647
"name": "scopeUri",
66486648
"type": {
66496649
"kind": "base",
6650-
"name": "string"
6650+
"name": "URI"
66516651
},
66526652
"optional": true,
66536653
"documentation": "The scope to get the configuration section for."

packages/python/lsprotocol/_hooks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ def _with_custom_unstructure(cls: type) -> Any:
12141214
rename=_to_camel_case(a.name),
12151215
omit_if_default=_omit(cls, a.name),
12161216
)
1217-
for a in attrs.fields(cls)
1217+
for a in attrs.fields(cls) # type: ignore
12181218
}
12191219
return cattrs.gen.make_dict_unstructure_fn(cls, converter, **attributes)
12201220

@@ -1224,7 +1224,7 @@ def _with_custom_structure(cls: type) -> Any:
12241224
rename=_to_camel_case(a.name),
12251225
omit_if_default=_omit(cls, a.name),
12261226
)
1227-
for a in attrs.fields(cls)
1227+
for a in attrs.fields(cls) # type: ignore
12281228
}
12291229
return cattrs.gen.make_dict_structure_fn(cls, converter, **attributes)
12301230

packages/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
55
[project]
66
name = "lsprotocol"
77
description = 'Python implementation of the Language Server Protocol.'
8-
version = "2023.0.0b2"
8+
version = "2023.0.0"
99
authors = [
1010
{ name = "Microsoft Corporation", email = "[email protected]" },
1111
]

0 commit comments

Comments
 (0)