Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion generator/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def get_inner_types(self) -> List[Type]:


def convert_map_key(
key_info: Dict[str, Any]
key_info: Dict[str, Any],
) -> Union[BaseMapKeyType, ReferenceMapKeyType]:
if key_info["kind"] == "base":
return BaseMapKeyType(**key_info)
Expand Down
5 changes: 2 additions & 3 deletions scripts/onCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ curl https://sh.rustup.rs -sSf | bash -s -- -y
echo 'source $HOME/.cargo/env' >> ~/.bashrc

# Install Python via pyenv .
pyenv install 3.8:latest 3.9:latest 3.10:latest 3.11:latest 3.12:latest
pyenv install 3.8 3.9 3.10 3.11 3.12

# Set default Python version to 3.8 .
pyenv global 3.8:latest
pyenv global 3.8

# Create Virutal environment.
pyenv exec python3.8 -m venv .venv

# Activate Virtual environment.
source /workspaces/lsprotocol/.venv/bin/activate