lucius-mcp 0.1.0__py3-none-any.whl → 0.2.2__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 (31) hide show
  1. {lucius_mcp-0.1.0.dist-info → lucius_mcp-0.2.2.dist-info}/METADATA +23 -2
  2. {lucius_mcp-0.1.0.dist-info → lucius_mcp-0.2.2.dist-info}/RECORD +29 -14
  3. src/client/client.py +105 -0
  4. src/client/generated/README.md +65 -7
  5. src/client/generated/__init__.py +16 -0
  6. src/client/generated/api/__init__.py +8 -0
  7. src/client/generated/api/custom_field_controller_api.py +2617 -0
  8. src/client/generated/api/custom_field_project_controller_api.py +2337 -0
  9. src/client/generated/api/custom_field_project_controller_v2_api.py +659 -0
  10. src/client/generated/api/custom_field_schema_controller_api.py +1710 -0
  11. src/client/generated/api/custom_field_value_controller_api.py +3106 -0
  12. src/client/generated/api/custom_field_value_project_controller_api.py +1835 -0
  13. src/client/generated/api/project_controller_api.py +2986 -0
  14. src/client/generated/api/status_controller_api.py +1780 -0
  15. src/client/generated/docs/CustomFieldControllerApi.md +616 -0
  16. src/client/generated/docs/CustomFieldProjectControllerApi.md +554 -0
  17. src/client/generated/docs/CustomFieldProjectControllerV2Api.md +149 -0
  18. src/client/generated/docs/CustomFieldSchemaControllerApi.md +421 -0
  19. src/client/generated/docs/CustomFieldValueControllerApi.md +723 -0
  20. src/client/generated/docs/CustomFieldValueProjectControllerApi.md +430 -0
  21. src/client/generated/docs/LaunchControllerApi.md +2 -2
  22. src/client/generated/docs/ProjectControllerApi.md +717 -0
  23. src/client/generated/docs/StatusControllerApi.md +429 -0
  24. src/services/test_case_service.py +92 -33
  25. src/tools/__init__.py +3 -0
  26. src/tools/get_custom_fields.py +48 -0
  27. src/client/refactor-hotspots.md +0 -53
  28. src/client/refactor-plan.md +0 -78
  29. {lucius_mcp-0.1.0.dist-info → lucius_mcp-0.2.2.dist-info}/WHEEL +0 -0
  30. {lucius_mcp-0.1.0.dist-info → lucius_mcp-0.2.2.dist-info}/entry_points.txt +0 -0
  31. {lucius_mcp-0.1.0.dist-info → lucius_mcp-0.2.2.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,430 @@
1
+ # src.client.generated.CustomFieldValueProjectControllerApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create26**](CustomFieldValueProjectControllerApi.md#create26) | **POST** /api/project/{projectId}/cfv | Create a new custom field value for specified project
8
+ [**delete47**](CustomFieldValueProjectControllerApi.md#delete47) | **DELETE** /api/project/{projectId}/cfv/{id} | Delete specified custom field value for specified project
9
+ [**find_all22**](CustomFieldValueProjectControllerApi.md#find_all22) | **GET** /api/project/{projectId}/cfv | Find all custom field values for specified project
10
+ [**merge_custom_fields_to_existing_record**](CustomFieldValueProjectControllerApi.md#merge_custom_fields_to_existing_record) | **POST** /api/project/{projectId}/cfv/merge-to/{toCfvId} | Merge custom field values to existing record by id
11
+ [**merge_custom_fields_to_new_record**](CustomFieldValueProjectControllerApi.md#merge_custom_fields_to_new_record) | **POST** /api/project/{projectId}/cfv/merge | Merge custom field values to new record
12
+ [**patch23**](CustomFieldValueProjectControllerApi.md#patch23) | **PATCH** /api/project/{projectId}/cfv/{cfvId} | Patch specified custom field value, test results won't be affected
13
+
14
+
15
+ # **create26**
16
+ > CustomFieldValueWithCfDto create26(project_id, custom_field_value_project_create_dto)
17
+
18
+ Create a new custom field value for specified project
19
+
20
+ ### Example
21
+
22
+
23
+ ```python
24
+ import src.client.generated
25
+ from src.client.generated.models.custom_field_value_project_create_dto import CustomFieldValueProjectCreateDto
26
+ from src.client.generated.models.custom_field_value_with_cf_dto import CustomFieldValueWithCfDto
27
+ from src.client.generated.rest import ApiException
28
+ from pprint import pprint
29
+
30
+ # Defining the host is optional and defaults to http://localhost
31
+ # See configuration.py for a list of all supported configuration parameters.
32
+ configuration = src.client.generated.Configuration(
33
+ host = "http://localhost"
34
+ )
35
+
36
+
37
+ # Enter a context with an instance of the API client
38
+ async with src.client.generated.ApiClient(configuration) as api_client:
39
+ # Create an instance of the API class
40
+ api_instance = src.client.generated.CustomFieldValueProjectControllerApi(api_client)
41
+ project_id = 56 # int |
42
+ custom_field_value_project_create_dto = src.client.generated.CustomFieldValueProjectCreateDto() # CustomFieldValueProjectCreateDto |
43
+
44
+ try:
45
+ # Create a new custom field value for specified project
46
+ api_response = await api_instance.create26(project_id, custom_field_value_project_create_dto)
47
+ print("The response of CustomFieldValueProjectControllerApi->create26:\n")
48
+ pprint(api_response)
49
+ except Exception as e:
50
+ print("Exception when calling CustomFieldValueProjectControllerApi->create26: %s\n" % e)
51
+ ```
52
+
53
+
54
+
55
+ ### Parameters
56
+
57
+
58
+ Name | Type | Description | Notes
59
+ ------------- | ------------- | ------------- | -------------
60
+ **project_id** | **int**| |
61
+ **custom_field_value_project_create_dto** | [**CustomFieldValueProjectCreateDto**](CustomFieldValueProjectCreateDto.md)| |
62
+
63
+ ### Return type
64
+
65
+ [**CustomFieldValueWithCfDto**](CustomFieldValueWithCfDto.md)
66
+
67
+ ### Authorization
68
+
69
+ No authorization required
70
+
71
+ ### HTTP request headers
72
+
73
+ - **Content-Type**: application/json
74
+ - **Accept**: */*
75
+
76
+ ### HTTP response details
77
+
78
+ | Status code | Description | Response headers |
79
+ |-------------|-------------|------------------|
80
+ **200** | OK | - |
81
+
82
+ [[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)
83
+
84
+ # **delete47**
85
+ > delete47(project_id, id)
86
+
87
+ Delete specified custom field value for specified project
88
+
89
+ ### Example
90
+
91
+
92
+ ```python
93
+ import src.client.generated
94
+ from src.client.generated.rest import ApiException
95
+ from pprint import pprint
96
+
97
+ # Defining the host is optional and defaults to http://localhost
98
+ # See configuration.py for a list of all supported configuration parameters.
99
+ configuration = src.client.generated.Configuration(
100
+ host = "http://localhost"
101
+ )
102
+
103
+
104
+ # Enter a context with an instance of the API client
105
+ async with src.client.generated.ApiClient(configuration) as api_client:
106
+ # Create an instance of the API class
107
+ api_instance = src.client.generated.CustomFieldValueProjectControllerApi(api_client)
108
+ project_id = 56 # int |
109
+ id = 56 # int |
110
+
111
+ try:
112
+ # Delete specified custom field value for specified project
113
+ await api_instance.delete47(project_id, id)
114
+ except Exception as e:
115
+ print("Exception when calling CustomFieldValueProjectControllerApi->delete47: %s\n" % e)
116
+ ```
117
+
118
+
119
+
120
+ ### Parameters
121
+
122
+
123
+ Name | Type | Description | Notes
124
+ ------------- | ------------- | ------------- | -------------
125
+ **project_id** | **int**| |
126
+ **id** | **int**| |
127
+
128
+ ### Return type
129
+
130
+ void (empty response body)
131
+
132
+ ### Authorization
133
+
134
+ No authorization required
135
+
136
+ ### HTTP request headers
137
+
138
+ - **Content-Type**: Not defined
139
+ - **Accept**: Not defined
140
+
141
+ ### HTTP response details
142
+
143
+ | Status code | Description | Response headers |
144
+ |-------------|-------------|------------------|
145
+ **204** | No Content | - |
146
+
147
+ [[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)
148
+
149
+ # **find_all22**
150
+ > PageCustomFieldValueWithTcCountDto find_all22(project_id, custom_field_id, query=query, var_global=var_global, test_case_search=test_case_search, page=page, size=size, sort=sort)
151
+
152
+ Find all custom field values for specified project
153
+
154
+ ### Example
155
+
156
+
157
+ ```python
158
+ import src.client.generated
159
+ from src.client.generated.models.page_custom_field_value_with_tc_count_dto import PageCustomFieldValueWithTcCountDto
160
+ from src.client.generated.rest import ApiException
161
+ from pprint import pprint
162
+
163
+ # Defining the host is optional and defaults to http://localhost
164
+ # See configuration.py for a list of all supported configuration parameters.
165
+ configuration = src.client.generated.Configuration(
166
+ host = "http://localhost"
167
+ )
168
+
169
+
170
+ # Enter a context with an instance of the API client
171
+ async with src.client.generated.ApiClient(configuration) as api_client:
172
+ # Create an instance of the API class
173
+ api_instance = src.client.generated.CustomFieldValueProjectControllerApi(api_client)
174
+ project_id = 56 # int |
175
+ custom_field_id = 56 # int |
176
+ query = 'query_example' # str | (optional)
177
+ var_global = True # bool | (optional)
178
+ test_case_search = 'test_case_search_example' # str | (optional)
179
+ page = 0 # int | Zero-based page index (0..N) (optional) (default to 0)
180
+ size = 10 # int | The size of the page to be returned (optional) (default to 10)
181
+ 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])
182
+
183
+ try:
184
+ # Find all custom field values for specified project
185
+ api_response = await api_instance.find_all22(project_id, custom_field_id, query=query, var_global=var_global, test_case_search=test_case_search, page=page, size=size, sort=sort)
186
+ print("The response of CustomFieldValueProjectControllerApi->find_all22:\n")
187
+ pprint(api_response)
188
+ except Exception as e:
189
+ print("Exception when calling CustomFieldValueProjectControllerApi->find_all22: %s\n" % e)
190
+ ```
191
+
192
+
193
+
194
+ ### Parameters
195
+
196
+
197
+ Name | Type | Description | Notes
198
+ ------------- | ------------- | ------------- | -------------
199
+ **project_id** | **int**| |
200
+ **custom_field_id** | **int**| |
201
+ **query** | **str**| | [optional]
202
+ **var_global** | **bool**| | [optional]
203
+ **test_case_search** | **str**| | [optional]
204
+ **page** | **int**| Zero-based page index (0..N) | [optional] [default to 0]
205
+ **size** | **int**| The size of the page to be returned | [optional] [default to 10]
206
+ **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]]
207
+
208
+ ### Return type
209
+
210
+ [**PageCustomFieldValueWithTcCountDto**](PageCustomFieldValueWithTcCountDto.md)
211
+
212
+ ### Authorization
213
+
214
+ No authorization required
215
+
216
+ ### HTTP request headers
217
+
218
+ - **Content-Type**: Not defined
219
+ - **Accept**: */*
220
+
221
+ ### HTTP response details
222
+
223
+ | Status code | Description | Response headers |
224
+ |-------------|-------------|------------------|
225
+ **200** | OK | - |
226
+
227
+ [[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)
228
+
229
+ # **merge_custom_fields_to_existing_record**
230
+ > merge_custom_fields_to_existing_record(project_id, to_cfv_id, custom_field_value_project_merge_by_id_dto)
231
+
232
+ Merge custom field values to existing record by id
233
+
234
+ ### Example
235
+
236
+
237
+ ```python
238
+ import src.client.generated
239
+ from src.client.generated.models.custom_field_value_project_merge_by_id_dto import CustomFieldValueProjectMergeByIdDto
240
+ from src.client.generated.rest import ApiException
241
+ from pprint import pprint
242
+
243
+ # Defining the host is optional and defaults to http://localhost
244
+ # See configuration.py for a list of all supported configuration parameters.
245
+ configuration = src.client.generated.Configuration(
246
+ host = "http://localhost"
247
+ )
248
+
249
+
250
+ # Enter a context with an instance of the API client
251
+ async with src.client.generated.ApiClient(configuration) as api_client:
252
+ # Create an instance of the API class
253
+ api_instance = src.client.generated.CustomFieldValueProjectControllerApi(api_client)
254
+ project_id = 56 # int |
255
+ to_cfv_id = 56 # int |
256
+ custom_field_value_project_merge_by_id_dto = src.client.generated.CustomFieldValueProjectMergeByIdDto() # CustomFieldValueProjectMergeByIdDto |
257
+
258
+ try:
259
+ # Merge custom field values to existing record by id
260
+ await api_instance.merge_custom_fields_to_existing_record(project_id, to_cfv_id, custom_field_value_project_merge_by_id_dto)
261
+ except Exception as e:
262
+ print("Exception when calling CustomFieldValueProjectControllerApi->merge_custom_fields_to_existing_record: %s\n" % e)
263
+ ```
264
+
265
+
266
+
267
+ ### Parameters
268
+
269
+
270
+ Name | Type | Description | Notes
271
+ ------------- | ------------- | ------------- | -------------
272
+ **project_id** | **int**| |
273
+ **to_cfv_id** | **int**| |
274
+ **custom_field_value_project_merge_by_id_dto** | [**CustomFieldValueProjectMergeByIdDto**](CustomFieldValueProjectMergeByIdDto.md)| |
275
+
276
+ ### Return type
277
+
278
+ void (empty response body)
279
+
280
+ ### Authorization
281
+
282
+ No authorization required
283
+
284
+ ### HTTP request headers
285
+
286
+ - **Content-Type**: application/json
287
+ - **Accept**: Not defined
288
+
289
+ ### HTTP response details
290
+
291
+ | Status code | Description | Response headers |
292
+ |-------------|-------------|------------------|
293
+ **204** | No Content | - |
294
+
295
+ [[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)
296
+
297
+ # **merge_custom_fields_to_new_record**
298
+ > merge_custom_fields_to_new_record(project_id, custom_field_value_project_merge_by_name_dto)
299
+
300
+ Merge custom field values to new record
301
+
302
+ ### Example
303
+
304
+
305
+ ```python
306
+ import src.client.generated
307
+ from src.client.generated.models.custom_field_value_project_merge_by_name_dto import CustomFieldValueProjectMergeByNameDto
308
+ from src.client.generated.rest import ApiException
309
+ from pprint import pprint
310
+
311
+ # Defining the host is optional and defaults to http://localhost
312
+ # See configuration.py for a list of all supported configuration parameters.
313
+ configuration = src.client.generated.Configuration(
314
+ host = "http://localhost"
315
+ )
316
+
317
+
318
+ # Enter a context with an instance of the API client
319
+ async with src.client.generated.ApiClient(configuration) as api_client:
320
+ # Create an instance of the API class
321
+ api_instance = src.client.generated.CustomFieldValueProjectControllerApi(api_client)
322
+ project_id = 56 # int |
323
+ custom_field_value_project_merge_by_name_dto = src.client.generated.CustomFieldValueProjectMergeByNameDto() # CustomFieldValueProjectMergeByNameDto |
324
+
325
+ try:
326
+ # Merge custom field values to new record
327
+ await api_instance.merge_custom_fields_to_new_record(project_id, custom_field_value_project_merge_by_name_dto)
328
+ except Exception as e:
329
+ print("Exception when calling CustomFieldValueProjectControllerApi->merge_custom_fields_to_new_record: %s\n" % e)
330
+ ```
331
+
332
+
333
+
334
+ ### Parameters
335
+
336
+
337
+ Name | Type | Description | Notes
338
+ ------------- | ------------- | ------------- | -------------
339
+ **project_id** | **int**| |
340
+ **custom_field_value_project_merge_by_name_dto** | [**CustomFieldValueProjectMergeByNameDto**](CustomFieldValueProjectMergeByNameDto.md)| |
341
+
342
+ ### Return type
343
+
344
+ void (empty response body)
345
+
346
+ ### Authorization
347
+
348
+ No authorization required
349
+
350
+ ### HTTP request headers
351
+
352
+ - **Content-Type**: application/json
353
+ - **Accept**: Not defined
354
+
355
+ ### HTTP response details
356
+
357
+ | Status code | Description | Response headers |
358
+ |-------------|-------------|------------------|
359
+ **204** | No Content | - |
360
+
361
+ [[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)
362
+
363
+ # **patch23**
364
+ > patch23(project_id, cfv_id, custom_field_value_project_patch_dto)
365
+
366
+ Patch specified custom field value, test results won't be affected
367
+
368
+ ### Example
369
+
370
+
371
+ ```python
372
+ import src.client.generated
373
+ from src.client.generated.models.custom_field_value_project_patch_dto import CustomFieldValueProjectPatchDto
374
+ from src.client.generated.rest import ApiException
375
+ from pprint import pprint
376
+
377
+ # Defining the host is optional and defaults to http://localhost
378
+ # See configuration.py for a list of all supported configuration parameters.
379
+ configuration = src.client.generated.Configuration(
380
+ host = "http://localhost"
381
+ )
382
+
383
+
384
+ # Enter a context with an instance of the API client
385
+ async with src.client.generated.ApiClient(configuration) as api_client:
386
+ # Create an instance of the API class
387
+ api_instance = src.client.generated.CustomFieldValueProjectControllerApi(api_client)
388
+ project_id = 56 # int |
389
+ cfv_id = 56 # int |
390
+ custom_field_value_project_patch_dto = src.client.generated.CustomFieldValueProjectPatchDto() # CustomFieldValueProjectPatchDto |
391
+
392
+ try:
393
+ # Patch specified custom field value, test results won't be affected
394
+ await api_instance.patch23(project_id, cfv_id, custom_field_value_project_patch_dto)
395
+ except Exception as e:
396
+ print("Exception when calling CustomFieldValueProjectControllerApi->patch23: %s\n" % e)
397
+ ```
398
+
399
+
400
+
401
+ ### Parameters
402
+
403
+
404
+ Name | Type | Description | Notes
405
+ ------------- | ------------- | ------------- | -------------
406
+ **project_id** | **int**| |
407
+ **cfv_id** | **int**| |
408
+ **custom_field_value_project_patch_dto** | [**CustomFieldValueProjectPatchDto**](CustomFieldValueProjectPatchDto.md)| |
409
+
410
+ ### Return type
411
+
412
+ void (empty response body)
413
+
414
+ ### Authorization
415
+
416
+ No authorization required
417
+
418
+ ### HTTP request headers
419
+
420
+ - **Content-Type**: application/json
421
+ - **Accept**: Not defined
422
+
423
+ ### HTTP response details
424
+
425
+ | Status code | Description | Response headers |
426
+ |-------------|-------------|------------------|
427
+ **204** | No Content | - |
428
+
429
+ [[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)
430
+
@@ -1898,7 +1898,7 @@ async with src.client.generated.ApiClient(configuration) as api_client:
1898
1898
  ignore_id = [56] # List[int] | (optional)
1899
1899
  page = 0 # int | Zero-based page index (0..N) (optional) (default to 0)
1900
1900
  size = 10 # int | The size of the page to be returned (optional) (default to 10)
1901
- 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"])
1901
+ 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])
1902
1902
 
1903
1903
  try:
1904
1904
  # Suggest for launches
@@ -1922,7 +1922,7 @@ Name | Type | Description | Notes
1922
1922
  **ignore_id** | [**List[int]**](int.md)| | [optional]
1923
1923
  **page** | **int**| Zero-based page index (0..N) | [optional] [default to 0]
1924
1924
  **size** | **int**| The size of the page to be returned | [optional] [default to 10]
1925
- **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"]]
1925
+ **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]]
1926
1926
 
1927
1927
  ### Return type
1928
1928