locust-cloud 1.11.7__py3-none-any.whl → 1.11.8__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_cloud/__init__.py CHANGED
@@ -83,6 +83,7 @@ def add_arguments(parser: LocustArgumentParser):
83
83
  type=str,
84
84
  env_var="LOCUSTCLOUD_PROFILE",
85
85
  help=configargparse.SUPPRESS,
86
+ default=None,
86
87
  )
87
88
 
88
89
 
@@ -293,7 +293,7 @@ WHERE id = current_user
293
293
  profiles = """
294
294
  SELECT DISTINCT
295
295
  CASE
296
- WHEN profile IS NOT NULL THEN profile
296
+ WHEN profile IS NOT NULL AND profile != '' THEN profile
297
297
  ELSE locustfile
298
298
  END AS profile
299
299
  FROM testruns