aap-utils 0.2.18__py3-none-any.whl → 0.2.19__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.
- aap_utils/cli.py +1 -8
- {aap_utils-0.2.18.dist-info → aap_utils-0.2.19.dist-info}/METADATA +1 -1
- aap_utils-0.2.19.dist-info/RECORD +8 -0
- aap_utils-0.2.18.dist-info/RECORD +0 -8
- {aap_utils-0.2.18.dist-info → aap_utils-0.2.19.dist-info}/WHEEL +0 -0
- {aap_utils-0.2.18.dist-info → aap_utils-0.2.19.dist-info}/entry_points.txt +0 -0
- {aap_utils-0.2.18.dist-info → aap_utils-0.2.19.dist-info}/top_level.txt +0 -0
aap_utils/cli.py
CHANGED
@@ -91,20 +91,13 @@ def publish_env():
|
|
91
91
|
except requests.RequestException as e:
|
92
92
|
print(f"❌ Error connecting to the server: {e}")
|
93
93
|
|
94
|
-
|
95
|
-
def get_ssh_password_if_prompted(prompt_bytes):
|
96
|
-
return "aiplatform"
|
97
|
-
|
98
|
-
|
99
94
|
def main():
|
100
95
|
import sys
|
101
96
|
if len(sys.argv) > 2 and sys.argv[1] == "push" and sys.argv[2] == "env":
|
102
97
|
publish_env()
|
103
98
|
elif len(sys.argv) > 1 and "password" in sys.argv[1]:
|
104
99
|
# Example: python aap_utils.py b "\raiplatform@172.20.0.11's password:\n"
|
105
|
-
|
106
|
-
password = get_ssh_password_if_prompted(prompt)
|
107
|
-
print(password)
|
100
|
+
print("aiplatform")
|
108
101
|
else:
|
109
102
|
print("Usage:")
|
110
103
|
print(" aap_utils push env")
|
@@ -0,0 +1,8 @@
|
|
1
|
+
aap_utils/__init__.py,sha256=g6G3i3a5ANDJWqFX2oPsLpP93aTaoTj0gkMQzeqQIJw,172
|
2
|
+
aap_utils/cli.py,sha256=T2j7U8JA-fnmtorTaKdvt8oi-DBRAtJvfxAZJsheiy4,3955
|
3
|
+
aap_utils/register.py,sha256=0okAQ8b8wVtT_bSFCAsV3pcVOTifLHfkyCZzvLSpsYc,3964
|
4
|
+
aap_utils-0.2.19.dist-info/METADATA,sha256=5PrYnWh16AggT0Lh9Ed6KMndt6F0MI1ZyU5raj_AbI0,373
|
5
|
+
aap_utils-0.2.19.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
6
|
+
aap_utils-0.2.19.dist-info/entry_points.txt,sha256=K-h2toLoqFxAg4Bx2r7FWggKgYnAX9zp9s4Ms4r-d6s,49
|
7
|
+
aap_utils-0.2.19.dist-info/top_level.txt,sha256=Qt5xmL8_0_jhMl9uA3lg-xnvs4nCEyVj1tBE4vnp36M,10
|
8
|
+
aap_utils-0.2.19.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
aap_utils/__init__.py,sha256=g6G3i3a5ANDJWqFX2oPsLpP93aTaoTj0gkMQzeqQIJw,172
|
2
|
-
aap_utils/cli.py,sha256=3aRyq4bj0MRn535uy6ptc5JD1Iib6wctc6Kz3XjTzM0,4128
|
3
|
-
aap_utils/register.py,sha256=0okAQ8b8wVtT_bSFCAsV3pcVOTifLHfkyCZzvLSpsYc,3964
|
4
|
-
aap_utils-0.2.18.dist-info/METADATA,sha256=PMsu5lpmisSq8dS3VX2YdeRy86uGkzEo2PvxP8OPZMo,373
|
5
|
-
aap_utils-0.2.18.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
6
|
-
aap_utils-0.2.18.dist-info/entry_points.txt,sha256=K-h2toLoqFxAg4Bx2r7FWggKgYnAX9zp9s4Ms4r-d6s,49
|
7
|
-
aap_utils-0.2.18.dist-info/top_level.txt,sha256=Qt5xmL8_0_jhMl9uA3lg-xnvs4nCEyVj1tBE4vnp36M,10
|
8
|
-
aap_utils-0.2.18.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|