agilicus 1.258.9__py3-none-any.whl → 1.258.10__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.258.9/python'
80
+ self.user_agent = 'OpenAPI-Generator/1.258.10/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: 2024.06.06\n"\
390
- "SDK Package Version: 1.258.9".\
390
+ "SDK Package Version: 1.258.10".\
391
391
  format(env=sys.platform, pyversion=sys.version)
392
392
 
393
393
  def get_host_settings(self):
@@ -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: 2024.06.06
7
- - Package version: 1.258.9
7
+ - Package version: 1.258.10
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/main.py CHANGED
@@ -176,6 +176,9 @@ def prompt(ctx):
176
176
  prompt = prompt[len(prefix) :] # noqa
177
177
  else:
178
178
  prompt = org.get("subdomain")
179
+
180
+ if context.get_value(ctx, "NO_PROMPT_COLOUR"):
181
+ return f"{prompt}$ "
179
182
  return f"{Fore.BLUE}{prompt}$ {Fore.RESET}"
180
183
 
181
184
 
@@ -299,6 +302,7 @@ def get_org_id(ctx, org_name=None, org_id=None):
299
302
  @click.option("--refresh", is_flag=True)
300
303
  @click.option("--output-format", default="console", type=str)
301
304
  @click.option("--output-headers", default=None, is_flag=True)
