mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-07-19 18:35:03 +00:00
Get rid of all transport types and settle on Protobuf (#25)
* Get rid of all transport types and settle on Protobuf hope i don't regret this * Update Cargo.toml * Update agent.py
This commit is contained in:
parent
643a47953e
commit
0a6e975ca5
38 changed files with 1484 additions and 685 deletions
12
python/djls/_typing.py
Normal file
12
python/djls/_typing.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
|
||||
if sys.version_info >= (3, 12):
|
||||
from typing import override as typing_override
|
||||
else:
|
||||
from typing_extensions import (
|
||||
override as typing_override, # pyright: ignore[reportUnreachable]
|
||||
)
|
||||
|
||||
override = typing_override
|
Loading…
Add table
Add a link
Reference in a new issue