hcs-core 0.1.311__py3-none-any.whl → 0.1.313__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.
hcs_core/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.1.311"
1
+ __version__ = "0.1.313"
hcs_core/ctxp/util.py CHANGED
@@ -71,6 +71,8 @@ def print_output(data: Any, args: dict, file=sys.stdout):
71
71
  try:
72
72
  data = _convert_generator(data)
73
73
  if first and isinstance(data, list):
74
+ if len(data) == 0:
75
+ return
74
76
  data = data[0]
75
77
 
76
78
  if ids:
@@ -39,6 +39,7 @@ _public_client_ids = {
39
39
  }
40
40
 
41
41
  _auth_code_event = threading.Event()
42
+ _auth_code_event.value = None
42
43
  _state = None
43
44
 
44
45
  _auth_success_html = """
@@ -65,7 +66,7 @@ _auth_success_html = """
65
66
  <h3>You have successfully logged into Omnissa Horizon Cloud Service.</h3>
66
67
  <p>You can close this window, and return to the terminal.</p>
67
68
  <br/>
68
- <p><a href="https://github.com/euc-eng/hcs-cli/blob/dev/README.md">HCS CLI</a> is in beta. <a href="https://github.com/euc-eng/hcs-cli/blob/main/doc/hcs-cli-cheatsheet.md">Cheatsheet</a>:</p>
69
+ <p><a href="https://github.com/euc-eng/hcs-cli/blob/dev/README.md">HCS CLI</a> is in tech preview. <a href="https://github.com/euc-eng/hcs-cli/blob/main/doc/hcs-cli-cheatsheet.md">Cheatsheet</a>:</p>
69
70
  <code>
70
71
  # To get the login details: <br/>
71
72
  hcs login -d <br/><br/>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hcs-core
3
- Version: 0.1.311
3
+ Version: 0.1.313
4
4
  Summary: Horizon Cloud Service CLI module.
5
5
  Project-URL: Homepage, https://github.com/euc-eng/hcs-cli
6
6
  Project-URL: Bug Tracker, https://github.com/euc-eng/hcs-cli/issues
@@ -9,7 +9,7 @@ Project-URL: repository, https://github.com/euc-eng/hcs-cli
9
9
  Project-URL: changelog, https://github.com/euc-eng/hcs-cli/blob/main/CHANGELOG.md
10
10
  Author-email: Nanw1103 <nanw1103@gmail.com>
11
11
  Keywords: CLI,Horizon,Horizon Cloud,Horizon Cloud Service
12
- Classifier: Development Status :: 4 - Beta
12
+ Classifier: Development Status :: 3 - Alpha
13
13
  Classifier: License :: OSI Approved :: MIT License
14
14
  Classifier: Operating System :: OS Independent
15
15
  Classifier: Programming Language :: Python :: 3
@@ -1,4 +1,4 @@
1
- hcs_core/__init__.py,sha256=9H2E7gsFfp4fNtlv_e0bv4hxJy6ERmdLjdYmgqd-aj0,24
1
+ hcs_core/__init__.py,sha256=WUsYH68HW-cGF4Hs82X2MhPp086sIpyvDk8iadGoVtM,24
2
2
  hcs_core/ctxp/__init__.py,sha256=bHVHhJP10Luz1a3Kk3zFx14dAO4SY6Q20Lrv8rNWWGc,1075
3
3
  hcs_core/ctxp/_init.py,sha256=fMcRMPfJx-N0c-u0Zj2sFVKQL1-lWQd28gooAZETGUA,2933
4
4
  hcs_core/ctxp/cli_options.py,sha256=KFu9_cRB1OyXaZJFLDCb3PpuQ0_5-ou2cdaL_q0_Lns,3098
@@ -22,7 +22,7 @@ hcs_core/ctxp/task_schd.py,sha256=mvZMeKDSSo2p7VidSoZY1XZj433TQn_YF9SGJEzl9lg,45
22
22
  hcs_core/ctxp/telemetry.py,sha256=tSjI_8OE2Ix3n--YHAO9sPmzi8ETbFHEPxzS52-usmM,3476
