agilicus 1.284.3__py3-none-any.whl → 1.284.4__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.
- agilicus/agilicus_api/api_client.py +1 -1
- agilicus/agilicus_api/configuration.py +1 -1
- agilicus/agilicus_api_README.md +1 -1
- agilicus/orgs.py +10 -3
- {agilicus-1.284.3.dist-info → agilicus-1.284.4.dist-info}/METADATA +1 -1
- {agilicus-1.284.3.dist-info → agilicus-1.284.4.dist-info}/RECORD +9 -9
- {agilicus-1.284.3.dist-info → agilicus-1.284.4.dist-info}/LICENSE.txt +0 -0
- {agilicus-1.284.3.dist-info → agilicus-1.284.4.dist-info}/WHEEL +0 -0
- {agilicus-1.284.3.dist-info → agilicus-1.284.4.dist-info}/entry_points.txt +0 -0
@@ -77,7 +77,7 @@ class ApiClient(object):
|
|
77
77
|
self.default_headers[header_name] = header_value
|
78
78
|
self.cookie = cookie
|
79
79
|
# Set default User-Agent.
|
80
|
-
self.user_agent = 'OpenAPI-Generator/1.284.
|
80
|
+
self.user_agent = 'OpenAPI-Generator/1.284.4/python'
|
81
81
|
|
82
82
|
def __enter__(self):
|
83
83
|
return self
|
@@ -387,7 +387,7 @@ class Configuration(object):
|
|
387
387
|
"OS: {env}\n"\
|
388
388
|
"Python Version: {pyversion}\n"\
|
389
389
|
"Version of the API: 2025.03.24\n"\
|
390
|
-
"SDK Package Version: 1.284.
|
390
|
+
"SDK Package Version: 1.284.4".\
|
391
391
|
format(env=sys.platform, pyversion=sys.version)
|
392
392
|
|
393
393
|
def get_host_settings(self):
|
agilicus/agilicus_api_README.md
CHANGED
@@ -4,7 +4,7 @@ Agilicus is API-first. Modern software is controlled by other software, is open,
|
|
4
4
|
The `agilicus_api` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
5
5
|
|
6
6
|
- API version: 2025.03.24
|
7
|
-
- Package version: 1.284.
|
7
|
+
- Package version: 1.284.4
|
8
8
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
9
9
|
For more information, please visit [https://www.agilicus.com/api](https://www.agilicus.com/api)
|
10
10
|
|
agilicus/orgs.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import dataclasses
|
2
2
|
import json
|
3
3
|
import operator
|
4
|
+
import sys
|
4
5
|
|
5
6
|
import requests
|
6
7
|
|
@@ -231,9 +232,15 @@ def add(ctx, **kwargs):
|
|
231
232
|
apiclient = context.get_apiclient(ctx)
|
232
233
|
kwargs = strip_none(kwargs)
|
233
234
|
org = agilicus_api.Organisation(**kwargs)
|
234
|
-
|
235
|
-
|
236
|
-
|
235
|
+
try:
|
236
|
+
return apiclient.org_api.create_org(org).to_dict()
|
237
|
+
except agilicus_api.ApiException as e:
|
238
|
+
if e.status == 409:
|
239
|
+
print(f"error creating org reason: {e.reason}", file=sys.stderr)
|
240
|
+
# If there's a conflict
|
241
|
+
return json.loads(e.body)
|
242
|
+
else:
|
243
|
+
raise
|
237
244
|
|
238
245
|
|
239
246
|
def add_suborg(
|
@@ -71,9 +71,9 @@ agilicus/agilicus_api/api/users_api.py,sha256=xEdDP8ecx7BKglEVDxx6BEjSMKdQ_Rv77M
|
|
71
71
|
agilicus/agilicus_api/api/users_api_mock.py,sha256=OwIrqWy2lYEnE7JZSJ0koHvgcAXdWvWVn8rvUgdB5p0,16880
|
72
72
|
agilicus/agilicus_api/api/whoami_api.py,sha256=OJHEnv1nu4OwCb464ZhnEBZv38J5nv-Buiu0XHYfxcs,7941
|
73
73
|
agilicus/agilicus_api/api/whoami_api_mock.py,sha256=rlvZoWnMCqORMZBg7SOv6d3xp52kELdh6wXcCaIZ93w,346
|
74
|
-
agilicus/agilicus_api/api_client.py,sha256=
|
74
|
+
agilicus/agilicus_api/api_client.py,sha256=W7u7lSzCqxqlWNPMpZOQAIdg9661P3YxmovsQ9LYJaU,38845
|
75
75
|
agilicus/agilicus_api/apis/__init__.py,sha256=aJZD7x-umdSni6ZBr4XxzpH8pwtU9hA5LlCDxcqa1Q8,2224
|
76
|
-
agilicus/agilicus_api/configuration.py,sha256=
|
76
|
+
agilicus/agilicus_api/configuration.py,sha256=FC4gI6wQ0vzoj0dnamimTEIcmDWNxf83Y8mA2VLG33A,18447
|
77
77
|
agilicus/agilicus_api/docs/APIKey.md,sha256=4cKuz4_l9HcEDnUrLwYbEnn9C2WoDayrjfrY1Ixgaf4,1747
|
78
78
|
agilicus/agilicus_api/docs/APIKeyIntrospect.md,sha256=nJ-zkuFm3JMbWFDYYN_vYyQk1snGBtBvIxtCQxamhAU,1019
|
79
79
|
agilicus/agilicus_api/docs/APIKeyIntrospectAuthorizationInfo.md,sha256=7RApOOLjvWQs5sw2jb25g7i3Kta1BiEY-s8VRXfppH8,725
|
@@ -2628,7 +2628,7 @@ agilicus/agilicus_api/test/test_x509_root_certificate.py,sha256=188_fXus6nONsQva
|
|
2628
2628
|
agilicus/agilicus_api/test/test_x509_root_certificate_spec.py,sha256=0bSAr637x6qCiNOKSuzMO5fOnO5HdjcGedCMxEyS7Ec,2832
|
2629
2629
|
agilicus/agilicus_api/test/test_x509_root_certificate_status.py,sha256=jPqiyIRSapU3XYDTcap46OHynvLloFnm0zdmuOghrVI,2846
|
2630
2630
|
agilicus/agilicus_api/test/test_xss_settings.py,sha256=Q2CthnrJfofIO36kLp9OqK9A6oy-ghpXaPUPhPHGFA8,2746
|
2631
|
-
agilicus/agilicus_api_README.md,sha256=
|
2631
|
+
agilicus/agilicus_api_README.md,sha256=uC9c6UDZtxjC1F-VImlN6UhBkjIJ4HoS8phcicjj3IY,169354
|
2632
2632
|
agilicus/aliases.ini,sha256=MxqiVo2f2xdUDVF1YDkNW36AIqN8hrYjlTVfraEUZXY,455
|
2633
2633
|
agilicus/amq.py,sha256=yxi-YTbJPVl10s78Hlr1dmrQR63iaSIoROGVILzFPmE,1775
|
2634
2634
|
agilicus/apps.py,sha256=Mdc_pRXyfa-IvIFH7gNbx0Ob64gUHggZyeSyLUDpjMs,54048
|
@@ -2685,7 +2685,7 @@ agilicus/messages/__init__.py,sha256=cVqfaKUndO-AYfppkdFICM5WvYFFB1hRjXihFWmiGPQ
|
|
2685
2685
|
agilicus/messages/messages.py,sha256=b2eO6BaWI9UZTLETcdy1NotyuNlKIJf6CS_TUzehuk4,9175
|
2686
2686
|
agilicus/messages/messages_main.py,sha256=A0xucYwwUZFIuUc0bAyAqVwofErakmyawq5bwhZKcOU,1598
|
2687
2687
|
agilicus/metrics.py,sha256=v4rwpvqDzeNG5GKNoZ7t34X5qUgly5IW2s-kXlS2vQM,2315
|
2688
|
-
agilicus/orgs.py,sha256=
|
2688
|
+
agilicus/orgs.py,sha256=PwiKYJQDXXrv6tVSHslBHMjJvRthXns1CP4vRdYbvLk,15486
|
2689
2689
|
agilicus/output/__init__.py,sha256=UKZbHS4t15vazJuN46FN-3HHqkxMXU0p3df2VcsSLcY,110
|
2690
2690
|
agilicus/output/column_builder.py,sha256=TWo4t8ygaTUv7qjD_moDroD1bKzzyTIao0FmLy5gs4o,4284
|
2691
2691
|
agilicus/output/console.py,sha256=xBURxlA7H1kmQ7zIKuifs_aQJq1cvmCJ5CtQVSo3_Ns,400
|
@@ -2725,8 +2725,8 @@ agilicus/trusted_certs/trusted_certs_main.py,sha256=6dHHWXvNIcUa_nA9ptigL4Vibe4n
|
|
2725
2725
|
agilicus/users.py,sha256=-LuH9FHaGNWIEqpmgyJx3gfhW5fmkZHWP-G8wKExWpw,41165
|
2726
2726
|
agilicus/version.py,sha256=G9OFdL1v_4dLDfk6I6taDNypM5bbO-JHAwilsu9LYgg,23
|
2727
2727
|
agilicus/whoami.py,sha256=kqghtWMgZOd2rhKmfguDwCTm6A3gNS8Kj-S2IBxBtl0,206
|
2728
|
-
agilicus-1.284.
|
2729
|
-
agilicus-1.284.
|
2730
|
-
agilicus-1.284.
|
2731
|
-
agilicus-1.284.
|
2732
|
-
agilicus-1.284.
|
2728
|
+
agilicus-1.284.4.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
|
2729
|
+
agilicus-1.284.4.dist-info/METADATA,sha256=afmWD_qjI6XwHnF2b1R5g5FGMdnLh2pf6xU_CRL8cSU,3878
|
2730
|
+
agilicus-1.284.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
2731
|
+
agilicus-1.284.4.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
|
2732
|
+
agilicus-1.284.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|