agilicus 1.258.1__py3-none-any.whl → 1.258.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.
@@ -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.1/python'
80
+ self.user_agent = 'OpenAPI-Generator/1.258.2/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.05.28\n"\
390
- "SDK Package Version: 1.258.1".\
390
+ "SDK Package Version: 1.258.2".\
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.05.28
7
- - Package version: 1.258.1
7
+ - Package version: 1.258.2
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/context.py CHANGED
@@ -118,10 +118,12 @@ def get_api_config():
118
118
 
119
119
 
120
120
  def get_value(ctx, value):
121
- if value in ctx.obj:
121
+ global CONTEXT
122
+ if ctx.obj and value in ctx.obj:
122
123
  return ctx.obj[value]
123
- if value in CONTEXT.obj:
124
+ if CONTEXT.obj and value in CONTEXT.obj:
124
125
  return CONTEXT.obj[value]
126
+ raise Exception(f"no value from in ctx for {value}")
125
127
 
126
128
 
127
129
  def get_token(ctx, **kwargs):
agilicus/main.py CHANGED
@@ -180,7 +180,6 @@ def prompt(ctx):
180
180
 
181
181
 
182
182
  def app_completion(ctx, args, incomplete):
183
- context.setup(ctx)
184
183
  _apps = apps.query(ctx)
185
184
  results = []
186
185
  for _app in _apps:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: agilicus
3
- Version: 1.258.1
3
+ Version: 1.258.2
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=zw7jOu9LOVSqACdYGFu6XDxSpghppyTiV3
71
71
  agilicus/agilicus_api/api/users_api_mock.py,sha256=wA_xiqL3Pz3KjljKlsmf5NveLZS1FpbaKJHBp7QvarY,15411
72
72
  agilicus/agilicus_api/api/whoami_api.py,sha256=FYtUQxp7hUW6YeiOVKhUZIp4_y2-oXQT-_TttcSQbv0,7941
73
73
  agilicus/agilicus_api/api/whoami_api_mock.py,sha256=rlvZoWnMCqORMZBg7SOv6d3xp52kELdh6wXcCaIZ93w,346
74
- agilicus/agilicus_api/api_client.py,sha256=7FSZnpmTOyEzVogkgyFC-wP5PII9E5CKpaSiaZ1FtQ4,38845
74
+ agilicus/agilicus_api/api_client.py,sha256=5jEIIPrU__rH0kjATYztcxZl8m6hcs1QS1zQMpdW6wE,38845
75
75
  agilicus/agilicus_api/apis/__init__.py,sha256=aJZD7x-umdSni6ZBr4XxzpH8pwtU9hA5LlCDxcqa1Q8,2224
76
- agilicus/agilicus_api/configuration.py,sha256=M3VZDIFkikoaKdJTVS88obQxvGdal_zfsEIVHfhCpFE,18447
76
+ agilicus/agilicus_api/configuration.py,sha256=0puTZEOlTbhBfZEyM6FF2jUs_YtxkjcVfCF15OBiPAg,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
@@ -2490,7 +2490,7 @@ agilicus/agilicus_api/test/test_x509_root_certificate.py,sha256=EuKBk3E5Q69NegF6
2490
2490
  agilicus/agilicus_api/test/test_x509_root_certificate_spec.py,sha256=8S9OkTZk25eKw78TPqKxkswp5QcgOR-6NL_Cqp9JbIM,2832
2491
2491
  agilicus/agilicus_api/test/test_x509_root_certificate_status.py,sha256=q0VOBG-VBjK5f-uKRoHP02eumotSdiDFdwyxgqJX0MM,2846
2492
2492
  agilicus/agilicus_api/test/test_xss_settings.py,sha256=FpTQN0fp-Nt1xVyaCUi6LyjsxH0gwFdQqh6zunhaMKM,2746
2493
- agilicus/agilicus_api_README.md,sha256=r0BJmk31PkORBbSTGUG1TjdHjyse89EhSWTZ4MEV8U8,160015
2493
+ agilicus/agilicus_api_README.md,sha256=gspdDLl-YAPAddtYYI7T-vpp3jMZOigWWudhrhujJ68,160015
2494
2494
  agilicus/aliases.ini,sha256=MxqiVo2f2xdUDVF1YDkNW36AIqN8hrYjlTVfraEUZXY,455
2495
2495
  agilicus/amq.py,sha256=yxi-YTbJPVl10s78Hlr1dmrQR63iaSIoROGVILzFPmE,1775
2496
2496
  agilicus/apps.py,sha256=QMiV9ThED6lqS2l7Jr5Mei7fNBo8FEvPEtCae1NK3Pk,51814
