-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Description
When I try to use lsprotocol.converters.get_converter to parse the following (only the key part included):
{
"jsonrpc": "2.0",
"id": "1195cd79-60e6-412b-bc6a-9c77b6e5d7c1",
"result": {
"capabilities": {
"notebookDocumentSync": {
"notebookSelector": [
{
"cells": [
{
"language": "python"
}
]
}
],
"save": false
}
}
}
}I'm getting the following error (again, only the key part included):
cattrs.errors.StructureHandlerNotFoundError: Unsupported type: typing.Union[str, lsprotocol.types.NotebookDocumentFilterNotebookType, lsprotocol.types.NotebookDocumentFilterScheme, lsprotocol.types.NotebookDocumentFilterPattern, NoneType]. Register a structure hook for it.
I'm not sure, but thing that looks suspicious to me there is NoneType.
observerw
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug