locust 2.19.2.dev41__py3-none-any.whl → 2.19.2.dev47__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- locust/_version.py +2 -2
- locust/web.py +8 -2
- locust/webui/dist/assets/{index-d0af3b25.js → index-e50b96a2.js} +58 -58
- locust/webui/dist/index.html +1 -1
- {locust-2.19.2.dev41.dist-info → locust-2.19.2.dev47.dist-info}/METADATA +1 -1
- {locust-2.19.2.dev41.dist-info → locust-2.19.2.dev47.dist-info}/RECORD +10 -10
- {locust-2.19.2.dev41.dist-info → locust-2.19.2.dev47.dist-info}/LICENSE +0 -0
- {locust-2.19.2.dev41.dist-info → locust-2.19.2.dev47.dist-info}/WHEEL +0 -0
- {locust-2.19.2.dev41.dist-info → locust-2.19.2.dev47.dist-info}/entry_points.txt +0 -0
- {locust-2.19.2.dev41.dist-info → locust-2.19.2.dev47.dist-info}/top_level.txt +0 -0
locust/_version.py
CHANGED
@@ -12,5 +12,5 @@ __version__: str
|
|
12
12
|
__version_tuple__: VERSION_TUPLE
|
13
13
|
version_tuple: VERSION_TUPLE
|
14
14
|
|
15
|
-
__version__ = version = '2.19.2.
|
16
|
-
__version_tuple__ = version_tuple = (2, 19, 2, '
|
15
|
+
__version__ = version = '2.19.2.dev47'
|
16
|
+
__version_tuple__ = version_tuple = (2, 19, 2, 'dev47')
|
locust/web.py
CHANGED
@@ -227,8 +227,14 @@ class WebUI:
|
|
227
227
|
return jsonify({"success": False, "message": err_msg, "host": environment.host})
|
228
228
|
elif key in parsed_options_dict:
|
229
229
|
# update the value in environment.parsed_options, but dont change the type.
|
230
|
-
|
231
|
-
|
230
|
+
parsed_options_value = parsed_options_dict[key]
|
231
|
+
|
232
|
+
if isinstance(parsed_options_value, bool):
|
233
|
+
parsed_options_dict[key] = value == "true"
|
234
|
+
elif parsed_options_value is None:
|
235
|
+
parsed_options_dict[key] = parsed_options_value
|
236
|
+
else:
|
237
|
+
parsed_options_dict[key] = type(parsed_options_dict[key])(value)
|
232
238
|
|
233
239
|
if environment.shape_class and environment.runner is not None:
|
234
240
|
environment.runner.start_shape()
|