Buckets:
ktongue/docker_container / .vscode-server /extensions /ms-python.python-2026.2.0-linux-arm64 /python_files /lib /jedilsp /lsprotocol /converters.py
| # Copyright (c) Microsoft Corporation. All rights reserved. | |
| # Licensed under the MIT License. | |
| from typing import Optional | |
| import cattrs | |
| from . import _hooks | |
| def get_converter( | |
| converter: Optional[cattrs.Converter] = None, | |
| ) -> cattrs.Converter: | |
| """Adds cattrs hooks for LSP lsp_types to the given converter.""" | |
| if converter is None: | |
| converter = cattrs.Converter() | |
| return _hooks.register_hooks(converter) | |
Xet Storage Details
- Size:
- 433 Bytes
- Xet hash:
- 3b39658236a956912a21f037c14bbb27650834adada6c9e7f05c42f18afc0e98
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.