305
+ @click.option("--no-prompt-colour", is_flag=True, default=None)
302
306
  @click.option(
303
307
  "--config",
304
308
  type=click.Path(exists=True, dir_okay=False),
@@ -324,6 +328,7 @@ def cli(
324
328
  authentication_document,
325
329
  output_format,
326
330
  output_headers,
331
+ no_prompt_colour,
327
332
  ):
328
333
  init(autoreset=True)
329
334
  ctx.ensure_object(dict)
@@ -335,6 +340,7 @@ def cli(
335
340
  ctx.obj["AUTH_LOCAL_WEBSERVER"] = auth_local_webserver
336
341
  ctx.obj["ORG_ID"] = org_id
337
342
  ctx.obj["HEADER"] = header
343
+ ctx.obj["NO_PROMPT_COLOUR"] = no_prompt_colour
338
344
  scope_list = list(scope)
339
345
 
340
346
  if admin:
@@ -1025,7 +1031,7 @@ def list_useful_orgs_(ctx, **kwargs):
1025
1031
  @click.option("--updated-since", default=None, type=click.DateTime())
1026
1032
  @click.option("--list-children", default=True, type=bool)
1027
1033
  @click.option("--enabled", default=None, type=bool)
1028
- @click.option("--page-at-id", default=None)
1034
+ @click.option("--page-at-id", default="")
1029
1035
  @click.option("--suborg-updated", default=False, type=bool)
1030
1036
  @click.option("--get-system-options", default=False)
1031
1037
  @click.option(
@@ -1034,7 +1040,7 @@ def list_useful_orgs_(ctx, **kwargs):
1034
1040
  default=100,
1035
1041
  help="number of items in each pagination, useful ONLY when page-at-id is set",
1036
1042
  )
1037
- @click.option("--limit", type=int, default=500)
1043
+ @click.option("--limit", type=int, default=None)
1038
1044
  @click.pass_context
1039
1045
  def list_orgs(ctx, **kwargs):
1040
1046
  output_list_orgs(ctx, orgs.query(ctx, **kwargs))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: agilicus
3
- Version: 1.258.9
3
+ Version: 1.258.10
4
4
  Summary: Agilicus SDK
5
5
  Home-page: https://www.agilicus.com/
6
6
  License: MIT
@@ -71,9 +71,9 @@ agilicus/agilicus_api/api/users_api.py,sha256=yLAZAl2SON8C5_FZyUL96UDWFEyrfYt_th
71
71
  agilicus/agilicus_api/api/users_api_mock.py,sha256=wA_xiqL3Pz3KjljKlsmf5NveLZS1FpbaKJHBp7QvarY,15411
72
72
  agilicus/agilicus_api/api/whoami_api.py,sha256=XHbgEyONFotQ1X2XAU1E2mN_9Ncs6ki7T9G8LyiIw-Q,7941
73
73
  agilicus/agilicus_api/api/whoami_api_mock.py,sha256=rlvZoWnMCqORMZBg7SOv6d3xp52kELdh6wXcCaIZ93w,346
74
- agilicus/agilicus_api/api_client.py,sha256=66BKZ2BjkgaiftYJ2RmZafJaw2TRnXj7LVfm-W52mbY,38845
74
+ agilicus/agilicus_api/api_client.py,sha256=nkvmSqf9DitbWbE6ZZdGpkQPhSyJwKDk883rBdr9NR4,38846
75
75
  agilicus/agilicus_api/apis/__init__.py,sha256=aJZD7x-umdSni6ZBr4XxzpH8pwtU9hA5LlCDxcqa1Q8,2224
76
- agilicus/agilicus_api/configuration.py,sha256=nH6hTf2qikUi6ZF4GKB518jEMnKG08FfIoPZqUenTUE,18447
76
+ agilicus/agilicus_api/configuration.py,sha256=JHVueXlTyyTbY5PishgdJ0Lo_koKUUjywAuPOjOJFu0,18448
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
@@ -2508,7 +2508,7 @@ agilicus/agilicus_api/test/test_x509_root_certificate.py,sha256=7h6jJDszOS9nkg3x
2508
2508
  agilicus/agilicus_api/test/test_x509_root_certificate_spec.py,sha256=eduqxdVo6LmbNfBOLEidxAP9SHRYj6kYOo6mBy_KMzA,2832
2509
2509
  agilicus/agilicus_api/test/test_x509_root_certificate_status.py,sha256=7jWWtzYL6N0hTIfqH3Psy3NFMH0WulPgnRorwphGdIc,2846
2510
2510
  agilicus/agilicus_api/test/test_xss_settings.py,sha256=KHWHiVvdVP2y31GpTpOFFVVTIPS0kETpbS-AK6KoC1A,2746
2511
- agilicus/agilicus_api_README.md,sha256=ZTxopD9OUsPpNo4Fjj1Je4uc3BeF9ARH4xwubGwPfPY,160942
2511
+ agilicus/agilicus_api_README.md,sha256=QBQ-hSzEKDXkCPN3-GLM4mEXhaidd-e8Oc5ravX87oM,160943
2512
2512
  agilicus/aliases.ini,sha256=MxqiVo2f2xdUDVF1YDkNW36AIqN8hrYjlTVfraEUZXY,455
2513
2513
  agilicus/amq.py,sha256=yxi-YTbJPVl10s78Hlr1dmrQR63iaSIoROGVILzFPmE,1775
2514
2514
  agilicus/apps.py,sha256=QMiV9ThED6lqS2l7Jr5Mei7fNBo8FEvPEtCae1NK3Pk,51814
@@ -2558,7 +2558,7 @@ agilicus/labels/labels_main.py,sha256=ptJ34mf-iVaf8ezf3RWLcpeP2O0ntezS4tqJ0ks0el
2558
2558
  agilicus/launchers.py,sha256=r4nctnVtfP-Ho_HXEfAiMaMqJI0u7pbieHSS3Vd0QBE,11361
2559
2559
  agilicus/logs.py,sha256=tS8c_sdre1Dncrl59GVGQ0L3d2jtwlVjvIMl3SHJraY,766
2560
2560
  agilicus/lookups.py,sha256=MNmNsKpP7Fq_poLAnL9xo_iptFilKM9ziGLyIe8VKaw,669
2561
- agilicus/main.py,sha256=TFXBLbHvlZV_LvzQdb0uPEzhG8uUnWWwFTNByf5iYH8,269034
2561
+ agilicus/main.py,sha256=lGbzH7QPpMWGtqQsCILMkT5OvFcHXD0DPEyZ9Lr94ZY,269251
2562
2562
  agilicus/messages.py,sha256=Ydm-VhAsK23UnYdstv_HsOybBODfui5ubKc7F8R_dsw,5187
2563
2563
  agilicus/metrics.py,sha256=v4rwpvqDzeNG5GKNoZ7t34X5qUgly5IW2s-kXlS2vQM,2315
2564
2564
  agilicus/orgs.py,sha256=SPDKJPjZQfqdbNXTIc2Ae5gktEio5Llvs0Bqvh4wFP0,14127
@@ -2599,8 +2599,8 @@ agilicus/trusted_certs/trusted_certs_main.py,sha256=6dHHWXvNIcUa_nA9ptigL4Vibe4n
2599
2599
  agilicus/users.py,sha256=JT7TIiUOtSFXPOdxmIVFm7ygZTH1FjsIkD9j-vjLuMM,38474
2600
2600
  agilicus/version.py,sha256=G9OFdL1v_4dLDfk6I6taDNypM5bbO-JHAwilsu9LYgg,23
2601
2601
  agilicus/whoami.py,sha256=kqghtWMgZOd2rhKmfguDwCTm6A3gNS8Kj-S2IBxBtl0,206
2602
- agilicus-1.258.9.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2603
- agilicus-1.258.9.dist-info/METADATA,sha256=lIdxTO6QfFNdRTkR3TQZ3NEwYDpRnbbdaNbbAAXUv6A,3822
2604
- agilicus-1.258.9.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
2605
- agilicus-1.258.9.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2606
- agilicus-1.258.9.dist-info/RECORD,,
2602
+ agilicus-1.258.10.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2603
+ agilicus-1.258.10.dist-info/METADATA,sha256=HwtI33h6NzbS2pIddDw9laPgVdtXHz-xgYvaM3PwGPE,3823
2604
+ agilicus-1.258.10.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
2605
+ agilicus-1.258.10.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2606
+ agilicus-1.258.10.dist-info/RECORD,,