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