@@ -2503,7 +2503,7 @@ agilicus/challenges.py,sha256=Ig9888pHGMigBxI_e8m2T_HZiqbU6TxsBXT2EKZoIUY,6968
2503
2503
  agilicus/click_extension.py,sha256=uE57TjMqJxO9VFPBJO5-bTo9UrQiHPjIdI_iwKSaw6Q,224
2504
2504
  agilicus/client_secrets.json,sha256=eyPFVzziH48RuwWl66cfi0JE4jpmoec0Vo_F2TzYOeI,414
2505
2505
  agilicus/connectors.py,sha256=RhnLMxQNNEgmkh9lCSQazL0uovt7lFuJJ1Eo1Wv9qqE,41229
2506
- agilicus/context.py,sha256=oVFdGEgFk7z5eSVDmOwqxB0MXoKiNChBH_tyjbV1zEs,8024
2506
+ agilicus/context.py,sha256=tlmtUK5B1G-gBqfmljaPKPhLKur92jgAi5xC9SA7AVs,8128
2507
2507
  agilicus/create.py,sha256=ZBZS0FmGhtBO7HUST5ljri2R786y80cDeg8sd1uJnd0,3004
2508
2508
  agilicus/credentials.py,sha256=F3yPAwoMcziP1OLmzeJ8jIz1W-91-HXu4zcymyMp1E4,4730
2509
2509
  agilicus/credentials_commands/credentials.py,sha256=YduI2SJR8nJgFuAloNowy16_s-rdVLZLDkuQvk_YmAg,3574
@@ -2540,7 +2540,7 @@ agilicus/labels/labels_main.py,sha256=ptJ34mf-iVaf8ezf3RWLcpeP2O0ntezS4tqJ0ks0el
2540
2540
  agilicus/launchers.py,sha256=r4nctnVtfP-Ho_HXEfAiMaMqJI0u7pbieHSS3Vd0QBE,11361
2541
2541
  agilicus/logs.py,sha256=tS8c_sdre1Dncrl59GVGQ0L3d2jtwlVjvIMl3SHJraY,766
2542
2542
  agilicus/lookups.py,sha256=MNmNsKpP7Fq_poLAnL9xo_iptFilKM9ziGLyIe8VKaw,669
2543
- agilicus/main.py,sha256=WjkTr0xumbotIMEMUmN1NqMfax3-mDLxOrmOUDXgRjo,268099
2543
+ agilicus/main.py,sha256=3wg4x-_Zx3nJSQrL0mEHPQU4HeDu9zsfrIs73gyiRuA,268076
2544
2544
  agilicus/messages.py,sha256=Ydm-VhAsK23UnYdstv_HsOybBODfui5ubKc7F8R_dsw,5187
2545
2545
  agilicus/metrics.py,sha256=v4rwpvqDzeNG5GKNoZ7t34X5qUgly5IW2s-kXlS2vQM,2315
2546
2546
  agilicus/orgs.py,sha256=SPDKJPjZQfqdbNXTIc2Ae5gktEio5Llvs0Bqvh4wFP0,14127
@@ -2581,8 +2581,8 @@ agilicus/trusted_certs/trusted_certs_main.py,sha256=6dHHWXvNIcUa_nA9ptigL4Vibe4n
2581
2581
  agilicus/users.py,sha256=JT7TIiUOtSFXPOdxmIVFm7ygZTH1FjsIkD9j-vjLuMM,38474
2582
2582
  agilicus/version.py,sha256=G9OFdL1v_4dLDfk6I6taDNypM5bbO-JHAwilsu9LYgg,23
2583
2583
  agilicus/whoami.py,sha256=kqghtWMgZOd2rhKmfguDwCTm6A3gNS8Kj-S2IBxBtl0,206
2584
- agilicus-1.258.1.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2585
- agilicus-1.258.1.dist-info/METADATA,sha256=ZJGZNgyt9n2Lz_TRiavRMP0iFxL1Lo1GDUu4YLofzKE,3822
2586
- agilicus-1.258.1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
2587
- agilicus-1.258.1.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2588
- agilicus-1.258.1.dist-info/RECORD,,
2584
+ agilicus-1.258.2.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2585
+ agilicus-1.258.2.dist-info/METADATA,sha256=4kh8eZppjQfZSXAXesEgl8KCZG8ZX3i2fBp-tF-G0uQ,3822
2586
+ agilicus-1.258.2.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
2587
+ agilicus-1.258.2.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2588
+ agilicus-1.258.2.dist-info/RECORD,,