diff --git a/generator/model.py b/generator/model.py index 6bc8a0b..8558765 100644 --- a/generator/model.py +++ b/generator/model.py @@ -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) diff --git a/scripts/onCreateCommand.sh b/scripts/onCreateCommand.sh index f42a4ff..dfbad6c 100644 --- a/scripts/onCreateCommand.sh +++ b/scripts/onCreateCommand.sh @@ -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 -