cribl-control-plane 0.2.1rc11__py3-none-any.whl → 0.4.0a12__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 cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/acl.py +6 -4
- cribl_control_plane/basesdk.py +6 -0
- cribl_control_plane/branches.py +8 -4
- cribl_control_plane/commits.py +42 -28
- cribl_control_plane/commits_files.py +12 -8
- cribl_control_plane/configs_versions.py +10 -4
- cribl_control_plane/destinations.py +30 -20
- cribl_control_plane/destinations_pq.py +12 -8
- cribl_control_plane/groups_sdk.py +60 -24
- cribl_control_plane/health.py +2 -0
- cribl_control_plane/hectokens.py +32 -8
- cribl_control_plane/lakedatasets.py +86 -20
- cribl_control_plane/models/__init__.py +568 -214
- cribl_control_plane/models/addhectokenrequest.py +7 -1
- cribl_control_plane/models/createconfiggroupbyproductop.py +20 -1
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +19 -1
- cribl_control_plane/models/createinputhectokenbyidop.py +20 -1
- cribl_control_plane/models/{countedlistgitdiffresult.py → createinputop.py} +9 -5
- cribl_control_plane/models/{countedlistgitshowresult.py → createoutputop.py} +9 -5
- cribl_control_plane/models/createoutputtestbyidop.py +20 -1
- cribl_control_plane/models/{countedlistpackinstallinfo.py → createpacksop.py} +6 -2
- cribl_control_plane/models/createpipelineop.py +24 -0
- cribl_control_plane/models/createroutesappendbyidop.py +20 -2
- cribl_control_plane/models/createversioncommitop.py +19 -1
- cribl_control_plane/models/{countedliststring.py → createversionpushop.py} +6 -2
- cribl_control_plane/models/createversionrevertop.py +19 -1
- cribl_control_plane/models/createversionundoop.py +18 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +20 -1
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +20 -1
- cribl_control_plane/models/deleteinputbyidop.py +20 -1
- cribl_control_plane/models/deleteoutputbyidop.py +20 -1
- cribl_control_plane/models/deleteoutputpqbyidop.py +19 -1
- cribl_control_plane/models/deletepacksbyidop.py +20 -1
- cribl_control_plane/models/deletepipelinebyidop.py +20 -1
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +19 -1
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +19 -1
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +19 -1
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +19 -1
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +20 -1
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +79 -2
- cribl_control_plane/models/getinputbyidop.py +20 -1
- cribl_control_plane/models/getmasterworkerentryop.py +18 -1
- cribl_control_plane/models/getoutputbyidop.py +20 -1
- cribl_control_plane/models/getoutputpqbyidop.py +20 -1
- cribl_control_plane/models/getoutputsamplesbyidop.py +20 -1
- cribl_control_plane/models/getpacksbyidop.py +20 -1
- cribl_control_plane/models/getpacksop.py +19 -1
- cribl_control_plane/models/getpipelinebyidop.py +20 -1
- cribl_control_plane/models/getroutesbyidop.py +20 -1
- cribl_control_plane/models/getsummaryop.py +19 -1
- cribl_control_plane/models/{countedlistbranchinfo.py → getversionbranchop.py} +6 -2
- cribl_control_plane/models/getversioncountop.py +19 -1
- cribl_control_plane/models/getversiondiffop.py +19 -1
- cribl_control_plane/models/getversionfilesop.py +19 -1
- cribl_control_plane/models/{countedlistgitinfo.py → getversioninfoop.py} +6 -2
- cribl_control_plane/models/getversionop.py +19 -1
- cribl_control_plane/models/getversionshowop.py +19 -1
- cribl_control_plane/models/getversionstatusop.py +19 -1
- cribl_control_plane/models/input.py +18 -15
- cribl_control_plane/models/inputcloudflarehec.py +513 -0
- cribl_control_plane/models/inputfile.py +7 -0
- cribl_control_plane/models/listconfiggroupbyproductop.py +19 -1
- cribl_control_plane/models/{countedlistinput.py → listinputop.py} +6 -2
- cribl_control_plane/models/listmasterworkerentryop.py +19 -1
- cribl_control_plane/models/{countedlistoutput.py → listoutputop.py} +6 -2
- cribl_control_plane/models/{countedlistpipeline.py → listpipelineop.py} +6 -2
- cribl_control_plane/models/{countedlistroutes.py → listroutesop.py} +6 -2
- cribl_control_plane/models/output.py +23 -17
- cribl_control_plane/models/outputazureblob.py +14 -0
- cribl_control_plane/models/outputazuredataexplorer.py +7 -0
- cribl_control_plane/models/outputchronicle.py +5 -0
- cribl_control_plane/models/outputcloudflarer2.py +632 -0
- cribl_control_plane/models/outputcribllake.py +14 -0
- cribl_control_plane/models/outputdatabricks.py +19 -0
- cribl_control_plane/models/outputdls3.py +14 -0
- cribl_control_plane/models/outputexabeam.py +7 -0
- cribl_control_plane/models/outputfilesystem.py +14 -0
- cribl_control_plane/models/outputgooglecloudstorage.py +14 -0
- cribl_control_plane/models/outputmicrosoftfabric.py +540 -0
- cribl_control_plane/models/outputminio.py +19 -4
- cribl_control_plane/models/outputnetflow.py +7 -0
- cribl_control_plane/models/outputs3.py +14 -0
- cribl_control_plane/models/outputsecuritylake.py +14 -0
- cribl_control_plane/models/outputsyslog.py +7 -0
- cribl_control_plane/models/runnablejobcollection.py +0 -8
- cribl_control_plane/models/runnablejobexecutor.py +0 -4
- cribl_control_plane/models/runnablejobscheduledsearch.py +0 -4
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +19 -1
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +20 -1
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +20 -1
- cribl_control_plane/models/updatehectokenrequest.py +7 -1
- cribl_control_plane/models/updateinputbyidop.py +19 -1
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +20 -1
- cribl_control_plane/models/updateoutputbyidop.py +19 -1
- cribl_control_plane/models/updatepacksbyidop.py +20 -1
- cribl_control_plane/models/updatepipelinebyidop.py +19 -1
- cribl_control_plane/models/updateroutesbyidop.py +19 -1
- cribl_control_plane/nodes.py +16 -8
- cribl_control_plane/packs.py +32 -20
- cribl_control_plane/pipelines.py +30 -20
- cribl_control_plane/routes_sdk.py +28 -16
- cribl_control_plane/samples.py +12 -8
- cribl_control_plane/sources.py +30 -20
- cribl_control_plane/statuses.py +6 -4
- cribl_control_plane/summaries.py +6 -8
- cribl_control_plane/teams.py +6 -4
- cribl_control_plane/tokens.py +2 -0
- cribl_control_plane/utils/forms.py +21 -10
- cribl_control_plane/utils/queryparams.py +14 -2
- cribl_control_plane/utils/retries.py +69 -5
- cribl_control_plane/utils/unmarshal_json_response.py +15 -1
- cribl_control_plane/versions_configs.py +6 -4
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a12.dist-info}/METADATA +28 -36
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a12.dist-info}/RECORD +117 -131
- cribl_control_plane-0.4.0a12.dist-info/licenses/LICENSE +201 -0
- cribl_control_plane/models/countedlistconfiggroup.py +0 -20
- cribl_control_plane/models/countedlistcribllakedataset.py +0 -20
- cribl_control_plane/models/countedlistdistributedsummary.py +0 -20
- cribl_control_plane/models/countedlistgitcommitsummary.py +0 -20
- cribl_control_plane/models/countedlistgitcountresult.py +0 -20
- cribl_control_plane/models/countedlistgitfilesresponse.py +0 -20
- cribl_control_plane/models/countedlistgitlogresult.py +0 -20
- cribl_control_plane/models/countedlistgitrevertresult.py +0 -20
- cribl_control_plane/models/countedlistgitstatusresult.py +0 -20
- cribl_control_plane/models/countedlistinputsplunkhec.py +0 -20
- cribl_control_plane/models/countedlistjobinfo.py +0 -20
- cribl_control_plane/models/countedlistmasterworkerentry.py +0 -20
- cribl_control_plane/models/countedlistnumber.py +0 -19
- cribl_control_plane/models/countedlistobject.py +0 -19
- cribl_control_plane/models/countedlistoutputsamplesresponse.py +0 -20
- cribl_control_plane/models/countedlistoutputtestresponse.py +0 -20
- cribl_control_plane/models/countedlistpackinfo.py +0 -20
- cribl_control_plane/models/countedlistteamaccesscontrollist.py +0 -20
- cribl_control_plane/models/countedlistuseraccesscontrollist.py +0 -20
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a12.dist-info}/WHEEL +0 -0
cribl_control_plane/_version.py
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "cribl-control-plane"
|
|
6
|
-
__version__: str = "0.
|
|
7
|
-
__openapi_doc_version__: str = "4.15.
|
|
8
|
-
__gen_version__: str = "2.
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.
|
|
6
|
+
__version__: str = "0.4.0a12"
|
|
7
|
+
__openapi_doc_version__: str = "4.15.1-alpha.1764975753193-67dd5070"
|
|
8
|
+
__gen_version__: str = "2.778.0"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.4.0a12 2.778.0 4.15.1-alpha.1764975753193-67dd5070 cribl-control-plane"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
cribl_control_plane/acl.py
CHANGED
|
@@ -34,7 +34,7 @@ class ACL(BaseSDK):
|
|
|
34
34
|
server_url: Optional[str] = None,
|
|
35
35
|
timeout_ms: Optional[int] = None,
|
|
36
36
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
37
|
-
) -> models.
|
|
37
|
+
) -> models.GetConfigGroupACLByProductAndIDResponse:
|
|
38
38
|
r"""Get the Access Control List for a Worker Group or Edge Fleet
|
|
39
39
|
|
|
40
40
|
Get the Access Control List (ACL) for the specified Worker Group or Edge Fleet.
|
|
@@ -76,6 +76,7 @@ class ACL(BaseSDK):
|
|
|
76
76
|
accept_header_value="application/json",
|
|
77
77
|
http_headers=http_headers,
|
|
78
78
|
security=self.sdk_configuration.security,
|
|
79
|
+
allow_empty_value=None,
|
|
79
80
|
timeout_ms=timeout_ms,
|
|
80
81
|
)
|
|
81
82
|
|
|
@@ -105,7 +106,7 @@ class ACL(BaseSDK):
|
|
|
105
106
|
response_data: Any = None
|
|
106
107
|
if utils.match_response(http_res, "200", "application/json"):
|
|
107
108
|
return unmarshal_json_response(
|
|
108
|
-
models.
|
|
109
|
+
models.GetConfigGroupACLByProductAndIDResponse, http_res
|
|
109
110
|
)
|
|
110
111
|
if utils.match_response(http_res, "500", "application/json"):
|
|
111
112
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
@@ -129,7 +130,7 @@ class ACL(BaseSDK):
|
|
|
129
130
|
server_url: Optional[str] = None,
|
|
130
131
|
timeout_ms: Optional[int] = None,
|
|
131
132
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
132
|
-
) -> models.
|
|
133
|
+
) -> models.GetConfigGroupACLByProductAndIDResponse:
|
|
133
134
|
r"""Get the Access Control List for a Worker Group or Edge Fleet
|
|
134
135
|
|
|
135
136
|
Get the Access Control List (ACL) for the specified Worker Group or Edge Fleet.
|
|
@@ -171,6 +172,7 @@ class ACL(BaseSDK):
|
|
|
171
172
|
accept_header_value="application/json",
|
|
172
173
|
http_headers=http_headers,
|
|
173
174
|
security=self.sdk_configuration.security,
|
|
175
|
+
allow_empty_value=None,
|
|
174
176
|
timeout_ms=timeout_ms,
|
|
175
177
|
)
|
|
176
178
|
|
|
@@ -200,7 +202,7 @@ class ACL(BaseSDK):
|
|
|
200
202
|
response_data: Any = None
|
|
201
203
|
if utils.match_response(http_res, "200", "application/json"):
|
|
202
204
|
return unmarshal_json_response(
|
|
203
|
-
models.
|
|
205
|
+
models.GetConfigGroupACLByProductAndIDResponse, http_res
|
|
204
206
|
)
|
|
205
207
|
if utils.match_response(http_res, "500", "application/json"):
|
|
206
208
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
cribl_control_plane/basesdk.py
CHANGED
|
@@ -64,6 +64,7 @@ class BaseSDK:
|
|
|
64
64
|
] = None,
|
|
65
65
|
url_override: Optional[str] = None,
|
|
66
66
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
67
|
+
allow_empty_value: Optional[List[str]] = None,
|
|
67
68
|
) -> httpx.Request:
|
|
68
69
|
client = self.sdk_configuration.async_client
|
|
69
70
|
return self._build_request_with_client(
|
|
@@ -84,6 +85,7 @@ class BaseSDK:
|
|
|
84
85
|
get_serialized_body,
|
|
85
86
|
url_override,
|
|
86
87
|
http_headers,
|
|
88
|
+
allow_empty_value,
|
|
87
89
|
)
|
|
88
90
|
|
|
89
91
|
def _build_request(
|
|
@@ -106,6 +108,7 @@ class BaseSDK:
|
|
|
106
108
|
] = None,
|
|
107
109
|
url_override: Optional[str] = None,
|
|
108
110
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
111
|
+
allow_empty_value: Optional[List[str]] = None,
|
|
109
112
|
) -> httpx.Request:
|
|
110
113
|
client = self.sdk_configuration.client
|
|
111
114
|
return self._build_request_with_client(
|
|
@@ -126,6 +129,7 @@ class BaseSDK:
|
|
|
126
129
|
get_serialized_body,
|
|
127
130
|
url_override,
|
|
128
131
|
http_headers,
|
|
132
|
+
allow_empty_value,
|
|
129
133
|
)
|
|
130
134
|
|
|
131
135
|
def _build_request_with_client(
|
|
@@ -149,6 +153,7 @@ class BaseSDK:
|
|
|
149
153
|
] = None,
|
|
150
154
|
url_override: Optional[str] = None,
|
|
151
155
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
156
|
+
allow_empty_value: Optional[List[str]] = None,
|
|
152
157
|
) -> httpx.Request:
|
|
153
158
|
query_params = {}
|
|
154
159
|
|
|
@@ -164,6 +169,7 @@ class BaseSDK:
|
|
|
164
169
|
query_params = utils.get_query_params(
|
|
165
170
|
request if request_has_query_params else None,
|
|
166
171
|
_globals if request_has_query_params else None,
|
|
172
|
+
allow_empty_value,
|
|
167
173
|
)
|
|
168
174
|
else:
|
|
169
175
|
# Pick up the query parameter from the override so they can be
|
cribl_control_plane/branches.py
CHANGED
|
@@ -17,7 +17,7 @@ class Branches(BaseSDK):
|
|
|
17
17
|
server_url: Optional[str] = None,
|
|
18
18
|
timeout_ms: Optional[int] = None,
|
|
19
19
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
20
|
-
) -> models.
|
|
20
|
+
) -> models.GetVersionBranchResponse:
|
|
21
21
|
r"""List all branches in the Git repository used for Cribl configuration
|
|
22
22
|
|
|
23
23
|
Get a list of all branches in the Git repository used for Cribl configuration.
|
|
@@ -49,6 +49,7 @@ class Branches(BaseSDK):
|
|
|
49
49
|
accept_header_value="application/json",
|
|
50
50
|
http_headers=http_headers,
|
|
51
51
|
security=self.sdk_configuration.security,
|
|
52
|
+
allow_empty_value=None,
|
|
52
53
|
timeout_ms=timeout_ms,
|
|
53
54
|
)
|
|
54
55
|
|
|
@@ -77,7 +78,7 @@ class Branches(BaseSDK):
|
|
|
77
78
|
|
|
78
79
|
response_data: Any = None
|
|
79
80
|
if utils.match_response(http_res, "200", "application/json"):
|
|
80
|
-
return unmarshal_json_response(models.
|
|
81
|
+
return unmarshal_json_response(models.GetVersionBranchResponse, http_res)
|
|
81
82
|
if utils.match_response(http_res, "500", "application/json"):
|
|
82
83
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
83
84
|
raise errors.Error(response_data, http_res)
|
|
@@ -97,7 +98,7 @@ class Branches(BaseSDK):
|
|
|
97
98
|
server_url: Optional[str] = None,
|
|
98
99
|
timeout_ms: Optional[int] = None,
|
|
99
100
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
100
|
-
) -> models.
|
|
101
|
+
) -> models.GetVersionBranchResponse:
|
|
101
102
|
r"""List all branches in the Git repository used for Cribl configuration
|
|
102
103
|
|
|
103
104
|
Get a list of all branches in the Git repository used for Cribl configuration.
|
|
@@ -129,6 +130,7 @@ class Branches(BaseSDK):
|
|
|
129
130
|
accept_header_value="application/json",
|
|
130
131
|
http_headers=http_headers,
|
|
131
132
|
security=self.sdk_configuration.security,
|
|
133
|
+
allow_empty_value=None,
|
|
132
134
|
timeout_ms=timeout_ms,
|
|
133
135
|
)
|
|
134
136
|
|
|
@@ -157,7 +159,7 @@ class Branches(BaseSDK):
|
|
|
157
159
|
|
|
158
160
|
response_data: Any = None
|
|
159
161
|
if utils.match_response(http_res, "200", "application/json"):
|
|
160
|
-
return unmarshal_json_response(models.
|
|
162
|
+
return unmarshal_json_response(models.GetVersionBranchResponse, http_res)
|
|
161
163
|
if utils.match_response(http_res, "500", "application/json"):
|
|
162
164
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
163
165
|
raise errors.Error(response_data, http_res)
|
|
@@ -209,6 +211,7 @@ class Branches(BaseSDK):
|
|
|
209
211
|
accept_header_value="application/json",
|
|
210
212
|
http_headers=http_headers,
|
|
211
213
|
security=self.sdk_configuration.security,
|
|
214
|
+
allow_empty_value=None,
|
|
212
215
|
timeout_ms=timeout_ms,
|
|
213
216
|
)
|
|
214
217
|
|
|
@@ -289,6 +292,7 @@ class Branches(BaseSDK):
|
|
|
289
292
|
accept_header_value="application/json",
|
|
290
293
|
http_headers=http_headers,
|
|
291
294
|
security=self.sdk_configuration.security,
|
|
295
|
+
allow_empty_value=None,
|
|
292
296
|
timeout_ms=timeout_ms,
|
|
293
297
|
)
|
|
294
298
|
|
cribl_control_plane/commits.py
CHANGED
|
@@ -36,7 +36,7 @@ class Commits(BaseSDK):
|
|
|
36
36
|
server_url: Optional[str] = None,
|
|
37
37
|
timeout_ms: Optional[int] = None,
|
|
38
38
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
39
|
-
) -> models.
|
|
39
|
+
) -> models.CreateVersionCommitResponse:
|
|
40
40
|
r"""Create a new commit for pending changes to the Cribl configuration
|
|
41
41
|
|
|
42
42
|
Create a new commit for pending changes to the Cribl configuration. Any merge conflicts indicated in the response must be resolved using Git.</br></br>To commit only a subset of configuration changes, specify the files to include in the commit in the <code>files</code> array.
|
|
@@ -87,6 +87,7 @@ class Commits(BaseSDK):
|
|
|
87
87
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
88
88
|
request.git_commit_params, False, False, "json", models.GitCommitParams
|
|
89
89
|
),
|
|
90
|
+
allow_empty_value=None,
|
|
90
91
|
timeout_ms=timeout_ms,
|
|
91
92
|
)
|
|
92
93
|
|
|
@@ -115,7 +116,7 @@ class Commits(BaseSDK):
|
|
|
115
116
|
|
|
116
117
|
response_data: Any = None
|
|
117
118
|
if utils.match_response(http_res, "200", "application/json"):
|
|
118
|
-
return unmarshal_json_response(models.
|
|
119
|
+
return unmarshal_json_response(models.CreateVersionCommitResponse, http_res)
|
|
119
120
|
if utils.match_response(http_res, "500", "application/json"):
|
|
120
121
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
121
122
|
raise errors.Error(response_data, http_res)
|
|
@@ -140,7 +141,7 @@ class Commits(BaseSDK):
|
|
|
140
141
|
server_url: Optional[str] = None,
|
|
141
142
|
timeout_ms: Optional[int] = None,
|
|
142
143
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
143
|
-
) -> models.
|
|
144
|
+
) -> models.CreateVersionCommitResponse:
|
|
144
145
|
r"""Create a new commit for pending changes to the Cribl configuration
|
|
145
146
|
|
|
146
147
|
Create a new commit for pending changes to the Cribl configuration. Any merge conflicts indicated in the response must be resolved using Git.</br></br>To commit only a subset of configuration changes, specify the files to include in the commit in the <code>files</code> array.
|
|
@@ -191,6 +192,7 @@ class Commits(BaseSDK):
|
|
|
191
192
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
192
193
|
request.git_commit_params, False, False, "json", models.GitCommitParams
|
|
193
194
|
),
|
|
195
|
+
allow_empty_value=None,
|
|
194
196
|
timeout_ms=timeout_ms,
|
|
195
197
|
)
|
|
196
198
|
|
|
@@ -219,7 +221,7 @@ class Commits(BaseSDK):
|
|
|
219
221
|
|
|
220
222
|
response_data: Any = None
|
|
221
223
|
if utils.match_response(http_res, "200", "application/json"):
|
|
222
|
-
return unmarshal_json_response(models.
|
|
224
|
+
return unmarshal_json_response(models.CreateVersionCommitResponse, http_res)
|
|
223
225
|
if utils.match_response(http_res, "500", "application/json"):
|
|
224
226
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
225
227
|
raise errors.Error(response_data, http_res)
|
|
@@ -243,7 +245,7 @@ class Commits(BaseSDK):
|
|
|
243
245
|
server_url: Optional[str] = None,
|
|
244
246
|
timeout_ms: Optional[int] = None,
|
|
245
247
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
246
|
-
) -> models.
|
|
248
|
+
) -> models.GetVersionDiffResponse:
|
|
247
249
|
r"""Get the diff for a commit
|
|
248
250
|
|
|
249
251
|
Get the diff for a commit. Default is the latest commit (HEAD).
|
|
@@ -287,6 +289,7 @@ class Commits(BaseSDK):
|
|
|
287
289
|
accept_header_value="application/json",
|
|
288
290
|
http_headers=http_headers,
|
|
289
291
|
security=self.sdk_configuration.security,
|
|
292
|
+
allow_empty_value=None,
|
|
290
293
|
timeout_ms=timeout_ms,
|
|
291
294
|
)
|
|
292
295
|
|
|
@@ -315,7 +318,7 @@ class Commits(BaseSDK):
|
|
|
315
318
|
|
|
316
319
|
response_data: Any = None
|
|
317
320
|
if utils.match_response(http_res, "200", "application/json"):
|
|
318
|
-
return unmarshal_json_response(models.
|
|
321
|
+
return unmarshal_json_response(models.GetVersionDiffResponse, http_res)
|
|
319
322
|
if utils.match_response(http_res, "500", "application/json"):
|
|
320
323
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
321
324
|
raise errors.Error(response_data, http_res)
|
|
@@ -339,7 +342,7 @@ class Commits(BaseSDK):
|
|
|
339
342
|
server_url: Optional[str] = None,
|
|
340
343
|
timeout_ms: Optional[int] = None,
|
|
341
344
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
342
|
-
) -> models.
|
|
345
|
+
) -> models.GetVersionDiffResponse:
|
|
343
346
|
r"""Get the diff for a commit
|
|
344
347
|
|
|
345
348
|
Get the diff for a commit. Default is the latest commit (HEAD).
|
|
@@ -383,6 +386,7 @@ class Commits(BaseSDK):
|
|
|
383
386
|
accept_header_value="application/json",
|
|
384
387
|
http_headers=http_headers,
|
|
385
388
|
security=self.sdk_configuration.security,
|
|
389
|
+
allow_empty_value=None,
|
|
386
390
|
timeout_ms=timeout_ms,
|
|
387
391
|
)
|
|
388
392
|
|
|
@@ -411,7 +415,7 @@ class Commits(BaseSDK):
|
|
|
411
415
|
|
|
412
416
|
response_data: Any = None
|
|
413
417
|
if utils.match_response(http_res, "200", "application/json"):
|
|
414
|
-
return unmarshal_json_response(models.
|
|
418
|
+
return unmarshal_json_response(models.GetVersionDiffResponse, http_res)
|
|
415
419
|
if utils.match_response(http_res, "500", "application/json"):
|
|
416
420
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
417
421
|
raise errors.Error(response_data, http_res)
|
|
@@ -433,7 +437,7 @@ class Commits(BaseSDK):
|
|
|
433
437
|
server_url: Optional[str] = None,
|
|
434
438
|
timeout_ms: Optional[int] = None,
|
|
435
439
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
436
|
-
) -> models.
|
|
440
|
+
) -> models.GetVersionResponse:
|
|
437
441
|
r"""List the commit history
|
|
438
442
|
|
|
439
443
|
List the commit history.</br></br>Analogous to <code>git log</code> for the Cribl configuration, allowing you to audit and review changes over time.
|
|
@@ -473,6 +477,7 @@ class Commits(BaseSDK):
|
|
|
473
477
|
accept_header_value="application/json",
|
|
474
478
|
http_headers=http_headers,
|
|
475
479
|
security=self.sdk_configuration.security,
|
|
480
|
+
allow_empty_value=None,
|
|
476
481
|
timeout_ms=timeout_ms,
|
|
477
482
|
)
|
|
478
483
|
|
|
@@ -501,7 +506,7 @@ class Commits(BaseSDK):
|
|
|
501
506
|
|
|
502
507
|
response_data: Any = None
|
|
503
508
|
if utils.match_response(http_res, "200", "application/json"):
|
|
504
|
-
return unmarshal_json_response(models.
|
|
509
|
+
return unmarshal_json_response(models.GetVersionResponse, http_res)
|
|
505
510
|
if utils.match_response(http_res, "500", "application/json"):
|
|
506
511
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
507
512
|
raise errors.Error(response_data, http_res)
|
|
@@ -523,7 +528,7 @@ class Commits(BaseSDK):
|
|
|
523
528
|
server_url: Optional[str] = None,
|
|
524
529
|
timeout_ms: Optional[int] = None,
|
|
525
530
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
526
|
-
) -> models.
|
|
531
|
+
) -> models.GetVersionResponse:
|
|
527
532
|
r"""List the commit history
|
|
528
533
|
|
|
529
534
|
List the commit history.</br></br>Analogous to <code>git log</code> for the Cribl configuration, allowing you to audit and review changes over time.
|
|
@@ -563,6 +568,7 @@ class Commits(BaseSDK):
|
|
|
563
568
|
accept_header_value="application/json",
|
|
564
569
|
http_headers=http_headers,
|
|
565
570
|
security=self.sdk_configuration.security,
|
|
571
|
+
allow_empty_value=None,
|
|
566
572
|
timeout_ms=timeout_ms,
|
|
567
573
|
)
|
|
568
574
|
|
|
@@ -591,7 +597,7 @@ class Commits(BaseSDK):
|
|
|
591
597
|
|
|
592
598
|
response_data: Any = None
|
|
593
599
|
if utils.match_response(http_res, "200", "application/json"):
|
|
594
|
-
return unmarshal_json_response(models.
|
|
600
|
+
return unmarshal_json_response(models.GetVersionResponse, http_res)
|
|
595
601
|
if utils.match_response(http_res, "500", "application/json"):
|
|
596
602
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
597
603
|
raise errors.Error(response_data, http_res)
|
|
@@ -611,7 +617,7 @@ class Commits(BaseSDK):
|
|
|
611
617
|
server_url: Optional[str] = None,
|
|
612
618
|
timeout_ms: Optional[int] = None,
|
|
613
619
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
614
|
-
) -> models.
|
|
620
|
+
) -> models.CreateVersionPushResponse:
|
|
615
621
|
r"""Push local commits to the remote repository
|
|
616
622
|
|
|
617
623
|
Push all local commits from the local repository to the remote repository.
|
|
@@ -643,6 +649,7 @@ class Commits(BaseSDK):
|
|
|
643
649
|
accept_header_value="application/json",
|
|
644
650
|
http_headers=http_headers,
|
|
645
651
|
security=self.sdk_configuration.security,
|
|
652
|
+
allow_empty_value=None,
|
|
646
653
|
timeout_ms=timeout_ms,
|
|
647
654
|
)
|
|
648
655
|
|
|
@@ -671,7 +678,7 @@ class Commits(BaseSDK):
|
|
|
671
678
|
|
|
672
679
|
response_data: Any = None
|
|
673
680
|
if utils.match_response(http_res, "200", "application/json"):
|
|
674
|
-
return unmarshal_json_response(models.
|
|
681
|
+
return unmarshal_json_response(models.CreateVersionPushResponse, http_res)
|
|
675
682
|
if utils.match_response(http_res, "500", "application/json"):
|
|
676
683
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
677
684
|
raise errors.Error(response_data, http_res)
|
|
@@ -691,7 +698,7 @@ class Commits(BaseSDK):
|
|
|
691
698
|
server_url: Optional[str] = None,
|
|
692
699
|
timeout_ms: Optional[int] = None,
|
|
693
700
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
694
|
-
) -> models.
|
|
701
|
+
) -> models.CreateVersionPushResponse:
|
|
695
702
|
r"""Push local commits to the remote repository
|
|
696
703
|
|
|
697
704
|
Push all local commits from the local repository to the remote repository.
|
|
@@ -723,6 +730,7 @@ class Commits(BaseSDK):
|
|
|
723
730
|
accept_header_value="application/json",
|
|
724
731
|
http_headers=http_headers,
|
|
725
732
|
security=self.sdk_configuration.security,
|
|
733
|
+
allow_empty_value=None,
|
|
726
734
|
timeout_ms=timeout_ms,
|
|
727
735
|
)
|
|
728
736
|
|
|
@@ -751,7 +759,7 @@ class Commits(BaseSDK):
|
|
|
751
759
|
|
|
752
760
|
response_data: Any = None
|
|
753
761
|
if utils.match_response(http_res, "200", "application/json"):
|
|
754
|
-
return unmarshal_json_response(models.
|
|
762
|
+
return unmarshal_json_response(models.CreateVersionPushResponse, http_res)
|
|
755
763
|
if utils.match_response(http_res, "500", "application/json"):
|
|
756
764
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
757
765
|
raise errors.Error(response_data, http_res)
|
|
@@ -775,7 +783,7 @@ class Commits(BaseSDK):
|
|
|
775
783
|
server_url: Optional[str] = None,
|
|
776
784
|
timeout_ms: Optional[int] = None,
|
|
777
785
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
778
|
-
) -> models.
|
|
786
|
+
) -> models.CreateVersionRevertResponse:
|
|
779
787
|
r"""Revert a commit in the local repository
|
|
780
788
|
|
|
781
789
|
Revert a commit in the local repository.
|
|
@@ -824,6 +832,7 @@ class Commits(BaseSDK):
|
|
|
824
832
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
825
833
|
request.git_revert_params, False, False, "json", models.GitRevertParams
|
|
826
834
|
),
|
|
835
|
+
allow_empty_value=None,
|
|
827
836
|
timeout_ms=timeout_ms,
|
|
828
837
|
)
|
|
829
838
|
|
|
@@ -852,7 +861,7 @@ class Commits(BaseSDK):
|
|
|
852
861
|
|
|
853
862
|
response_data: Any = None
|
|
854
863
|
if utils.match_response(http_res, "200", "application/json"):
|
|
855
|
-
return unmarshal_json_response(models.
|
|
864
|
+
return unmarshal_json_response(models.CreateVersionRevertResponse, http_res)
|
|
856
865
|
if utils.match_response(http_res, "500", "application/json"):
|
|
857
866
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
858
867
|
raise errors.Error(response_data, http_res)
|
|
@@ -876,7 +885,7 @@ class Commits(BaseSDK):
|
|
|
876
885
|
server_url: Optional[str] = None,
|
|
877
886
|
timeout_ms: Optional[int] = None,
|
|
878
887
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
879
|
-
) -> models.
|
|
888
|
+
) -> models.CreateVersionRevertResponse:
|
|
880
889
|
r"""Revert a commit in the local repository
|
|
881
890
|
|
|
882
891
|
Revert a commit in the local repository.
|
|
@@ -925,6 +934,7 @@ class Commits(BaseSDK):
|
|
|
925
934
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
926
935
|
request.git_revert_params, False, False, "json", models.GitRevertParams
|
|
927
936
|
),
|
|
937
|
+
allow_empty_value=None,
|
|
928
938
|
timeout_ms=timeout_ms,
|
|
929
939
|
)
|
|
930
940
|
|
|
@@ -953,7 +963,7 @@ class Commits(BaseSDK):
|
|
|
953
963
|
|
|
954
964
|
response_data: Any = None
|
|
955
965
|
if utils.match_response(http_res, "200", "application/json"):
|
|
956
|
-
return unmarshal_json_response(models.
|
|
966
|
+
return unmarshal_json_response(models.CreateVersionRevertResponse, http_res)
|
|
957
967
|
if utils.match_response(http_res, "500", "application/json"):
|
|
958
968
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
959
969
|
raise errors.Error(response_data, http_res)
|
|
@@ -977,7 +987,7 @@ class Commits(BaseSDK):
|
|
|
977
987
|
server_url: Optional[str] = None,
|
|
978
988
|
timeout_ms: Optional[int] = None,
|
|
979
989
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
980
|
-
) -> models.
|
|
990
|
+
) -> models.GetVersionShowResponse:
|
|
981
991
|
r"""Get the diff and log message for a commit
|
|
982
992
|
|
|
983
993
|
Get the diff and log message for a commit. Default is the latest commit (HEAD).
|
|
@@ -1021,6 +1031,7 @@ class Commits(BaseSDK):
|
|
|
1021
1031
|
accept_header_value="application/json",
|
|
1022
1032
|
http_headers=http_headers,
|
|
1023
1033
|
security=self.sdk_configuration.security,
|
|
1034
|
+
allow_empty_value=None,
|
|
1024
1035
|
timeout_ms=timeout_ms,
|
|
1025
1036
|
)
|
|
1026
1037
|
|
|
@@ -1049,7 +1060,7 @@ class Commits(BaseSDK):
|
|
|
1049
1060
|
|
|
1050
1061
|
response_data: Any = None
|
|
1051
1062
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1052
|
-
return unmarshal_json_response(models.
|
|
1063
|
+
return unmarshal_json_response(models.GetVersionShowResponse, http_res)
|
|
1053
1064
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1054
1065
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1055
1066
|
raise errors.Error(response_data, http_res)
|
|
@@ -1073,7 +1084,7 @@ class Commits(BaseSDK):
|
|
|
1073
1084
|
server_url: Optional[str] = None,
|
|
1074
1085
|
timeout_ms: Optional[int] = None,
|
|
1075
1086
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1076
|
-
) -> models.
|
|
1087
|
+
) -> models.GetVersionShowResponse:
|
|
1077
1088
|
r"""Get the diff and log message for a commit
|
|
1078
1089
|
|
|
1079
1090
|
Get the diff and log message for a commit. Default is the latest commit (HEAD).
|
|
@@ -1117,6 +1128,7 @@ class Commits(BaseSDK):
|
|
|
1117
1128
|
accept_header_value="application/json",
|
|
1118
1129
|
http_headers=http_headers,
|
|
1119
1130
|
security=self.sdk_configuration.security,
|
|
1131
|
+
allow_empty_value=None,
|
|
1120
1132
|
timeout_ms=timeout_ms,
|
|
1121
1133
|
)
|
|
1122
1134
|
|
|
@@ -1145,7 +1157,7 @@ class Commits(BaseSDK):
|
|
|
1145
1157
|
|
|
1146
1158
|
response_data: Any = None
|
|
1147
1159
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1148
|
-
return unmarshal_json_response(models.
|
|
1160
|
+
return unmarshal_json_response(models.GetVersionShowResponse, http_res)
|
|
1149
1161
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1150
1162
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1151
1163
|
raise errors.Error(response_data, http_res)
|
|
@@ -1166,7 +1178,7 @@ class Commits(BaseSDK):
|
|
|
1166
1178
|
server_url: Optional[str] = None,
|
|
1167
1179
|
timeout_ms: Optional[int] = None,
|
|
1168
1180
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1169
|
-
) -> models.
|
|
1181
|
+
) -> models.CreateVersionUndoResponse:
|
|
1170
1182
|
r"""Discard uncommitted (staged) changes
|
|
1171
1183
|
|
|
1172
1184
|
Discard all uncommitted (staged) configuration changes, resetting the working directory to the last committed state. Use only if you are certain that you do not need to preserve your local changes.
|
|
@@ -1204,6 +1216,7 @@ class Commits(BaseSDK):
|
|
|
1204
1216
|
accept_header_value="application/json",
|
|
1205
1217
|
http_headers=http_headers,
|
|
1206
1218
|
security=self.sdk_configuration.security,
|
|
1219
|
+
allow_empty_value=None,
|
|
1207
1220
|
timeout_ms=timeout_ms,
|
|
1208
1221
|
)
|
|
1209
1222
|
|
|
@@ -1232,7 +1245,7 @@ class Commits(BaseSDK):
|
|
|
1232
1245
|
|
|
1233
1246
|
response_data: Any = None
|
|
1234
1247
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1235
|
-
return unmarshal_json_response(models.
|
|
1248
|
+
return unmarshal_json_response(models.CreateVersionUndoResponse, http_res)
|
|
1236
1249
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1237
1250
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1238
1251
|
raise errors.Error(response_data, http_res)
|
|
@@ -1253,7 +1266,7 @@ class Commits(BaseSDK):
|
|
|
1253
1266
|
server_url: Optional[str] = None,
|
|
1254
1267
|
timeout_ms: Optional[int] = None,
|
|
1255
1268
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1256
|
-
) -> models.
|
|
1269
|
+
) -> models.CreateVersionUndoResponse:
|
|
1257
1270
|
r"""Discard uncommitted (staged) changes
|
|
1258
1271
|
|
|
1259
1272
|
Discard all uncommitted (staged) configuration changes, resetting the working directory to the last committed state. Use only if you are certain that you do not need to preserve your local changes.
|
|
@@ -1291,6 +1304,7 @@ class Commits(BaseSDK):
|
|
|
1291
1304
|
accept_header_value="application/json",
|
|
1292
1305
|
http_headers=http_headers,
|
|
1293
1306
|
security=self.sdk_configuration.security,
|
|
1307
|
+
allow_empty_value=None,
|
|
1294
1308
|
timeout_ms=timeout_ms,
|
|
1295
1309
|
)
|
|
1296
1310
|
|
|
@@ -1319,7 +1333,7 @@ class Commits(BaseSDK):
|
|
|
1319
1333
|
|
|
1320
1334
|
response_data: Any = None
|
|
1321
1335
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1322
|
-
return unmarshal_json_response(models.
|
|
1336
|
+
return unmarshal_json_response(models.CreateVersionUndoResponse, http_res)
|
|
1323
1337
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1324
1338
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1325
1339
|
raise errors.Error(response_data, http_res)
|
|
@@ -19,7 +19,7 @@ class CommitsFiles(BaseSDK):
|
|
|
19
19
|
server_url: Optional[str] = None,
|
|
20
20
|
timeout_ms: Optional[int] = None,
|
|
21
21
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
22
|
-
) -> models.
|
|
22
|
+
) -> models.GetVersionCountResponse:
|
|
23
23
|
r"""Get a count of files that changed since a commit
|
|
24
24
|
|
|
25
25
|
Get a count of the files that changed since a commit. Default is the latest commit (HEAD).
|
|
@@ -59,6 +59,7 @@ class CommitsFiles(BaseSDK):
|
|
|
59
59
|
accept_header_value="application/json",
|
|
60
60
|
http_headers=http_headers,
|
|
61
61
|
security=self.sdk_configuration.security,
|
|
62
|
+
allow_empty_value=None,
|
|
62
63
|
timeout_ms=timeout_ms,
|
|
63
64
|
)
|
|
64
65
|
|
|
@@ -87,7 +88,7 @@ class CommitsFiles(BaseSDK):
|
|
|
87
88
|
|
|
88
89
|
response_data: Any = None
|
|
89
90
|
if utils.match_response(http_res, "200", "application/json"):
|
|
90
|
-
return unmarshal_json_response(models.
|
|
91
|
+
return unmarshal_json_response(models.GetVersionCountResponse, http_res)
|
|
91
92
|
if utils.match_response(http_res, "500", "application/json"):
|
|
92
93
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
93
94
|
raise errors.Error(response_data, http_res)
|
|
@@ -109,7 +110,7 @@ class CommitsFiles(BaseSDK):
|
|
|
109
110
|
server_url: Optional[str] = None,
|
|
110
111
|
timeout_ms: Optional[int] = None,
|
|
111
112
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
112
|
-
) -> models.
|
|
113
|
+
) -> models.GetVersionCountResponse:
|
|
113
114
|
r"""Get a count of files that changed since a commit
|
|
114
115
|
|
|
115
116
|
Get a count of the files that changed since a commit. Default is the latest commit (HEAD).
|
|
@@ -149,6 +150,7 @@ class CommitsFiles(BaseSDK):
|
|
|
149
150
|
accept_header_value="application/json",
|
|
150
151
|
http_headers=http_headers,
|
|
151
152
|
security=self.sdk_configuration.security,
|
|
153
|
+
allow_empty_value=None,
|
|
152
154
|
timeout_ms=timeout_ms,
|
|
153
155
|
)
|
|
154
156
|
|
|
@@ -177,7 +179,7 @@ class CommitsFiles(BaseSDK):
|
|
|
177
179
|
|
|
178
180
|
response_data: Any = None
|
|
179
181
|
if utils.match_response(http_res, "200", "application/json"):
|
|
180
|
-
return unmarshal_json_response(models.
|
|
182
|
+
return unmarshal_json_response(models.GetVersionCountResponse, http_res)
|
|
181
183
|
if utils.match_response(http_res, "500", "application/json"):
|
|
182
184
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
183
185
|
raise errors.Error(response_data, http_res)
|
|
@@ -199,7 +201,7 @@ class CommitsFiles(BaseSDK):
|
|
|
199
201
|
server_url: Optional[str] = None,
|
|
200
202
|
timeout_ms: Optional[int] = None,
|
|
201
203
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
202
|
-
) -> models.
|
|
204
|
+
) -> models.GetVersionFilesResponse:
|
|
203
205
|
r"""Get the names and statuses of files that changed since a commit
|
|
204
206
|
|
|
205
207
|
Get the names and statuses of files that changed since a commit. Default is the latest commit (HEAD).
|
|
@@ -239,6 +241,7 @@ class CommitsFiles(BaseSDK):
|
|
|
239
241
|
accept_header_value="application/json",
|
|
240
242
|
http_headers=http_headers,
|
|
241
243
|
security=self.sdk_configuration.security,
|
|
244
|
+
allow_empty_value=None,
|
|
242
245
|
timeout_ms=timeout_ms,
|
|
243
246
|
)
|
|
244
247
|
|
|
@@ -267,7 +270,7 @@ class CommitsFiles(BaseSDK):
|
|
|
267
270
|
|
|
268
271
|
response_data: Any = None
|
|
269
272
|
if utils.match_response(http_res, "200", "application/json"):
|
|
270
|
-
return unmarshal_json_response(models.
|
|
273
|
+
return unmarshal_json_response(models.GetVersionFilesResponse, http_res)
|
|
271
274
|
if utils.match_response(http_res, "500", "application/json"):
|
|
272
275
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
273
276
|
raise errors.Error(response_data, http_res)
|
|
@@ -289,7 +292,7 @@ class CommitsFiles(BaseSDK):
|
|
|
289
292
|
server_url: Optional[str] = None,
|
|
290
293
|
timeout_ms: Optional[int] = None,
|
|
291
294
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
292
|
-
) -> models.
|
|
295
|
+
) -> models.GetVersionFilesResponse:
|
|
293
296
|
r"""Get the names and statuses of files that changed since a commit
|
|
294
297
|
|
|
295
298
|
Get the names and statuses of files that changed since a commit. Default is the latest commit (HEAD).
|
|
@@ -329,6 +332,7 @@ class CommitsFiles(BaseSDK):
|
|
|
329
332
|
accept_header_value="application/json",
|
|
330
333
|
http_headers=http_headers,
|
|
331
334
|
security=self.sdk_configuration.security,
|
|
335
|
+
allow_empty_value=None,
|
|
332
336
|
timeout_ms=timeout_ms,
|
|
333
337
|
)
|
|
334
338
|
|
|
@@ -357,7 +361,7 @@ class CommitsFiles(BaseSDK):
|
|
|
357
361
|
|
|
358
362
|
response_data: Any = None
|
|
359
363
|
if utils.match_response(http_res, "200", "application/json"):
|
|
360
|
-
return unmarshal_json_response(models.
|
|
364
|
+
return unmarshal_json_response(models.GetVersionFilesResponse, http_res)
|
|
361
365
|
if utils.match_response(http_res, "500", "application/json"):
|
|
362
366
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
363
367
|
raise errors.Error(response_data, http_res)
|