aap-utils 0.2.1__tar.gz → 0.2.2__tar.gz
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-0.2.1 → aap_utils-0.2.2}/PKG-INFO +1 -1
- {aap_utils-0.2.1 → aap_utils-0.2.2}/aap_utils/cli.py +4 -4
- {aap_utils-0.2.1 → aap_utils-0.2.2}/aap_utils.egg-info/PKG-INFO +1 -1
- {aap_utils-0.2.1 → aap_utils-0.2.2}/setup.py +1 -1
- {aap_utils-0.2.1 → aap_utils-0.2.2}/README.md +0 -0
- {aap_utils-0.2.1 → aap_utils-0.2.2}/aap_utils/__init__.py +0 -0
- {aap_utils-0.2.1 → aap_utils-0.2.2}/aap_utils/register.py +0 -0
- {aap_utils-0.2.1 → aap_utils-0.2.2}/aap_utils.egg-info/SOURCES.txt +0 -0
- {aap_utils-0.2.1 → aap_utils-0.2.2}/aap_utils.egg-info/dependency_links.txt +0 -0
- {aap_utils-0.2.1 → aap_utils-0.2.2}/aap_utils.egg-info/entry_points.txt +0 -0
- {aap_utils-0.2.1 → aap_utils-0.2.2}/aap_utils.egg-info/requires.txt +0 -0
- {aap_utils-0.2.1 → aap_utils-0.2.2}/aap_utils.egg-info/top_level.txt +0 -0
- {aap_utils-0.2.1 → aap_utils-0.2.2}/pyproject.toml +0 -0
- {aap_utils-0.2.1 → aap_utils-0.2.2}/setup.cfg +0 -0
@@ -6,7 +6,7 @@ API_URL = "http://commit-svc.aiplatform/publish"
|
|
6
6
|
|
7
7
|
def extract_default_image():
|
8
8
|
"""Extracts the image name from KERNEL_IMAGE if available and formats it."""
|
9
|
-
kernel_image = os.getenv("KERNEL_IMAGE", "
|
9
|
+
kernel_image = os.getenv("KERNEL_IMAGE", "unname/unname_image@sha256:3024")
|
10
10
|
image_name = kernel_image.split("/")[1].split("@")[0] # Extract "base_kernel_gpu"
|
11
11
|
return format_name(image_name)
|
12
12
|
|
@@ -25,9 +25,9 @@ def validate_tags(tags):
|
|
25
25
|
|
26
26
|
def get_username():
|
27
27
|
"""Retrieve the username from the environment variable KERNEL_AP_USER or prompt for it."""
|
28
|
-
username = os.getenv("KERNEL_AP_USER")
|
29
|
-
if not username:
|
30
|
-
|
28
|
+
username = os.getenv("KERNEL_AP_USER", "unname")
|
29
|
+
# if not username:
|
30
|
+
# username = input("Enter username (KERNEL_AP_USER not set): ").strip()
|
31
31
|
return format_name(username)
|
32
32
|
|
33
33
|
def publish_env():
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name="aap_utils", # The name of your library
|
5
|
-
version="0.2.
|
5
|
+
version="0.2.2",
|
6
6
|
description="A Python library for registering an IP address for AAP",
|
7
7
|
author="Minh Dang",
|
8
8
|
author_email="danghoangminh86@gmail.com",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|