prelude-sdk-beta 1403__py3-none-any.whl → 1404__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 prelude-sdk-beta might be problematic. Click here for more details.
- prelude_sdk_beta/controllers/scm_controller.py +5 -5
- {prelude_sdk_beta-1403.dist-info → prelude_sdk_beta-1404.dist-info}/METADATA +1 -1
- {prelude_sdk_beta-1403.dist-info → prelude_sdk_beta-1404.dist-info}/RECORD +6 -6
- {prelude_sdk_beta-1403.dist-info → prelude_sdk_beta-1404.dist-info}/WHEEL +0 -0
- {prelude_sdk_beta-1403.dist-info → prelude_sdk_beta-1404.dist-info}/licenses/LICENSE +0 -0
- {prelude_sdk_beta-1403.dist-info → prelude_sdk_beta-1404.dist-info}/top_level.txt +0 -0
|
@@ -293,13 +293,13 @@ class ScmController(HttpController):
|
|
|
293
293
|
setting_names=None,
|
|
294
294
|
):
|
|
295
295
|
"""Update policy exceptions"""
|
|
296
|
-
body = dict(control=partner.name, instance_id=instance_id)
|
|
296
|
+
body = dict(control=partner.name, instance_id=instance_id, policy_id=policy_id)
|
|
297
297
|
if expires != self.default:
|
|
298
298
|
body["expires"] = expires
|
|
299
299
|
if setting_names:
|
|
300
300
|
body["setting_names"] = setting_names
|
|
301
|
-
res = self.
|
|
302
|
-
f"{self.account.hq}/scm/exceptions/policies
|
|
301
|
+
res = self.put(
|
|
302
|
+
f"{self.account.hq}/scm/exceptions/policies",
|
|
303
303
|
json=body,
|
|
304
304
|
headers=self.account.headers,
|
|
305
305
|
timeout=10,
|
|
@@ -309,9 +309,9 @@ class ScmController(HttpController):
|
|
|
309
309
|
@verify_credentials
|
|
310
310
|
def delete_policy_exception(self, instance_id: str, policy_id: str):
|
|
311
311
|
"""Delete policy exceptions"""
|
|
312
|
-
body = dict(instance_id=instance_id)
|
|
312
|
+
body = dict(instance_id=instance_id, policy_id=policy_id)
|
|
313
313
|
res = self.delete(
|
|
314
|
-
f"{self.account.hq}/scm/exceptions/policies
|
|
314
|
+
f"{self.account.hq}/scm/exceptions/policies",
|
|
315
315
|
json=body,
|
|
316
316
|
headers=self.account.headers,
|
|
317
317
|
timeout=10,
|
|
@@ -9,12 +9,12 @@ prelude_sdk_beta/controllers/iam_controller.py,sha256=sbkq1xzAGefmUnRrAQ811fRBiN
|
|
|
9
9
|
prelude_sdk_beta/controllers/jobs_controller.py,sha256=cYsqXViDycVgUAjN0GuJrNUMaTFC-dUTJSpIYHcfUgs,1165
|
|
10
10
|
prelude_sdk_beta/controllers/partner_controller.py,sha256=WV51CY-Bsf8Ms59y7RjtfvCmsArBoXt5-AHqrN8Eras,5128
|
|
11
11
|
prelude_sdk_beta/controllers/probe_controller.py,sha256=d2Aa74Css1uMNgBKGWqavbkEbXtVcOkYIIWbhDxzLS0,411
|
|
12
|
-
prelude_sdk_beta/controllers/scm_controller.py,sha256=
|
|
12
|
+
prelude_sdk_beta/controllers/scm_controller.py,sha256=6CNi4yp77wjlfyQH9A_rmp80mjnzuYCWUd-SlFLHZW8,17402
|
|
13
13
|
prelude_sdk_beta/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
prelude_sdk_beta/models/account.py,sha256=dRKhX6_mrqDTyqyfIsvHFVavcedgZ5hZAIDYVF7YlZI,8962
|
|
15
15
|
prelude_sdk_beta/models/codes.py,sha256=oDdHSR1Y0DfOxCUVdEbntkKGPEhazCactuZe-xT7e8s,13978
|
|
16
|
-
prelude_sdk_beta-
|
|
17
|
-
prelude_sdk_beta-
|
|
18
|
-
prelude_sdk_beta-
|
|
19
|
-
prelude_sdk_beta-
|
|
20
|
-
prelude_sdk_beta-
|
|
16
|
+
prelude_sdk_beta-1404.dist-info/licenses/LICENSE,sha256=ttdT5omfN6LNmtQoIjUhkkFhz6i44SDMRNwKrbfyTf8,1069
|
|
17
|
+
prelude_sdk_beta-1404.dist-info/METADATA,sha256=bBrxURVqkxtC6bUKCgl96Kp70j2fBZjzNgD5YuYnx00,1190
|
|
18
|
+
prelude_sdk_beta-1404.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
19
|
+
prelude_sdk_beta-1404.dist-info/top_level.txt,sha256=pqXTtEd5ElvJKoO6HAz232H9FW5j6X7gW4kEEakfSFM,17
|
|
20
|
+
prelude_sdk_beta-1404.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|