Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix change_notifications type (pydantic bug) #158

Merged
merged 3 commits into from
Mar 19, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning][semver].

### Fixed

- Fix change_notifications type (pydantic bug) ([#158])

[#158]: https://github.com/openlawlibrary/pygls/pull/158

## [0.10.1] - 03/17/2021

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion pygls/lsp/types/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

class WorkspaceFoldersServerCapabilities(Model):
supported: Optional[bool] = False
change_notifications: Optional[Union[str, bool]] = None
change_notifications: Optional[Union[bool, str]] = None


class WorkspaceFolder(Model):
Expand Down