lucius-mcp 0.2.2__py3-none-any.whl → 0.3.0__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.
Files changed (38) hide show
  1. {lucius_mcp-0.2.2.dist-info → lucius_mcp-0.3.0.dist-info}/METADATA +8 -1
  2. {lucius_mcp-0.2.2.dist-info → lucius_mcp-0.3.0.dist-info}/RECORD +38 -19
  3. src/client/__init__.py +10 -0
  4. src/client/client.py +289 -8
  5. src/client/generated/README.md +11 -0
  6. src/client/generated/__init__.py +4 -0
  7. src/client/generated/api/__init__.py +2 -0
  8. src/client/generated/api/test_layer_controller_api.py +1746 -0
  9. src/client/generated/api/test_layer_schema_controller_api.py +1415 -0
  10. src/client/generated/docs/TestLayerControllerApi.md +407 -0
  11. src/client/generated/docs/TestLayerSchemaControllerApi.md +350 -0
  12. src/client/overridden/test_case_custom_fields_v2.py +254 -0
  13. src/services/__init__.py +8 -0
  14. src/services/launch_service.py +278 -0
  15. src/services/search_service.py +1 -1
  16. src/services/test_case_service.py +512 -92
  17. src/services/test_layer_service.py +416 -0
  18. src/tools/__init__.py +35 -0
  19. src/tools/create_test_case.py +38 -19
  20. src/tools/create_test_layer.py +33 -0
  21. src/tools/create_test_layer_schema.py +39 -0
  22. src/tools/delete_test_layer.py +31 -0
  23. src/tools/delete_test_layer_schema.py +31 -0
  24. src/tools/get_custom_fields.py +2 -1
  25. src/tools/get_test_case_custom_fields.py +34 -0
  26. src/tools/launches.py +112 -0
  27. src/tools/list_test_layer_schemas.py +43 -0
  28. src/tools/list_test_layers.py +38 -0
  29. src/tools/search.py +6 -3
  30. src/tools/test_layers.py +21 -0
  31. src/tools/update_test_case.py +48 -23
  32. src/tools/update_test_layer.py +33 -0
  33. src/tools/update_test_layer_schema.py +40 -0
  34. src/utils/__init__.py +4 -0
  35. src/utils/links.py +13 -0
  36. {lucius_mcp-0.2.2.dist-info → lucius_mcp-0.3.0.dist-info}/WHEEL +0 -0
  37. {lucius_mcp-0.2.2.dist-info → lucius_mcp-0.3.0.dist-info}/entry_points.txt +0 -0
  38. {lucius_mcp-0.2.2.dist-info → lucius_mcp-0.3.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,407 @@
1
+ # src.client.generated.TestLayerControllerApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create9**](TestLayerControllerApi.md#create9) | **POST** /api/testlayer |
8
+ [**delete9**](TestLayerControllerApi.md#delete9) | **DELETE** /api/testlayer/{id} |
9
+ [**find_all7**](TestLayerControllerApi.md#find_all7) | **GET** /api/testlayer |
10
+ [**find_one8**](TestLayerControllerApi.md#find_one8) | **GET** /api/testlayer/{id} |
11
+ [**patch9**](TestLayerControllerApi.md#patch9) | **PATCH** /api/testlayer/{id} |
12
+ [**suggest4**](TestLayerControllerApi.md#suggest4) | **GET** /api/testlayer/suggest |
13
+
14
+
15
+ # **create9**
16
+ > TestLayerDto create9(test_layer_create_dto)
17
+
18
+ ### Example
19
+
20
+
21
+ ```python
22
+ import src.client.generated
23
+ from src.client.generated.models.test_layer_create_dto import TestLayerCreateDto
24
+ from src.client.generated.models.test_layer_dto import TestLayerDto
25
+ from src.client.generated.rest import ApiException
26
+ from pprint import pprint
27
+
28
+ # Defining the host is optional and defaults to http://localhost
29
+ # See configuration.py for a list of all supported configuration parameters.
30
+ configuration = src.client.generated.Configuration(
31
+ host = "http://localhost"
32
+ )
33
+
34
+
35
+ # Enter a context with an instance of the API client
36
+ async with src.client.generated.ApiClient(configuration) as api_client:
37
+ # Create an instance of the API class
38
+ api_instance = src.client.generated.TestLayerControllerApi(api_client)
39
+ test_layer_create_dto = src.client.generated.TestLayerCreateDto() # TestLayerCreateDto |
40
+
41
+ try:
42
+ api_response = await api_instance.create9(test_layer_create_dto)
43
+ print("The response of TestLayerControllerApi->create9:\n")
44
+ pprint(api_response)
45
+ except Exception as e:
46
+ print("Exception when calling TestLayerControllerApi->create9: %s\n" % e)
47
+ ```
48
+
49
+
50
+
51
+ ### Parameters
52
+
53
+
54
+ Name | Type | Description | Notes
55
+ ------------- | ------------- | ------------- | -------------
56
+ **test_layer_create_dto** | [**TestLayerCreateDto**](TestLayerCreateDto.md)| |
57
+
58
+ ### Return type
59
+
60
+ [**TestLayerDto**](TestLayerDto.md)
61
+
62
+ ### Authorization
63
+
64
+ No authorization required
65
+
66
+ ### HTTP request headers
67
+
68
+ - **Content-Type**: application/json
69
+ - **Accept**: */*
70
+
71
+ ### HTTP response details
72
+
73
+ | Status code | Description | Response headers |
74
+ |-------------|-------------|------------------|
75
+ **200** | OK | - |
76
+
77
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
78
+
79
+ # **delete9**
80
+ > delete9(id)
81
+
82
+ ### Example
83
+
84
+
85
+ ```python
86
+ import src.client.generated
87
+ from src.client.generated.rest import ApiException
88
+ from pprint import pprint
89
+
90
+ # Defining the host is optional and defaults to http://localhost
91
+ # See configuration.py for a list of all supported configuration parameters.
92
+ configuration = src.client.generated.Configuration(
93
+ host = "http://localhost"
94
+ )
95
+
96
+
97
+ # Enter a context with an instance of the API client
98
+ async with src.client.generated.ApiClient(configuration) as api_client:
99
+ # Create an instance of the API class
100
+ api_instance = src.client.generated.TestLayerControllerApi(api_client)
101
+ id = 56 # int |
102
+
103
+ try:
104
+ await api_instance.delete9(id)
105
+ except Exception as e:
106
+ print("Exception when calling TestLayerControllerApi->delete9: %s\n" % e)
107
+ ```
108
+
109
+
110
+
111
+ ### Parameters
112
+
113
+
114
+ Name | Type | Description | Notes
115
+ ------------- | ------------- | ------------- | -------------
116
+ **id** | **int**| |
117
+
118
+ ### Return type
119
+
120
+ void (empty response body)
121
+
122
+ ### Authorization
123
+
124
+ No authorization required
125
+
126
+ ### HTTP request headers
127
+
128
+ - **Content-Type**: Not defined
129
+ - **Accept**: Not defined
130
+
131
+ ### HTTP response details
132
+
133
+ | Status code | Description | Response headers |
134
+ |-------------|-------------|------------------|
135
+ **204** | No Content | - |
136
+
137
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
138
+
139
+ # **find_all7**
140
+ > PageTestLayerDto find_all7(page=page, size=size, sort=sort)
141
+
142
+ ### Example
143
+
144
+
145
+ ```python
146
+ import src.client.generated
147
+ from src.client.generated.models.page_test_layer_dto import PageTestLayerDto
148
+ from src.client.generated.rest import ApiException
149
+ from pprint import pprint
150
+
151
+ # Defining the host is optional and defaults to http://localhost
152
+ # See configuration.py for a list of all supported configuration parameters.
153
+ configuration = src.client.generated.Configuration(
154
+ host = "http://localhost"
155
+ )
156
+
157
+
158
+ # Enter a context with an instance of the API client
159
+ async with src.client.generated.ApiClient(configuration) as api_client:
160
+ # Create an instance of the API class
161
+ api_instance = src.client.generated.TestLayerControllerApi(api_client)
162
+ page = 0 # int | Zero-based page index (0..N) (optional) (default to 0)
163
+ size = 10 # int | The size of the page to be returned (optional) (default to 10)
164
+ sort = [id,ASC] # List[str] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to [id,ASC])
165
+
166
+ try:
167
+ api_response = await api_instance.find_all7(page=page, size=size, sort=sort)
168
+ print("The response of TestLayerControllerApi->find_all7:\n")
169
+ pprint(api_response)
170
+ except Exception as e:
171
+ print("Exception when calling TestLayerControllerApi->find_all7: %s\n" % e)
172
+ ```
173
+
174
+
175
+
176
+ ### Parameters
177
+
178
+
179
+ Name | Type | Description | Notes
180
+ ------------- | ------------- | ------------- | -------------
181
+ **page** | **int**| Zero-based page index (0..N) | [optional] [default to 0]
182
+ **size** | **int**| The size of the page to be returned | [optional] [default to 10]
183
+ **sort** | [**List[str]**](str.md)| Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] [default to [id,ASC]]
184
+
185
+ ### Return type
186
+
187
+ [**PageTestLayerDto**](PageTestLayerDto.md)
188
+
189
+ ### Authorization
190
+
191
+ No authorization required
192
+
193
+ ### HTTP request headers
194
+
195
+ - **Content-Type**: Not defined
196
+ - **Accept**: */*
197
+
198
+ ### HTTP response details
199
+
200
+ | Status code | Description | Response headers |
201
+ |-------------|-------------|------------------|
202
+ **200** | OK | - |
203
+
204
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
205
+
206
+ # **find_one8**
207
+ > TestLayerDto find_one8(id)
208
+
209
+ ### Example
210
+
211
+
212
+ ```python
213
+ import src.client.generated
214
+ from src.client.generated.models.test_layer_dto import TestLayerDto
215
+ from src.client.generated.rest import ApiException
216
+ from pprint import pprint
217
+
218
+ # Defining the host is optional and defaults to http://localhost
219
+ # See configuration.py for a list of all supported configuration parameters.
220
+ configuration = src.client.generated.Configuration(
221
+ host = "http://localhost"
222
+ )
223
+
224
+
225
+ # Enter a context with an instance of the API client
226
+ async with src.client.generated.ApiClient(configuration) as api_client:
227
+ # Create an instance of the API class
228
+ api_instance = src.client.generated.TestLayerControllerApi(api_client)
229
+ id = 56 # int |
230
+
231
+ try:
232
+ api_response = await api_instance.find_one8(id)
233
+ print("The response of TestLayerControllerApi->find_one8:\n")
234
+ pprint(api_response)
235
+ except Exception as e:
236
+ print("Exception when calling TestLayerControllerApi->find_one8: %s\n" % e)
237
+ ```
238
+
239
+
240
+
241
+ ### Parameters
242
+
243
+
244
+ Name | Type | Description | Notes
245
+ ------------- | ------------- | ------------- | -------------
246
+ **id** | **int**| |
247
+
248
+ ### Return type
249
+
250
+ [**TestLayerDto**](TestLayerDto.md)
251
+
252
+ ### Authorization
253
+
254
+ No authorization required
255
+
256
+ ### HTTP request headers
257
+
258
+ - **Content-Type**: Not defined
259
+ - **Accept**: */*
260
+
261
+ ### HTTP response details
262
+
263
+ | Status code | Description | Response headers |
264
+ |-------------|-------------|------------------|
265
+ **200** | OK | - |
266
+
267
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
268
+
269
+ # **patch9**
270
+ > TestLayerDto patch9(id, test_layer_patch_dto)
271
+
272
+ ### Example
273
+
274
+
275
+ ```python
276
+ import src.client.generated
277
+ from src.client.generated.models.test_layer_dto import TestLayerDto
278
+ from src.client.generated.models.test_layer_patch_dto import TestLayerPatchDto
279
+ from src.client.generated.rest import ApiException
280
+ from pprint import pprint
281
+
282
+ # Defining the host is optional and defaults to http://localhost
283
+ # See configuration.py for a list of all supported configuration parameters.
284
+ configuration = src.client.generated.Configuration(
285
+ host = "http://localhost"
286
+ )
287
+
288
+
289
+ # Enter a context with an instance of the API client
290
+ async with src.client.generated.ApiClient(configuration) as api_client:
291
+ # Create an instance of the API class
292
+ api_instance = src.client.generated.TestLayerControllerApi(api_client)
293
+ id = 56 # int |
294
+ test_layer_patch_dto = src.client.generated.TestLayerPatchDto() # TestLayerPatchDto |
295
+
296
+ try:
297
+ api_response = await api_instance.patch9(id, test_layer_patch_dto)
298
+ print("The response of TestLayerControllerApi->patch9:\n")
299
+ pprint(api_response)
300
+ except Exception as e:
301
+ print("Exception when calling TestLayerControllerApi->patch9: %s\n" % e)
302
+ ```
303
+
304
+
305
+
306
+ ### Parameters
307
+
308
+
309
+ Name | Type | Description | Notes
310
+ ------------- | ------------- | ------------- | -------------
311
+ **id** | **int**| |
312
+ **test_layer_patch_dto** | [**TestLayerPatchDto**](TestLayerPatchDto.md)| |
313
+
314
+ ### Return type
315
+
316
+ [**TestLayerDto**](TestLayerDto.md)
317
+
318
+ ### Authorization
319
+
320
+ No authorization required
321
+
322
+ ### HTTP request headers
323
+
324
+ - **Content-Type**: application/json
325
+ - **Accept**: */*
326
+
327
+ ### HTTP response details
328
+
329
+ | Status code | Description | Response headers |
330
+ |-------------|-------------|------------------|
331
+ **200** | OK | - |
332
+
333
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
334
+
335
+ # **suggest4**
336
+ > PageIdAndNameOnlyDto suggest4(query=query, id=id, ignore_id=ignore_id, page=page, size=size, sort=sort)
337
+
338
+ ### Example
339
+
340
+
341
+ ```python
342
+ import src.client.generated
343
+ from src.client.generated.models.page_id_and_name_only_dto import PageIdAndNameOnlyDto
344
+ from src.client.generated.rest import ApiException
345
+ from pprint import pprint
346
+
347
+ # Defining the host is optional and defaults to http://localhost
348
+ # See configuration.py for a list of all supported configuration parameters.
349
+ configuration = src.client.generated.Configuration(
350
+ host = "http://localhost"
351
+ )
352
+
353
+
354
+ # Enter a context with an instance of the API client
355
+ async with src.client.generated.ApiClient(configuration) as api_client:
356
+ # Create an instance of the API class
357
+ api_instance = src.client.generated.TestLayerControllerApi(api_client)
358
+ query = 'query_example' # str | (optional)
359
+ id = [56] # List[int] | (optional)
360
+ ignore_id = [56] # List[int] | (optional)
361
+ page = 0 # int | Zero-based page index (0..N) (optional) (default to 0)
362
+ size = 10 # int | The size of the page to be returned (optional) (default to 10)
363
+ sort = [name,ASC] # List[str] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to [name,ASC])
364
+
365
+ try:
366
+ api_response = await api_instance.suggest4(query=query, id=id, ignore_id=ignore_id, page=page, size=size, sort=sort)
367
+ print("The response of TestLayerControllerApi->suggest4:\n")
368
+ pprint(api_response)
369
+ except Exception as e:
370
+ print("Exception when calling TestLayerControllerApi->suggest4: %s\n" % e)
371
+ ```
372
+
373
+
374
+
375
+ ### Parameters
376
+
377
+
378
+ Name | Type | Description | Notes
379
+ ------------- | ------------- | ------------- | -------------
380
+ **query** | **str**| | [optional]
381
+ **id** | [**List[int]**](int.md)| | [optional]
382
+ **ignore_id** | [**List[int]**](int.md)| | [optional]
383
+ **page** | **int**| Zero-based page index (0..N) | [optional] [default to 0]
384
+ **size** | **int**| The size of the page to be returned | [optional] [default to 10]
385
+ **sort** | [**List[str]**](str.md)| Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] [default to [name,ASC]]
386
+
387
+ ### Return type
388
+
389
+ [**PageIdAndNameOnlyDto**](PageIdAndNameOnlyDto.md)
390
+
391
+ ### Authorization
392
+
393
+ No authorization required
394
+
395
+ ### HTTP request headers
396
+
397
+ - **Content-Type**: Not defined
398
+ - **Accept**: */*
399
+
400
+ ### HTTP response details
401
+
402
+ | Status code | Description | Response headers |
403
+ |-------------|-------------|------------------|
404
+ **200** | OK | - |
405
+
406
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
407
+