locust 2.41.2.dev9__py3-none-any.whl → 2.41.3.dev2__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
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '2.41.2.dev9'
32
- __version_tuple__ = version_tuple = (2, 41, 2, 'dev9')
31
+ __version__ = version = '2.41.3.dev2'
32
+ __version_tuple__ = version_tuple = (2, 41, 3, 'dev2')
33
33
 
34
34
  __commit_id__ = commit_id = None
locust/contrib/milvus.py CHANGED
@@ -21,7 +21,7 @@ class BaseClient(ABC):
21
21
  pass
22
22
 
23
23
  @abstractmethod
24
- def create_collection(self, schema, index_params) -> None:
24
+ def create_collection(self, schema, index_params, **kwargs) -> None:
25
25
  pass
26
26
 
27
27
  @abstractmethod
@@ -80,11 +80,12 @@ class MilvusV2Client(BaseClient):
80
80
  def close(self):
81
81
  self.client.close()
82
82
 
83
- def create_collection(self, schema, index_params):
83
+ def create_collection(self, schema, index_params, **kwargs):
84
84
  self.client.create_collection(
85
85
  collection_name=self.collection_name,
86
86
  schema=schema,
87
87
  index_params=index_params,
88
+ **kwargs,
88
89
  )
89
90
 
90
91
  def insert(self, data):
@@ -299,7 +300,7 @@ class MilvusUser(User):
299
300
  timeout: int = 60,
300
301
  schema: CollectionSchema | None = None,
301
302
  index_params: IndexParams | None = None,
302
- **client_kwargs,
303
+ **kwargs, # enable_dynamic_field, num_shards, consistency_level etc. ref: https://milvus.io/api-reference/pymilvus/v2.6.x/MilvusClient/Collections/create_collection.md
303
304
  ):
304
305
  super().__init__(environment)
305
306
 
@@ -317,7 +318,7 @@ class MilvusUser(User):
317
318
  timeout=timeout,
318
319
  )
319
320
  if schema is not None:
320
- self.client.create_collection(schema=schema, index_params=index_params)
321
+ self.client.create_collection(schema=schema, index_params=index_params, **kwargs)
321
322
 
322
323
  @staticmethod
323
324
  def _fire_event(request_type: str, name: str, result: dict[str, Any]):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: locust
3
- Version: 2.41.2.dev9
3
+ Version: 2.41.3.dev2
4
4
  Summary: Developer-friendly load testing framework
5
5
  Project-URL: homepage, https://locust.io/
6
6
  Project-URL: repository, https://github.com/locustio/locust
@@ -1,6 +1,6 @@
1
1
  locust/__init__.py,sha256=HadpgGidiyCDPSKwkxrk1Qw6eB7dTmftNJVftuJzAiw,1876
2
2
  locust/__main__.py,sha256=vBQ82334kX06ImDbFlPFgiBRiLIinwNk3z8Khs6hd74,31
3
- locust/_version.py,sha256=w-7DZkgz1q4-nwejWD1KoShuJCznygffiqWljgBRjhE,719
3
+ locust/_version.py,sha256=MeuRWQOt-KE9cyOMj5a3r4oTc-GlQX3wUGJo4LKS7-g,719
4
4
  locust/argument_parser.py,sha256=E0HM9jOlKCzPM9S_E_UKSwgiF_CL0aIli5eCcOG8Xac,33547
5
5
  locust/clients.py,sha256=OfMTOT3LwijczdL3u6bpDwDNM2TDcPCIwXBelizPOyw,20776
6
6
  locust/debug.py,sha256=7CCm8bIg44uGH2wqBlo1rXBzV2VzwPicLxLewz8r5CQ,5099
@@ -19,7 +19,7 @@ locust/stats.py,sha256=qyoSKT0i7RunLDj5pMGqizK1Sp8bcqUsXwh2m4_DpR8,47203
19
19
  locust/web.py,sha256=pLYuocmx9gifJ4vsVDgGDYIPkQhQxI7kKjxoXcUajqM,31865
20
20
  locust/contrib/__init__.py,sha256=LtZN7MczpIAbZkN7PT2h8W2wgb9nBl6cDXbFCVsV4fo,290
21
21
  locust/contrib/fasthttp.py,sha256=bobc455EvX53brWPDXVy8UDITdH2YJ7iDpkSbNaZ_i8,31140
22
- locust/contrib/milvus.py,sha256=YabgLd0lImzWupJFCm0OZAW-Nxeibwn91ldWpZ2irDo,12811
22
+ locust/contrib/milvus.py,sha256=ebOIVo6-rO3hnAMPKzMyof5MQd7kxOZFMkBNZYOluYk,13015
23
23
  locust/contrib/mongodb.py,sha256=1seUYgJOaNKwybYOP9PUEVhgl8hGy-G33f8lFj3R8W8,1246
24
24
  locust/contrib/mqtt.py,sha256=qwhM7xVYCBYifUSSxG_xH6rh5jUf6l17Rw_T5e0ZJK4,15800
25
25
  locust/contrib/oai.py,sha256=Ot3T8lp31ThckGbNps86oVvq6Vn845Eec0mxhDmONDE,2684
@@ -57,8 +57,8 @@ locust/webui/dist/assets/terminal.gif,sha256=iw80LO2u0dnf4wpGfFJZauBeKTcSpw9iUfI
57
57
  locust/webui/dist/assets/testruns-dark.png,sha256=G4p2VZSBuuqF4neqUaPSshIp5OKQJ_Bvb69Luj6XuVs,125231
58
58
  locust/webui/dist/assets/testruns-light.png,sha256=JinGDiiBPOkhpfF-XCbmQqhRInqItrjrBTLKt5MlqVI,130301
59
59
  pytest_locust/plugin.py,sha256=3jr_5H_1SHCJTdQdgnTDJ-09r5jXzNKxJPkocfE9HF4,1669
60
- locust-2.41.2.dev9.dist-info/METADATA,sha256=7YnATBw_q7iagJ35qYYHyPvWcv_o0ZqSAnlEw4ib9dY,9585
61
- locust-2.41.2.dev9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
62
- locust-2.41.2.dev9.dist-info/entry_points.txt,sha256=0uIHcQ71R1qaWhM_sd8uBUCCJgp7gJfGHUVMnJeZfcY,86
63
- locust-2.41.2.dev9.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
64
- locust-2.41.2.dev9.dist-info/RECORD,,
60
+ locust-2.41.3.dev2.dist-info/METADATA,sha256=9TCV81186u4im07BPQHS-yuxFLMTnKceog5_2ewUeoQ,9585
61
+ locust-2.41.3.dev2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
62
+ locust-2.41.3.dev2.dist-info/entry_points.txt,sha256=0uIHcQ71R1qaWhM_sd8uBUCCJgp7gJfGHUVMnJeZfcY,86
63
+ locust-2.41.3.dev2.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
64
+ locust-2.41.3.dev2.dist-info/RECORD,,