locust 2.31.8.dev6__py3-none-any.whl → 2.31.8.dev14__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 CHANGED
@@ -14,7 +14,7 @@ __version_tuple__: VERSION_TUPLE
14
14
  version_tuple: VERSION_TUPLE
15
15
 
16
16
 
17
- __version__ = "2.31.8.dev6"
17
+ __version__ = "2.31.8.dev14"
18
18
  version = __version__
19
- __version_tuple__ = (2, 31, 8, "dev6")
19
+ __version_tuple__ = (2, 31, 8, "dev14")
20
20
  version_tuple = __version_tuple__
locust/web.py CHANGED
@@ -629,7 +629,7 @@ class WebUI:
629
629
  else None
630
630
  )
631
631
 
632
- self.template_args = {
632
+ new_template_args = {
633
633
  "locustfile": self.environment.locustfile,
634
634
  "state": self.environment.runner.state,
635
635
  "is_distributed": is_distributed,
@@ -658,6 +658,8 @@ class WebUI:
658
658
  "percentiles_to_statistics": stats_module.PERCENTILES_TO_STATISTICS,
659
659
  }
660
660
 
661
+ self.template_args = {**self.template_args, **new_template_args}
662
+
661
663
  def _update_shape_class(self, shape_class_name):
662
664
  if shape_class_name:
663
665
  shape_class = self.environment.available_shape_classes[shape_class_name]