waldur-api-client 7.7.0__py3-none-any.whl → 7.7.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.
Potentially problematic release.
This version of waldur-api-client might be problematic. Click here for more details.
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_create.py +8 -4
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_destroy.py +4 -2
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_list.py +4 -4
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_partial_update.py +8 -4
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_retrieve.py +8 -4
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_update.py +8 -4
- waldur_api_client/api/marketplace_checklists/marketplace_checklists_questions_list.py +31 -32
- waldur_api_client/api/marketplace_checklists/marketplace_checklists_retrieve.py +15 -14
- waldur_api_client/api/marketplace_checklists_admin/__init__.py +1 -0
- waldur_api_client/api/marketplace_checklists_admin/marketplace_checklists_admin_checklist_questions.py +187 -0
- waldur_api_client/api/marketplace_checklists_admin/marketplace_checklists_admin_create.py +150 -0
- waldur_api_client/api/marketplace_checklists_admin/marketplace_checklists_admin_destroy.py +89 -0
- waldur_api_client/api/marketplace_checklists_admin/marketplace_checklists_admin_list.py +173 -0
- waldur_api_client/api/marketplace_checklists_admin/marketplace_checklists_admin_partial_update.py +164 -0
- waldur_api_client/api/marketplace_checklists_admin/marketplace_checklists_admin_retrieve.py +142 -0
- waldur_api_client/api/marketplace_checklists_admin/marketplace_checklists_admin_update.py +164 -0
- waldur_api_client/api/marketplace_checklists_admin_question_dependencies/__init__.py +1 -0
- waldur_api_client/api/marketplace_checklists_admin_question_dependencies/marketplace_checklists_admin_question_dependencies_create.py +150 -0
- waldur_api_client/api/marketplace_checklists_admin_question_dependencies/marketplace_checklists_admin_question_dependencies_destroy.py +89 -0
- waldur_api_client/api/marketplace_checklists_admin_question_dependencies/marketplace_checklists_admin_question_dependencies_list.py +212 -0
- waldur_api_client/api/marketplace_checklists_admin_question_dependencies/marketplace_checklists_admin_question_dependencies_partial_update.py +164 -0
- waldur_api_client/api/marketplace_checklists_admin_question_dependencies/marketplace_checklists_admin_question_dependencies_retrieve.py +142 -0
- waldur_api_client/api/marketplace_checklists_admin_question_dependencies/marketplace_checklists_admin_question_dependencies_update.py +164 -0
- waldur_api_client/api/marketplace_checklists_admin_question_options/__init__.py +1 -0
- waldur_api_client/api/marketplace_checklists_admin_question_options/marketplace_checklists_admin_question_options_create.py +150 -0
- waldur_api_client/api/marketplace_checklists_admin_question_options/marketplace_checklists_admin_question_options_destroy.py +89 -0
- waldur_api_client/api/marketplace_checklists_admin_question_options/marketplace_checklists_admin_question_options_list.py +194 -0
- waldur_api_client/api/marketplace_checklists_admin_question_options/marketplace_checklists_admin_question_options_partial_update.py +164 -0
- waldur_api_client/api/marketplace_checklists_admin_question_options/marketplace_checklists_admin_question_options_retrieve.py +142 -0
- waldur_api_client/api/marketplace_checklists_admin_question_options/marketplace_checklists_admin_question_options_update.py +164 -0
- waldur_api_client/api/marketplace_checklists_admin_questions/__init__.py +1 -0
- waldur_api_client/api/marketplace_checklists_admin_questions/marketplace_checklists_admin_questions_create.py +148 -0
- waldur_api_client/api/marketplace_checklists_admin_questions/marketplace_checklists_admin_questions_destroy.py +89 -0
- waldur_api_client/api/marketplace_checklists_admin_questions/marketplace_checklists_admin_questions_list.py +192 -0
- waldur_api_client/api/marketplace_checklists_admin_questions/marketplace_checklists_admin_questions_partial_update.py +162 -0
- waldur_api_client/api/marketplace_checklists_admin_questions/marketplace_checklists_admin_questions_retrieve.py +140 -0
- waldur_api_client/api/marketplace_checklists_admin_questions/marketplace_checklists_admin_questions_update.py +162 -0
- waldur_api_client/models/__init__.py +36 -2
- waldur_api_client/models/answer_list.py +8 -19
- waldur_api_client/models/answer_submit.py +7 -13
- waldur_api_client/models/answer_submit_request.py +7 -13
- waldur_api_client/models/booking_resource.py +18 -0
- waldur_api_client/models/booking_resources_list_field_item.py +2 -0
- waldur_api_client/models/booking_resources_retrieve_field_item.py +2 -0
- waldur_api_client/models/call_resource_template.py +23 -1
- waldur_api_client/models/checklist.py +8 -0
- waldur_api_client/models/checklist_admin.py +127 -0
- waldur_api_client/models/checklist_type_enum.py +10 -0
- waldur_api_client/models/create_checklist.py +131 -0
- waldur_api_client/models/create_checklist_request.py +90 -0
- waldur_api_client/models/group_invitation.py +16 -5
- waldur_api_client/models/group_invitation_request.py +16 -5
- waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_resources_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_resources_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_resources_retrieve_field_item.py +2 -0
- waldur_api_client/models/open_stack_floating_ip.py +21 -0
- waldur_api_client/models/open_stack_port.py +15 -4
- waldur_api_client/models/open_stack_router.py +15 -4
- waldur_api_client/models/openstack_floating_ips_list_field_item.py +1 -0
- waldur_api_client/models/openstack_floating_ips_retrieve_field_item.py +1 -0
- waldur_api_client/models/operator_enum.py +12 -0
- waldur_api_client/models/patched_create_checklist_request.py +96 -0
- waldur_api_client/models/patched_question_admin_request.py +208 -0
- waldur_api_client/models/patched_question_dependency_request.py +94 -0
- waldur_api_client/models/patched_question_options_admin_request.py +68 -0
- waldur_api_client/models/{checklist_question.py → question.py} +29 -16
- waldur_api_client/models/question_admin.py +260 -0
- waldur_api_client/models/question_admin_request.py +210 -0
- waldur_api_client/models/question_dependency.py +127 -0
- waldur_api_client/models/question_dependency_request.py +94 -0
- waldur_api_client/models/question_options.py +79 -0
- waldur_api_client/models/question_options_admin.py +103 -0
- waldur_api_client/models/question_options_admin_request.py +78 -0
- waldur_api_client/models/question_type_enum.py +15 -0
- waldur_api_client/models/resource.py +18 -0
- waldur_api_client/models/rule.py +46 -6
- {waldur_api_client-7.7.0.dist-info → waldur_api_client-7.7.2.dist-info}/METADATA +1 -1
- {waldur_api_client-7.7.0.dist-info → waldur_api_client-7.7.2.dist-info}/RECORD +83 -37
- {waldur_api_client-7.7.0.dist-info → waldur_api_client-7.7.2.dist-info}/LICENSE +0 -0
- {waldur_api_client-7.7.0.dist-info → waldur_api_client-7.7.2.dist-info}/WHEEL +0 -0
|
@@ -51,7 +51,8 @@ def sync_detailed(
|
|
|
51
51
|
client: AuthenticatedClient,
|
|
52
52
|
body: RuleRequest,
|
|
53
53
|
) -> Response[Rule]:
|
|
54
|
-
"""
|
|
54
|
+
"""Manage autoprovisioning rules.
|
|
55
|
+
|
|
55
56
|
Args:
|
|
56
57
|
body (RuleRequest):
|
|
57
58
|
|
|
@@ -79,7 +80,8 @@ def sync(
|
|
|
79
80
|
client: AuthenticatedClient,
|
|
80
81
|
body: RuleRequest,
|
|
81
82
|
) -> Rule:
|
|
82
|
-
"""
|
|
83
|
+
"""Manage autoprovisioning rules.
|
|
84
|
+
|
|
83
85
|
Args:
|
|
84
86
|
body (RuleRequest):
|
|
85
87
|
|
|
@@ -102,7 +104,8 @@ async def asyncio_detailed(
|
|
|
102
104
|
client: AuthenticatedClient,
|
|
103
105
|
body: RuleRequest,
|
|
104
106
|
) -> Response[Rule]:
|
|
105
|
-
"""
|
|
107
|
+
"""Manage autoprovisioning rules.
|
|
108
|
+
|
|
106
109
|
Args:
|
|
107
110
|
body (RuleRequest):
|
|
108
111
|
|
|
@@ -128,7 +131,8 @@ async def asyncio(
|
|
|
128
131
|
client: AuthenticatedClient,
|
|
129
132
|
body: RuleRequest,
|
|
130
133
|
) -> Rule:
|
|
131
|
-
"""
|
|
134
|
+
"""Manage autoprovisioning rules.
|
|
135
|
+
|
|
132
136
|
Args:
|
|
133
137
|
body (RuleRequest):
|
|
134
138
|
|
|
@@ -40,7 +40,8 @@ def sync_detailed(
|
|
|
40
40
|
*,
|
|
41
41
|
client: AuthenticatedClient,
|
|
42
42
|
) -> Response[Any]:
|
|
43
|
-
"""
|
|
43
|
+
"""Manage autoprovisioning rules.
|
|
44
|
+
|
|
44
45
|
Args:
|
|
45
46
|
uuid (UUID):
|
|
46
47
|
|
|
@@ -68,7 +69,8 @@ async def asyncio_detailed(
|
|
|
68
69
|
*,
|
|
69
70
|
client: AuthenticatedClient,
|
|
70
71
|
) -> Response[Any]:
|
|
71
|
-
"""
|
|
72
|
+
"""Manage autoprovisioning rules.
|
|
73
|
+
|
|
72
74
|
Args:
|
|
73
75
|
uuid (UUID):
|
|
74
76
|
|
|
@@ -59,7 +59,7 @@ def sync_detailed(
|
|
|
59
59
|
page: Union[Unset, int] = UNSET,
|
|
60
60
|
page_size: Union[Unset, int] = UNSET,
|
|
61
61
|
) -> Response[list["Rule"]]:
|
|
62
|
-
"""
|
|
62
|
+
"""Manage autoprovisioning rules.
|
|
63
63
|
|
|
64
64
|
Args:
|
|
65
65
|
page (Union[Unset, int]):
|
|
@@ -91,7 +91,7 @@ def sync(
|
|
|
91
91
|
page: Union[Unset, int] = UNSET,
|
|
92
92
|
page_size: Union[Unset, int] = UNSET,
|
|
93
93
|
) -> list["Rule"]:
|
|
94
|
-
"""
|
|
94
|
+
"""Manage autoprovisioning rules.
|
|
95
95
|
|
|
96
96
|
Args:
|
|
97
97
|
page (Union[Unset, int]):
|
|
@@ -118,7 +118,7 @@ async def asyncio_detailed(
|
|
|
118
118
|
page: Union[Unset, int] = UNSET,
|
|
119
119
|
page_size: Union[Unset, int] = UNSET,
|
|
120
120
|
) -> Response[list["Rule"]]:
|
|
121
|
-
"""
|
|
121
|
+
"""Manage autoprovisioning rules.
|
|
122
122
|
|
|
123
123
|
Args:
|
|
124
124
|
page (Union[Unset, int]):
|
|
@@ -148,7 +148,7 @@ async def asyncio(
|
|
|
148
148
|
page: Union[Unset, int] = UNSET,
|
|
149
149
|
page_size: Union[Unset, int] = UNSET,
|
|
150
150
|
) -> list["Rule"]:
|
|
151
|
-
"""
|
|
151
|
+
"""Manage autoprovisioning rules.
|
|
152
152
|
|
|
153
153
|
Args:
|
|
154
154
|
page (Union[Unset, int]):
|
|
@@ -54,7 +54,8 @@ def sync_detailed(
|
|
|
54
54
|
client: AuthenticatedClient,
|
|
55
55
|
body: PatchedRuleRequest,
|
|
56
56
|
) -> Response[Rule]:
|
|
57
|
-
"""
|
|
57
|
+
"""Manage autoprovisioning rules.
|
|
58
|
+
|
|
58
59
|
Args:
|
|
59
60
|
uuid (UUID):
|
|
60
61
|
body (PatchedRuleRequest):
|
|
@@ -85,7 +86,8 @@ def sync(
|
|
|
85
86
|
client: AuthenticatedClient,
|
|
86
87
|
body: PatchedRuleRequest,
|
|
87
88
|
) -> Rule:
|
|
88
|
-
"""
|
|
89
|
+
"""Manage autoprovisioning rules.
|
|
90
|
+
|
|
89
91
|
Args:
|
|
90
92
|
uuid (UUID):
|
|
91
93
|
body (PatchedRuleRequest):
|
|
@@ -111,7 +113,8 @@ async def asyncio_detailed(
|
|
|
111
113
|
client: AuthenticatedClient,
|
|
112
114
|
body: PatchedRuleRequest,
|
|
113
115
|
) -> Response[Rule]:
|
|
114
|
-
"""
|
|
116
|
+
"""Manage autoprovisioning rules.
|
|
117
|
+
|
|
115
118
|
Args:
|
|
116
119
|
uuid (UUID):
|
|
117
120
|
body (PatchedRuleRequest):
|
|
@@ -140,7 +143,8 @@ async def asyncio(
|
|
|
140
143
|
client: AuthenticatedClient,
|
|
141
144
|
body: PatchedRuleRequest,
|
|
142
145
|
) -> Rule:
|
|
143
|
-
"""
|
|
146
|
+
"""Manage autoprovisioning rules.
|
|
147
|
+
|
|
144
148
|
Args:
|
|
145
149
|
uuid (UUID):
|
|
146
150
|
body (PatchedRuleRequest):
|
|
@@ -43,7 +43,8 @@ def sync_detailed(
|
|
|
43
43
|
*,
|
|
44
44
|
client: AuthenticatedClient,
|
|
45
45
|
) -> Response[Rule]:
|
|
46
|
-
"""
|
|
46
|
+
"""Manage autoprovisioning rules.
|
|
47
|
+
|
|
47
48
|
Args:
|
|
48
49
|
uuid (UUID):
|
|
49
50
|
|
|
@@ -71,7 +72,8 @@ def sync(
|
|
|
71
72
|
*,
|
|
72
73
|
client: AuthenticatedClient,
|
|
73
74
|
) -> Rule:
|
|
74
|
-
"""
|
|
75
|
+
"""Manage autoprovisioning rules.
|
|
76
|
+
|
|
75
77
|
Args:
|
|
76
78
|
uuid (UUID):
|
|
77
79
|
|
|
@@ -94,7 +96,8 @@ async def asyncio_detailed(
|
|
|
94
96
|
*,
|
|
95
97
|
client: AuthenticatedClient,
|
|
96
98
|
) -> Response[Rule]:
|
|
97
|
-
"""
|
|
99
|
+
"""Manage autoprovisioning rules.
|
|
100
|
+
|
|
98
101
|
Args:
|
|
99
102
|
uuid (UUID):
|
|
100
103
|
|
|
@@ -120,7 +123,8 @@ async def asyncio(
|
|
|
120
123
|
*,
|
|
121
124
|
client: AuthenticatedClient,
|
|
122
125
|
) -> Rule:
|
|
123
|
-
"""
|
|
126
|
+
"""Manage autoprovisioning rules.
|
|
127
|
+
|
|
124
128
|
Args:
|
|
125
129
|
uuid (UUID):
|
|
126
130
|
|
|
@@ -54,7 +54,8 @@ def sync_detailed(
|
|
|
54
54
|
client: AuthenticatedClient,
|
|
55
55
|
body: RuleRequest,
|
|
56
56
|
) -> Response[Rule]:
|
|
57
|
-
"""
|
|
57
|
+
"""Manage autoprovisioning rules.
|
|
58
|
+
|
|
58
59
|
Args:
|
|
59
60
|
uuid (UUID):
|
|
60
61
|
body (RuleRequest):
|
|
@@ -85,7 +86,8 @@ def sync(
|
|
|
85
86
|
client: AuthenticatedClient,
|
|
86
87
|
body: RuleRequest,
|
|
87
88
|
) -> Rule:
|
|
88
|
-
"""
|
|
89
|
+
"""Manage autoprovisioning rules.
|
|
90
|
+
|
|
89
91
|
Args:
|
|
90
92
|
uuid (UUID):
|
|
91
93
|
body (RuleRequest):
|
|
@@ -111,7 +113,8 @@ async def asyncio_detailed(
|
|
|
111
113
|
client: AuthenticatedClient,
|
|
112
114
|
body: RuleRequest,
|
|
113
115
|
) -> Response[Rule]:
|
|
114
|
-
"""
|
|
116
|
+
"""Manage autoprovisioning rules.
|
|
117
|
+
|
|
115
118
|
Args:
|
|
116
119
|
uuid (UUID):
|
|
117
120
|
body (RuleRequest):
|
|
@@ -140,7 +143,8 @@ async def asyncio(
|
|
|
140
143
|
client: AuthenticatedClient,
|
|
141
144
|
body: RuleRequest,
|
|
142
145
|
) -> Rule:
|
|
143
|
-
"""
|
|
146
|
+
"""Manage autoprovisioning rules.
|
|
147
|
+
|
|
144
148
|
Args:
|
|
145
149
|
uuid (UUID):
|
|
146
150
|
body (RuleRequest):
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
2
|
from typing import Any, Union
|
|
3
|
+
from uuid import UUID
|
|
3
4
|
|
|
4
5
|
import httpx
|
|
5
6
|
|
|
6
7
|
from ... import errors
|
|
7
8
|
from ...client import AuthenticatedClient, Client
|
|
8
|
-
from ...models.
|
|
9
|
+
from ...models.question import Question
|
|
9
10
|
from ...types import UNSET, Response, Unset
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
def _get_kwargs(
|
|
13
|
-
|
|
14
|
+
uuid: UUID,
|
|
14
15
|
*,
|
|
15
16
|
page: Union[Unset, int] = UNSET,
|
|
16
17
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -25,21 +26,19 @@ def _get_kwargs(
|
|
|
25
26
|
|
|
26
27
|
_kwargs: dict[str, Any] = {
|
|
27
28
|
"method": "get",
|
|
28
|
-
"url": f"/api/marketplace-checklists/{
|
|
29
|
+
"url": f"/api/marketplace-checklists/{uuid}/questions/",
|
|
29
30
|
"params": params,
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
return _kwargs
|
|
33
34
|
|
|
34
35
|
|
|
35
|
-
def _parse_response(
|
|
36
|
-
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
37
|
-
) -> list["ChecklistQuestion"]:
|
|
36
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> list["Question"]:
|
|
38
37
|
if response.status_code == 200:
|
|
39
38
|
response_200 = []
|
|
40
39
|
_response_200 = response.json()
|
|
41
40
|
for response_200_item_data in _response_200:
|
|
42
|
-
response_200_item =
|
|
41
|
+
response_200_item = Question.from_dict(response_200_item_data)
|
|
43
42
|
|
|
44
43
|
response_200.append(response_200_item)
|
|
45
44
|
|
|
@@ -49,7 +48,7 @@ def _parse_response(
|
|
|
49
48
|
|
|
50
49
|
def _build_response(
|
|
51
50
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
52
|
-
) -> Response[list["
|
|
51
|
+
) -> Response[list["Question"]]:
|
|
53
52
|
return Response(
|
|
54
53
|
status_code=HTTPStatus(response.status_code),
|
|
55
54
|
content=response.content,
|
|
@@ -59,16 +58,16 @@ def _build_response(
|
|
|
59
58
|
|
|
60
59
|
|
|
61
60
|
def sync_detailed(
|
|
62
|
-
|
|
61
|
+
uuid: UUID,
|
|
63
62
|
*,
|
|
64
63
|
client: AuthenticatedClient,
|
|
65
64
|
page: Union[Unset, int] = UNSET,
|
|
66
65
|
page_size: Union[Unset, int] = UNSET,
|
|
67
|
-
) -> Response[list["
|
|
68
|
-
"""
|
|
66
|
+
) -> Response[list["Question"]]:
|
|
67
|
+
"""Return questions available for current user.
|
|
69
68
|
|
|
70
69
|
Args:
|
|
71
|
-
|
|
70
|
+
uuid (UUID):
|
|
72
71
|
page (Union[Unset, int]):
|
|
73
72
|
page_size (Union[Unset, int]):
|
|
74
73
|
|
|
@@ -77,11 +76,11 @@ def sync_detailed(
|
|
|
77
76
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
78
77
|
|
|
79
78
|
Returns:
|
|
80
|
-
Response[list['
|
|
79
|
+
Response[list['Question']]
|
|
81
80
|
"""
|
|
82
81
|
|
|
83
82
|
kwargs = _get_kwargs(
|
|
84
|
-
|
|
83
|
+
uuid=uuid,
|
|
85
84
|
page=page,
|
|
86
85
|
page_size=page_size,
|
|
87
86
|
)
|
|
@@ -94,16 +93,16 @@ def sync_detailed(
|
|
|
94
93
|
|
|
95
94
|
|
|
96
95
|
def sync(
|
|
97
|
-
|
|
96
|
+
uuid: UUID,
|
|
98
97
|
*,
|
|
99
98
|
client: AuthenticatedClient,
|
|
100
99
|
page: Union[Unset, int] = UNSET,
|
|
101
100
|
page_size: Union[Unset, int] = UNSET,
|
|
102
|
-
) -> list["
|
|
103
|
-
"""
|
|
101
|
+
) -> list["Question"]:
|
|
102
|
+
"""Return questions available for current user.
|
|
104
103
|
|
|
105
104
|
Args:
|
|
106
|
-
|
|
105
|
+
uuid (UUID):
|
|
107
106
|
page (Union[Unset, int]):
|
|
108
107
|
page_size (Union[Unset, int]):
|
|
109
108
|
|
|
@@ -112,11 +111,11 @@ def sync(
|
|
|
112
111
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
113
112
|
|
|
114
113
|
Returns:
|
|
115
|
-
list['
|
|
114
|
+
list['Question']
|
|
116
115
|
"""
|
|
117
116
|
|
|
118
117
|
return sync_detailed(
|
|
119
|
-
|
|
118
|
+
uuid=uuid,
|
|
120
119
|
client=client,
|
|
121
120
|
page=page,
|
|
122
121
|
page_size=page_size,
|
|
@@ -124,16 +123,16 @@ def sync(
|
|
|
124
123
|
|
|
125
124
|
|
|
126
125
|
async def asyncio_detailed(
|
|
127
|
-
|
|
126
|
+
uuid: UUID,
|
|
128
127
|
*,
|
|
129
128
|
client: AuthenticatedClient,
|
|
130
129
|
page: Union[Unset, int] = UNSET,
|
|
131
130
|
page_size: Union[Unset, int] = UNSET,
|
|
132
|
-
) -> Response[list["
|
|
133
|
-
"""
|
|
131
|
+
) -> Response[list["Question"]]:
|
|
132
|
+
"""Return questions available for current user.
|
|
134
133
|
|
|
135
134
|
Args:
|
|
136
|
-
|
|
135
|
+
uuid (UUID):
|
|
137
136
|
page (Union[Unset, int]):
|
|
138
137
|
page_size (Union[Unset, int]):
|
|
139
138
|
|
|
@@ -142,11 +141,11 @@ async def asyncio_detailed(
|
|
|
142
141
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
143
142
|
|
|
144
143
|
Returns:
|
|
145
|
-
Response[list['
|
|
144
|
+
Response[list['Question']]
|
|
146
145
|
"""
|
|
147
146
|
|
|
148
147
|
kwargs = _get_kwargs(
|
|
149
|
-
|
|
148
|
+
uuid=uuid,
|
|
150
149
|
page=page,
|
|
151
150
|
page_size=page_size,
|
|
152
151
|
)
|
|
@@ -157,16 +156,16 @@ async def asyncio_detailed(
|
|
|
157
156
|
|
|
158
157
|
|
|
159
158
|
async def asyncio(
|
|
160
|
-
|
|
159
|
+
uuid: UUID,
|
|
161
160
|
*,
|
|
162
161
|
client: AuthenticatedClient,
|
|
163
162
|
page: Union[Unset, int] = UNSET,
|
|
164
163
|
page_size: Union[Unset, int] = UNSET,
|
|
165
|
-
) -> list["
|
|
166
|
-
"""
|
|
164
|
+
) -> list["Question"]:
|
|
165
|
+
"""Return questions available for current user.
|
|
167
166
|
|
|
168
167
|
Args:
|
|
169
|
-
|
|
168
|
+
uuid (UUID):
|
|
170
169
|
page (Union[Unset, int]):
|
|
171
170
|
page_size (Union[Unset, int]):
|
|
172
171
|
|
|
@@ -175,12 +174,12 @@ async def asyncio(
|
|
|
175
174
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
176
175
|
|
|
177
176
|
Returns:
|
|
178
|
-
list['
|
|
177
|
+
list['Question']
|
|
179
178
|
"""
|
|
180
179
|
|
|
181
180
|
return (
|
|
182
181
|
await asyncio_detailed(
|
|
183
|
-
|
|
182
|
+
uuid=uuid,
|
|
184
183
|
client=client,
|
|
185
184
|
page=page,
|
|
186
185
|
page_size=page_size,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
2
|
from typing import Any, Union
|
|
3
|
+
from uuid import UUID
|
|
3
4
|
|
|
4
5
|
import httpx
|
|
5
6
|
|
|
@@ -10,11 +11,11 @@ from ...types import Response
|
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
def _get_kwargs(
|
|
13
|
-
|
|
14
|
+
uuid: UUID,
|
|
14
15
|
) -> dict[str, Any]:
|
|
15
16
|
_kwargs: dict[str, Any] = {
|
|
16
17
|
"method": "get",
|
|
17
|
-
"url": f"/api/marketplace-checklists/{
|
|
18
|
+
"url": f"/api/marketplace-checklists/{uuid}/",
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
return _kwargs
|
|
@@ -38,13 +39,13 @@ def _build_response(*, client: Union[AuthenticatedClient, Client], response: htt
|
|
|
38
39
|
|
|
39
40
|
|
|
40
41
|
def sync_detailed(
|
|
41
|
-
|
|
42
|
+
uuid: UUID,
|
|
42
43
|
*,
|
|
43
44
|
client: AuthenticatedClient,
|
|
44
45
|
) -> Response[Checklist]:
|
|
45
46
|
"""
|
|
46
47
|
Args:
|
|
47
|
-
|
|
48
|
+
uuid (UUID):
|
|
48
49
|
|
|
49
50
|
Raises:
|
|
50
51
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -55,7 +56,7 @@ def sync_detailed(
|
|
|
55
56
|
"""
|
|
56
57
|
|
|
57
58
|
kwargs = _get_kwargs(
|
|
58
|
-
|
|
59
|
+
uuid=uuid,
|
|
59
60
|
)
|
|
60
61
|
|
|
61
62
|
response = client.get_httpx_client().request(
|
|
@@ -66,13 +67,13 @@ def sync_detailed(
|
|
|
66
67
|
|
|
67
68
|
|
|
68
69
|
def sync(
|
|
69
|
-
|
|
70
|
+
uuid: UUID,
|
|
70
71
|
*,
|
|
71
72
|
client: AuthenticatedClient,
|
|
72
73
|
) -> Checklist:
|
|
73
74
|
"""
|
|
74
75
|
Args:
|
|
75
|
-
|
|
76
|
+
uuid (UUID):
|
|
76
77
|
|
|
77
78
|
Raises:
|
|
78
79
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -83,19 +84,19 @@ def sync(
|
|
|
83
84
|
"""
|
|
84
85
|
|
|
85
86
|
return sync_detailed(
|
|
86
|
-
|
|
87
|
+
uuid=uuid,
|
|
87
88
|
client=client,
|
|
88
89
|
).parsed
|
|
89
90
|
|
|
90
91
|
|
|
91
92
|
async def asyncio_detailed(
|
|
92
|
-
|
|
93
|
+
uuid: UUID,
|
|
93
94
|
*,
|
|
94
95
|
client: AuthenticatedClient,
|
|
95
96
|
) -> Response[Checklist]:
|
|
96
97
|
"""
|
|
97
98
|
Args:
|
|
98
|
-
|
|
99
|
+
uuid (UUID):
|
|
99
100
|
|
|
100
101
|
Raises:
|
|
101
102
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -106,7 +107,7 @@ async def asyncio_detailed(
|
|
|
106
107
|
"""
|
|
107
108
|
|
|
108
109
|
kwargs = _get_kwargs(
|
|
109
|
-
|
|
110
|
+
uuid=uuid,
|
|
110
111
|
)
|
|
111
112
|
|
|
112
113
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -115,13 +116,13 @@ async def asyncio_detailed(
|
|
|
115
116
|
|
|
116
117
|
|
|
117
118
|
async def asyncio(
|
|
118
|
-
|
|
119
|
+
uuid: UUID,
|
|
119
120
|
*,
|
|
120
121
|
client: AuthenticatedClient,
|
|
121
122
|
) -> Checklist:
|
|
122
123
|
"""
|
|
123
124
|
Args:
|
|
124
|
-
|
|
125
|
+
uuid (UUID):
|
|
125
126
|
|
|
126
127
|
Raises:
|
|
127
128
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -133,7 +134,7 @@ async def asyncio(
|
|
|
133
134
|
|
|
134
135
|
return (
|
|
135
136
|
await asyncio_detailed(
|
|
136
|
-
|
|
137
|
+
uuid=uuid,
|
|
137
138
|
client=client,
|
|
138
139
|
)
|
|
139
140
|
).parsed
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Contains endpoint functions for accessing the API"""
|