hcs-core 0.1.281__py3-none-any.whl → 0.1.282__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.281"
1
+ __version__ = "0.1.282"
hcs_core/ctxp/_init.py CHANGED
@@ -23,6 +23,8 @@ from . import cli_processor, config, profile, state
23
23
 
24
24
 
25
25
  def _get_store_path():
26
+ if os.name == "nt": # Windows OS
27
+ return str(Path.home())
26
28
  uid = os.getuid()
27
29
  if uid == 0 or uid == 1000:
28
30
  return "/tmp"
hcs_core/sglib/auth.py CHANGED
@@ -130,6 +130,7 @@ class MyOAuth2Client(OAuth2Client):
130
130
  super().__init__()
131
131
 
132
132
  def ensure_token(self):
133
+ # pylint: disable=access-member-before-definition
133
134
  if self.token is None or not super().ensure_active_token():
134
135
  self.token = login()
135
136
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hcs-core
3
- Version: 0.1.281
3
+ Version: 0.1.282
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
@@ -1,6 +1,6 @@
1
- hcs_core/__init__.py,sha256=PhcggdepTEiHhBsguRHiuFms-AlPBp74yWoV9F6EghI,24
1
+ hcs_core/__init__.py,sha256=Jfi46RxCoBJZUyEOPruwtx2aH666Z3W505S836AQ7KM,24
2
2
  hcs_core/ctxp/__init__.py,sha256=bHVHhJP10Luz1a3Kk3zFx14dAO4SY6Q20Lrv8rNWWGc,1075
3
- hcs_core/ctxp/_init.py,sha256=Ii62Na-G1XBkHyLIP_w-OZP5o6VeBnNXRvYXQqQ-P3o,2724
3
+ hcs_core/ctxp/_init.py,sha256=7yFCIJLNp6joUahm58EK2X5OeCKNGM5rmmdPDpZ3Z7o,2794
4
4
  hcs_core/ctxp/cli_options.py,sha256=g5JnzOtyWiGLCLcGp5x54MPFLW_NOfhfevXUlX5L8tM,2532
5
5
  hcs_core/ctxp/cli_processor.py,sha256=2RhBz7zFm2UDRwbMDwBpeAQQCt4sjZJzn1nePAcMA_o,7329
6
6
  hcs_core/ctxp/cmd_util.py,sha256=_-VwQSmkfi52qWC3uHQI06mSiIPfsZroDruTDYHXiMA,3119
@@ -41,7 +41,7 @@ hcs_core/plan/provider/dev/_prepare.py,sha256=PvVnheEQwpj8sWYz2lDONQVTs4pHPYuo2c
41
41
  hcs_core/plan/provider/dev/dummy.py,sha256=zKEr9J4WHhlN5gFdmrFyEfCF0xlQlCJg0CC1dG9VaLA,1958
42
42
  hcs_core/plan/provider/dev/fibonacci.py,sha256=8WhDr5c9harNAlVPZomQJEqbWe0hUqbppO6ZkwEUcJ0,1104
43
43
  hcs_core/sglib/__init__.py,sha256=oT0etW7vsEbHlXiGL5x23ZXyyFqeLi81RxQQ5lfKSV0,654
44
- hcs_core/sglib/auth.py,sha256=sjOEmV2hqrWs385wmQy5U6HHAVrhiaL4mPavXMioTzw,5990
44
+ hcs_core/sglib/auth.py,sha256=4NeCVHTzTvTG6JuQqjEr9fsPG_XxMD3tcBvZ5XVRm6s,6048
45
45
  hcs_core/sglib/cli_options.py,sha256=NvdiHpX_o6IYPEM8cQYLb_R7T4aiXVvYLqn6Vk4Q2-Y,1761
46
46
  hcs_core/sglib/client_util.py,sha256=77oqjWjy8DB6mKawIyUu7HaHQsQXZRYQB4_v_I7LbZ4,10674
47
47
  hcs_core/sglib/csp.py,sha256=anZqbQLIZw831PgW9Z4pweqfAeBH7rXPIAkwkyPkfGY,8054
@@ -63,6 +63,6 @@ hcs_core/util/query_util.py,sha256=5bh3bUVIQuY9qerndfuyfyzkTExYJ8zD0_e3PSN7y-4,3
63
63
  hcs_core/util/scheduler.py,sha256=bPpCmGUL1UctJMfLPAg-h4Hl2YZr96FiI78-G_Usn08,2958
64
64
  hcs_core/util/ssl_util.py,sha256=MvU102fGwWWh9hhSmLnn1qQIWuD6TjZnN0iH0MXUtW0,1239
65
65
  hcs_core/util/versions.py,sha256=wwbcYFpxBohI-QjcrmxGsNghdnx4EWHBipMUL7vnpwM,1728
66
- hcs_core-0.1.281.dist-info/METADATA,sha256=KlItrPz8eUi0giXKO9uKjN2oirthlMg-TEUMmAHAFlQ,1837
67
- hcs_core-0.1.281.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
68
- hcs_core-0.1.281.dist-info/RECORD,,
66
+ hcs_core-0.1.282.dist-info/METADATA,sha256=skrCQy0zO94e9GsawF3UxXpAaPKjbiw5jCgPhg8VRlg,1837
67
+ hcs_core-0.1.282.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
68
+ hcs_core-0.1.282.dist-info/RECORD,,