23
23
  hcs_core/ctxp/template_util.py,sha256=XslvIuRBlTVsUW0Y9M_D8gUPc1jWq6X2p4At2VAe1KU,731
24
24
  hcs_core/ctxp/timeutil.py,sha256=RyRrIRdFHbIghdB8wbC8VdABvc7hki2v51b1x2JvHgo,445
25
- hcs_core/ctxp/util.py,sha256=29TnUNHmbwVDWUHHMdlVw-dk0c5ffT9n2uyOD6P6CiA,14348
25
+ hcs_core/ctxp/util.py,sha256=XEwmBvXeCtm8hHBcO6VVAmCh4wFFI504ecI0F_f6wh4,14410
26
26
  hcs_core/ctxp/var_template.py,sha256=cTjj1UJ58ac6s5z4Oh5hSDQwKixq-rdbCF1D8akjAo0,3219
27
27
  hcs_core/ctxp/built_in_cmds/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
28
  hcs_core/ctxp/built_in_cmds/_ut.py,sha256=e50XBmPim2qRe0RYk_XAuRz1HWYyLJuMu-6dVxWR_fQ,3356
@@ -49,7 +49,7 @@ hcs_core/sglib/csp.py,sha256=UcO68YtLOPDQWiTjPVIPwQ2Z-Mywc-154aoIkLdyzwE,10991
49
49
  hcs_core/sglib/ez_client.py,sha256=dWQx-EMTrySz1EVzsSu4ZezORR3_iEOAcZigtbuvIQ8,8404
50
50
  hcs_core/sglib/hcs_client.py,sha256=pjrAVQDEy2tiQMypMpOzODFntT6aNHXjje8or_mkL2U,804
51
51
  hcs_core/sglib/init.py,sha256=w_0ZU70Q1TGbSZsqSi7ewKQqpExFlepOT7mIqH0wnho,310
52
- hcs_core/sglib/login_support.py,sha256=_nsskuPTw_D48afzWDdFrEijrVwJhzvuqW3Q6VNnGMo,8039
52
+ hcs_core/sglib/login_support.py,sha256=tniRhn4V5eUAgixi_FLTemzBnOrruLgvx6NsLLx3hTA,8077
53
53
  hcs_core/sglib/payload_util.py,sha256=Hnj7rjzrQ1j5gpbrwZX34biN8MIZjy6dOJZ63ulmzdw,685
54
54
  hcs_core/sglib/requtil.py,sha256=O37DrD4VVBmmRkkHJLbDtPfFq8l6fLZwYZggt2FTEFc,920
55
55
  hcs_core/sglib/utils.py,sha256=8a-e-nUhAbulZtV05CB5loov6Kgq8_Q0TxYwfvu7Bj8,3178
@@ -64,6 +64,6 @@ hcs_core/util/query_util.py,sha256=uYfcEF_00eUs_S5OK64zpH0cnb6dwy91_J1OY5ZrFVs,3
64
64
  hcs_core/util/scheduler.py,sha256=bPpCmGUL1UctJMfLPAg-h4Hl2YZr96FiI78-G_Usn08,2958
65
65
  hcs_core/util/ssl_util.py,sha256=MvU102fGwWWh9hhSmLnn1qQIWuD6TjZnN0iH0MXUtW0,1239
66
66
  hcs_core/util/versions.py,sha256=6nyyZzi3P69WQfioPc2_YWZQcUc13mC1eKoK58b3WUQ,1709
67
- hcs_core-0.1.311.dist-info/METADATA,sha256=9_vodt4mlbktd2m191n2DUbXGkTwI4RcLmePyrnsfAE,1951
68
- hcs_core-0.1.311.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
69
- hcs_core-0.1.311.dist-info/RECORD,,
67
+ hcs_core-0.1.313.dist-info/METADATA,sha256=FV4c4GCzeN0pCmj0CQQqSUleTgFYdiQQgZV4teu1Hr0,1952
68
+ hcs_core-0.1.313.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
69
+ hcs_core-0.1.313.dist-info/RECORD,,