Skip to content

Commit 55d9d24

Browse files
committed
Add dev container. Update to latest canopy API.
1 parent 2410d0d commit 55d9d24

21 files changed

+112
-20
lines changed

.devcontainer/Dockerfile

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
#-------------------------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
4+
#-------------------------------------------------------------------------------------------------------------
5+
6+
FROM continuumio/anaconda3
7+
8+
# This Dockerfile adds a non-root user with sudo access. Use the "remoteUser"
9+
# property in devcontainer.json to use it. On Linux, the container user's GID/UIDs
10+
# will be updated to match your local UID/GID (when using the dockerFile property).
11+
# See https://aka.ms/vscode-remote/containers/non-root-user for details.
12+
ARG USERNAME=vscode
13+
ARG USER_UID=1000
14+
ARG USER_GID=$USER_UID
15+
16+
# Copy environment.yml (if found) to a temp locaition so we update the environment. Also
17+
# copy "noop.txt" so the COPY instruction does not fail if no environment.yml exists.
18+
COPY environment.yml* .devcontainer/noop.txt /tmp/conda-tmp/
19+
20+
# Configure apt and install packages
21+
RUN apt-get update \
22+
&& export DEBIAN_FRONTEND=noninteractive \
23+
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
24+
#
25+
# Verify git, process tools, lsb-release (common in install instructions for CLIs) installed
26+
&& apt-get -y install git openssh-client less iproute2 procps iproute2 lsb-release \
27+
#
28+
# Install pylint
29+
&& /opt/conda/bin/pip install pylint \
30+
#
31+
# Update Python environment based on environment.yml (if present)
32+
&& if [ -f "/tmp/conda-tmp/environment.yml" ]; then /opt/conda/bin/conda env update -n base -f /tmp/conda-tmp/environment.yml; fi \
33+
&& rm -rf /tmp/conda-tmp \
34+
#
35+
# Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
36+
&& groupadd --gid $USER_GID $USERNAME \
37+
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
38+
# [Optional] Add sudo support for the non-root user
39+
&& apt-get install -y sudo \
40+
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\
41+
&& chmod 0440 /etc/sudoers.d/$USERNAME \
42+
#
43+
# Clean up
44+
&& apt-get autoremove -y \
45+
&& apt-get clean -y \
46+
&& rm -rf /var/lib/apt/lists/*
47+
48+
COPY requirements.txt /tmp/pip-tmp/
49+
RUN /opt/conda/bin/pip --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
50+
&& rm -rf /tmp/pip-tmp

.devcontainer/devcontainer.json

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.122.1/containers/python-3-anaconda
3+
{
4+
"name": "Python 3 - Anaconda",
5+
"context": "..",
6+
"dockerFile": "Dockerfile",
7+
8+
// Set *default* container specific settings.json values on container create.
9+
"settings": {
10+
"terminal.integrated.shell.linux": "/bin/bash",
11+
"python.pythonPath": "/opt/conda/bin/python",
12+
"python.linting.enabled": true,
13+
"python.linting.pylintEnabled": true,
14+
"python.linting.pylintPath": "/opt/conda/bin/pylint"
15+
},
16+
17+
// Add the IDs of extensions you want installed when the container is created.
18+
"extensions": [
19+
"ms-python.python",
20+
"mutantdino.resourcemonitor"
21+
],
22+
23+
"containerEnv": {
24+
"CANOPY_PYTHON_INTEGRATION_TEST_CREDENTIALS": "${localEnv:CANOPY_PYTHON_INTEGRATION_TEST_CREDENTIALS}"
25+
},
26+
27+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
28+
// "forwardPorts": [],
29+
30+
// Use 'postCreateCommand' to run commands after the container is created.
31+
// "postCreateCommand": "python --version",
32+
33+
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
34+
// "remoteUser": "vscode"
35+
}

.devcontainer/noop.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This file copied into the container along with environment.yml* from the parent
2+
folder. This file is included to prevents the Dockerfile COPY instruction from
3+
failing if no environment.yml is found.

.gitattributes

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* text=auto eol=lf
2+
*.{cmd,[cC][mM][dD]} text eol=crlf
3+
*.{bat,[bB][aA][tT]} text eol=crlf

.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"python.pythonPath": "C:\\Users\\james\\Anaconda3\\python.exe"
2+
"python.pythonPath": "/opt/conda/bin/python"
33
}

canopy/openapi/models/admin_tenant_settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def study_types(self, study_types):
100100
:param study_types: The study_types of this AdminTenantSettings. # noqa: E501
101101
:type: list[str]
102102
"""
103-
allowed_values = ["straightSim", "apexSim", "quasiStaticLap", "generateRacingLine", "quasiStaticLapWithGenerateRacingLine", "deploymentLap", "failureSim", "successSim", "virtual4Post", "limitSim", "driveCycleSim", "dynamicLap", "dynamicLapWithSLS", "dynamicLapHD", "dynamicMultiLap", "tyreThermalDynamicLap", "tyreThermalDynamicMultiLap", "overtakingLap", "allLapSims", "dragSim", "thermalReplay", "tyreReplay", "pacejkaCanopyConverter", "aircraftSim", "channelInference", "telemetry", "iliadCollocation", "subLimitSim", "unknown"] # noqa: E501
103+
allowed_values = ["straightSim", "apexSim", "quasiStaticLap", "generateRacingLine", "quasiStaticLapWithGenerateRacingLine", "deploymentLap", "failureSim", "successSim", "virtual4Post", "limitSim", "driveCycleSim", "dynamicLap", "dynamicLapWithSLS", "dynamicLapHD", "dynamicMultiLap", "tyreThermalDynamicLap", "tyreThermalDynamicMultiLap", "overtakingLap", "allLapSims", "dragSim", "thermalReplay", "tyreReplay", "pacejkaCanopyConverter", "aircraftSim", "channelInference", "telemetry", "iliadCollocation", "subLimitSim", "bankedLimitSim", "postProcessUserMaths", "unknown"] # noqa: E501
104104
if (self.local_vars_configuration.client_side_validation and
105105
not set(study_types).issubset(set(allowed_values))): # noqa: E501
106106
raise ValueError(

canopy/openapi/models/admin_tenant_settings_builder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def study_types(self, study_types):
100100
:param study_types: The study_types of this AdminTenantSettingsBuilder. # noqa: E501
101101
:type: list[str]
102102
"""
103-
allowed_values = ["straightSim", "apexSim", "quasiStaticLap", "generateRacingLine", "quasiStaticLapWithGenerateRacingLine", "deploymentLap", "failureSim", "successSim", "virtual4Post", "limitSim", "driveCycleSim", "dynamicLap", "dynamicLapWithSLS", "dynamicLapHD", "dynamicMultiLap", "tyreThermalDynamicLap", "tyreThermalDynamicMultiLap", "overtakingLap", "allLapSims", "dragSim", "thermalReplay", "tyreReplay", "pacejkaCanopyConverter", "aircraftSim", "channelInference", "telemetry", "iliadCollocation", "subLimitSim", "unknown"] # noqa: E501
103+
allowed_values = ["straightSim", "apexSim", "quasiStaticLap", "generateRacingLine", "quasiStaticLapWithGenerateRacingLine", "deploymentLap", "failureSim", "successSim", "virtual4Post", "limitSim", "driveCycleSim", "dynamicLap", "dynamicLapWithSLS", "dynamicLapHD", "dynamicMultiLap", "tyreThermalDynamicLap", "tyreThermalDynamicMultiLap", "overtakingLap", "allLapSims", "dragSim", "thermalReplay", "tyreReplay", "pacejkaCanopyConverter", "aircraftSim", "channelInference", "telemetry", "iliadCollocation", "subLimitSim", "bankedLimitSim", "postProcessUserMaths", "unknown"] # noqa: E501
104104
if (self.local_vars_configuration.client_side_validation and
105105
not set(study_types).issubset(set(allowed_values))): # noqa: E501
106106
raise ValueError(

canopy/openapi/models/default_custom_property_names.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def target(self, target):
7575
:param target: The target of this DefaultCustomPropertyNames. # noqa: E501
7676
:type: str
7777
"""
78-
allowed_values = ["car", "track", "weather", "exploration", "virtual4PostOptions", "limitSimOptions", "subLimitSimOptions", "thermalReplayOptions", "pacejkaTyres", "channelInferenceOptions", "overtaking", "userMaths", "constraints", "telemetry", "files", "driveCycle", "study", "worksheet", "aircraft", "iliadBoat", "iliadCollocationOptions", "iliadVppOptions"] # noqa: E501
78+
allowed_values = ["car", "track", "weather", "exploration", "virtual4PostOptions", "bankedLimitSimOptions", "limitSimOptions", "subLimitSimOptions", "thermalReplayOptions", "pacejkaTyres", "channelInferenceOptions", "overtaking", "userMaths", "constraints", "telemetry", "files", "driveCycle", "study", "worksheet", "aircraft", "iliadBoat", "iliadCollocationOptions", "iliadVppOptions"] # noqa: E501
7979
if self.local_vars_configuration.client_side_validation and target not in allowed_values: # noqa: E501
8080
raise ValueError(
8181
"Invalid value for `target` ({0}), must be one of {1}" # noqa: E501

canopy/openapi/models/document_type_custom_property_groups.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def target(self, target):
7575
:param target: The target of this DocumentTypeCustomPropertyGroups. # noqa: E501
7676
:type: str
7777
"""
78-
allowed_values = ["car", "track", "weather", "exploration", "virtual4PostOptions", "limitSimOptions", "subLimitSimOptions", "thermalReplayOptions", "pacejkaTyres", "channelInferenceOptions", "overtaking", "userMaths", "constraints", "telemetry", "files", "driveCycle", "study", "worksheet", "aircraft", "iliadBoat", "iliadCollocationOptions", "iliadVppOptions"] # noqa: E501
78+
allowed_values = ["car", "track", "weather", "exploration", "virtual4PostOptions", "bankedLimitSimOptions", "limitSimOptions", "subLimitSimOptions", "thermalReplayOptions", "pacejkaTyres", "channelInferenceOptions", "overtaking", "userMaths", "constraints", "telemetry", "files", "driveCycle", "study", "worksheet", "aircraft", "iliadBoat", "iliadCollocationOptions", "iliadVppOptions"] # noqa: E501
7979
if self.local_vars_configuration.client_side_validation and target not in allowed_values: # noqa: E501
8080
raise ValueError(
8181
"Invalid value for `target` ({0}), must be one of {1}" # noqa: E501

canopy/openapi/models/get_study_job_query_result.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def sim_types(self, sim_types):
153153
:param sim_types: The sim_types of this GetStudyJobQueryResult. # noqa: E501
154154
:type: list[str]
155155
"""
156-
allowed_values = ["StraightSim", "ApexSim", "QuasiStaticLap", "GenerateRacingLine", "DeploymentLap", "FailureSim", "SuccessSim", "Virtual4Post", "LimitSim", "DriveCycleSim", "DynamicLap", "DragSim", "DynamicMultiLap", "ThermalReplay", "TyreReplay", "PacejkaCanopyConverter", "AircraftSim", "ChannelInference", "Telemetry", "OvertakingLap", "TyreThermalDynamicLap", "TyreThermalDynamicMultiLap", "DynamicLapWithSLS", "DynamicLapHD", "IliadCollocation", "SubLimitSim", "ConstraintSatisfier"] # noqa: E501
156+
allowed_values = ["StraightSim", "ApexSim", "QuasiStaticLap", "GenerateRacingLine", "DeploymentLap", "FailureSim", "SuccessSim", "Virtual4Post", "LimitSim", "DriveCycleSim", "DynamicLap", "DragSim", "DynamicMultiLap", "ThermalReplay", "TyreReplay", "PacejkaCanopyConverter", "AircraftSim", "ChannelInference", "Telemetry", "OvertakingLap", "TyreThermalDynamicLap", "TyreThermalDynamicMultiLap", "DynamicLapWithSLS", "DynamicLapHD", "IliadCollocation", "SubLimitSim", "BankedLimitSim", "ConstraintSatisfier", "PostProcessUserMaths"] # noqa: E501
157157
if (self.local_vars_configuration.client_side_validation and
158158
not set(sim_types).issubset(set(allowed_values))): # noqa: E501
159159
raise ValueError(

canopy/openapi/models/get_study_query_result.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def sim_types(self, sim_types):
153153
:param sim_types: The sim_types of this GetStudyQueryResult. # noqa: E501
154154
:type: list[str]
155155
"""
156-
allowed_values = ["StraightSim", "ApexSim", "QuasiStaticLap", "GenerateRacingLine", "DeploymentLap", "FailureSim", "SuccessSim", "Virtual4Post", "LimitSim", "DriveCycleSim", "DynamicLap", "DragSim", "DynamicMultiLap", "ThermalReplay", "TyreReplay", "PacejkaCanopyConverter", "AircraftSim", "ChannelInference", "Telemetry", "OvertakingLap", "TyreThermalDynamicLap", "TyreThermalDynamicMultiLap", "DynamicLapWithSLS", "DynamicLapHD", "IliadCollocation", "SubLimitSim", "ConstraintSatisfier"] # noqa: E501
156+
allowed_values = ["StraightSim", "ApexSim", "QuasiStaticLap", "GenerateRacingLine", "DeploymentLap", "FailureSim", "SuccessSim", "Virtual4Post", "LimitSim", "DriveCycleSim", "DynamicLap", "DragSim", "DynamicMultiLap", "ThermalReplay", "TyreReplay", "PacejkaCanopyConverter", "AircraftSim", "ChannelInference", "Telemetry", "OvertakingLap", "TyreThermalDynamicLap", "TyreThermalDynamicMultiLap", "DynamicLapWithSLS", "DynamicLapHD", "IliadCollocation", "SubLimitSim", "BankedLimitSim", "ConstraintSatisfier", "PostProcessUserMaths"] # noqa: E501
157157
if (self.local_vars_configuration.client_side_validation and
158158
not set(sim_types).issubset(set(allowed_values))): # noqa: E501
159159
raise ValueError(

canopy/openapi/models/get_tenant_default_custom_property_names_query_result.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def study_types(self, study_types):
127127
:param study_types: The study_types of this GetTenantDefaultCustomPropertyNamesQueryResult. # noqa: E501
128128
:type: list[str]
129129
"""
130-
allowed_values = ["straightSim", "apexSim", "quasiStaticLap", "generateRacingLine", "quasiStaticLapWithGenerateRacingLine", "deploymentLap", "failureSim", "successSim", "virtual4Post", "limitSim", "driveCycleSim", "dynamicLap", "dynamicLapWithSLS", "dynamicLapHD", "dynamicMultiLap", "tyreThermalDynamicLap", "tyreThermalDynamicMultiLap", "overtakingLap", "allLapSims", "dragSim", "thermalReplay", "tyreReplay", "pacejkaCanopyConverter", "aircraftSim", "channelInference", "telemetry", "iliadCollocation", "subLimitSim", "unknown"] # noqa: E501
130+
allowed_values = ["straightSim", "apexSim", "quasiStaticLap", "generateRacingLine", "quasiStaticLapWithGenerateRacingLine", "deploymentLap", "failureSim", "successSim", "virtual4Post", "limitSim", "driveCycleSim", "dynamicLap", "dynamicLapWithSLS", "dynamicLapHD", "dynamicMultiLap", "tyreThermalDynamicLap", "tyreThermalDynamicMultiLap", "overtakingLap", "allLapSims", "dragSim", "thermalReplay", "tyreReplay", "pacejkaCanopyConverter", "aircraftSim", "channelInference", "telemetry", "iliadCollocation", "subLimitSim", "bankedLimitSim", "postProcessUserMaths", "unknown"] # noqa: E501
131131
if (self.local_vars_configuration.client_side_validation and
132132
not set(study_types).issubset(set(allowed_values))): # noqa: E501
133133
raise ValueError(

canopy/openapi/models/new_study_data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def study_type(self, study_type):
147147
:param study_type: The study_type of this NewStudyData. # noqa: E501
148148
:type: str
149149
"""
150-
allowed_values = ["straightSim", "apexSim", "quasiStaticLap", "generateRacingLine", "quasiStaticLapWithGenerateRacingLine", "deploymentLap", "failureSim", "successSim", "virtual4Post", "limitSim", "driveCycleSim", "dynamicLap", "dynamicLapWithSLS", "dynamicLapHD", "dynamicMultiLap", "tyreThermalDynamicLap", "tyreThermalDynamicMultiLap", "overtakingLap", "allLapSims", "dragSim", "thermalReplay", "tyreReplay", "pacejkaCanopyConverter", "aircraftSim", "channelInference", "telemetry", "iliadCollocation", "subLimitSim", "unknown"] # noqa: E501
150+
allowed_values = ["straightSim", "apexSim", "quasiStaticLap", "generateRacingLine", "quasiStaticLapWithGenerateRacingLine", "deploymentLap", "failureSim", "successSim", "virtual4Post", "limitSim", "driveCycleSim", "dynamicLap", "dynamicLapWithSLS", "dynamicLapHD", "dynamicMultiLap", "tyreThermalDynamicLap", "tyreThermalDynamicMultiLap", "overtakingLap", "allLapSims", "dragSim", "thermalReplay", "tyreReplay", "pacejkaCanopyConverter", "aircraftSim", "channelInference", "telemetry", "iliadCollocation", "subLimitSim", "bankedLimitSim", "postProcessUserMaths", "unknown"] # noqa: E501
151151
if self.local_vars_configuration.client_side_validation and study_type not in allowed_values: # noqa: E501
152152
raise ValueError(
153153
"Invalid value for `study_type` ({0}), must be one of {1}" # noqa: E501

canopy/openapi/models/sim_type_definition.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def sim_type(self, sim_type):
9595
:param sim_type: The sim_type of this SimTypeDefinition. # noqa: E501
9696
:type: str
9797
"""
98-
allowed_values = ["StraightSim", "ApexSim", "QuasiStaticLap", "GenerateRacingLine", "DeploymentLap", "FailureSim", "SuccessSim", "Virtual4Post", "LimitSim", "DriveCycleSim", "DynamicLap", "DragSim", "DynamicMultiLap", "ThermalReplay", "TyreReplay", "PacejkaCanopyConverter", "AircraftSim", "ChannelInference", "Telemetry", "OvertakingLap", "TyreThermalDynamicLap", "TyreThermalDynamicMultiLap", "DynamicLapWithSLS", "DynamicLapHD", "IliadCollocation", "SubLimitSim", "ConstraintSatisfier"] # noqa: E501
98+
allowed_values = ["StraightSim", "ApexSim", "QuasiStaticLap", "GenerateRacingLine", "DeploymentLap", "FailureSim", "SuccessSim", "Virtual4Post", "LimitSim", "DriveCycleSim", "DynamicLap", "DragSim", "DynamicMultiLap", "ThermalReplay", "TyreReplay", "PacejkaCanopyConverter", "AircraftSim", "ChannelInference", "Telemetry", "OvertakingLap", "TyreThermalDynamicLap", "TyreThermalDynamicMultiLap", "DynamicLapWithSLS", "DynamicLapHD", "IliadCollocation", "SubLimitSim", "BankedLimitSim", "ConstraintSatisfier", "PostProcessUserMaths"] # noqa: E501
9999
if self.local_vars_configuration.client_side_validation and sim_type not in allowed_values: # noqa: E501
100100
raise ValueError(
101101
"Invalid value for `sim_type` ({0}), must be one of {1}" # noqa: E501

canopy/openapi/models/sim_type_input_telemetry_channels.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def valid_source_sim_types(self, valid_source_sim_types):
7575
:param valid_source_sim_types: The valid_source_sim_types of this SimTypeInputTelemetryChannels. # noqa: E501
7676
:type: list[str]
7777
"""
78-
allowed_values = ["StraightSim", "ApexSim", "QuasiStaticLap", "GenerateRacingLine", "DeploymentLap", "FailureSim", "SuccessSim", "Virtual4Post", "LimitSim", "DriveCycleSim", "DynamicLap", "DragSim", "DynamicMultiLap", "ThermalReplay", "TyreReplay", "PacejkaCanopyConverter", "AircraftSim", "ChannelInference", "Telemetry", "OvertakingLap", "TyreThermalDynamicLap", "TyreThermalDynamicMultiLap", "DynamicLapWithSLS", "DynamicLapHD", "IliadCollocation", "SubLimitSim", "ConstraintSatisfier"] # noqa: E501
78+
allowed_values = ["StraightSim", "ApexSim", "QuasiStaticLap", "GenerateRacingLine", "DeploymentLap", "FailureSim", "SuccessSim", "Virtual4Post", "LimitSim", "DriveCycleSim", "DynamicLap", "DragSim", "DynamicMultiLap", "ThermalReplay", "TyreReplay", "PacejkaCanopyConverter", "AircraftSim", "ChannelInference", "Telemetry", "OvertakingLap", "TyreThermalDynamicLap", "TyreThermalDynamicMultiLap", "DynamicLapWithSLS", "DynamicLapHD", "IliadCollocation", "SubLimitSim", "BankedLimitSim", "ConstraintSatisfier", "PostProcessUserMaths"] # noqa: E501
7979
if (self.local_vars_configuration.client_side_validation and
8080
not set(valid_source_sim_types).issubset(set(allowed_values))): # noqa: E501
8181
raise ValueError(

canopy/openapi/models/simulation_column_label_definitions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def sim_type(self, sim_type):
7575
:param sim_type: The sim_type of this SimulationColumnLabelDefinitions. # noqa: E501
7676
:type: str
7777
"""
78-
allowed_values = ["StraightSim", "ApexSim", "QuasiStaticLap", "GenerateRacingLine", "DeploymentLap", "FailureSim", "SuccessSim", "Virtual4Post", "LimitSim", "DriveCycleSim", "DynamicLap", "DragSim", "DynamicMultiLap", "ThermalReplay", "TyreReplay", "PacejkaCanopyConverter", "AircraftSim", "ChannelInference", "Telemetry", "OvertakingLap", "TyreThermalDynamicLap", "TyreThermalDynamicMultiLap", "DynamicLapWithSLS", "DynamicLapHD", "IliadCollocation", "SubLimitSim", "ConstraintSatisfier"] # noqa: E501
78+
allowed_values = ["StraightSim", "ApexSim", "QuasiStaticLap", "GenerateRacingLine", "DeploymentLap", "FailureSim", "SuccessSim", "Virtual4Post", "LimitSim", "DriveCycleSim", "DynamicLap", "DragSim", "DynamicMultiLap", "ThermalReplay", "TyreReplay", "PacejkaCanopyConverter", "AircraftSim", "ChannelInference", "Telemetry", "OvertakingLap", "TyreThermalDynamicLap", "TyreThermalDynamicMultiLap", "DynamicLapWithSLS", "DynamicLapHD", "IliadCollocation", "SubLimitSim", "BankedLimitSim", "ConstraintSatisfier", "PostProcessUserMaths"] # noqa: E501
7979
if self.local_vars_configuration.client_side_validation and sim_type not in allowed_values: # noqa: E501
8080
raise ValueError(
8181
"Invalid value for `sim_type` ({0}), must be one of {1}" # noqa: E501

0 commit comments

Comments
 (0)