malevich-coretools 0.2.5__tar.gz → 0.2.6__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.
Potentially problematic release.
This version of malevich-coretools might be problematic. Click here for more details.
- {malevich-coretools-0.2.5/malevich_coretools.egg-info → malevich-coretools-0.2.6}/PKG-INFO +1 -1
- malevich-coretools-0.2.6/VERSION +1 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/utils.py +9 -6
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6/malevich_coretools.egg-info}/PKG-INFO +1 -1
- malevich-coretools-0.2.5/VERSION +0 -1
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/LICENSE +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/MANIFEST.in +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/README.md +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/__init__.py +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/abstract/__init__.py +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/abstract/abstract.py +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/admin/__init__.py +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/admin/utils.py +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/funcs/__init__.py +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/funcs/funcs.py +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/funcs/helpers.py +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/secondary/__init__.py +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/secondary/config.py +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/secondary/const.py +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/secondary/helpers.py +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/tools/__init__.py +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/tools/vast.py +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools.egg-info/SOURCES.txt +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools.egg-info/dependency_links.txt +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools.egg-info/requires.txt +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools.egg-info/top_level.txt +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/pyproject.toml +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/requirements.txt +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/setup.cfg +0 -0
- {malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.2.6
|
|
@@ -797,6 +797,7 @@ def create_app(
|
|
|
797
797
|
extra_collections_from: Optional[Dict[str, str]] = None,
|
|
798
798
|
wait: bool = True,
|
|
799
799
|
*,
|
|
800
|
+
use_system_auth: bool = True,
|
|
800
801
|
auth: Optional[AUTH] = None,
|
|
801
802
|
conn_url: Optional[str] = None,
|
|
802
803
|
) -> Alias.Id:
|
|
@@ -808,8 +809,8 @@ def create_app(
|
|
|
808
809
|
platform in POSSIBLE_APPS_PLATFORMS
|
|
809
810
|
), f"wrong platform: {platform}, possible platforms: {POSSIBLE_APPS_PLATFORMS}"
|
|
810
811
|
app_cfg_json = None if app_cfg is None else to_json(app_cfg)
|
|
811
|
-
image_user = image_auth[0] if image_auth is not None else Config.USERNAME
|
|
812
|
-
image_token = image_auth[1] if image_auth is not None else Config.TOKEN
|
|
812
|
+
image_user = image_auth[0] if image_auth is not None else Config.USERNAME if use_system_auth else None
|
|
813
|
+
image_token = image_auth[1] if image_auth is not None else Config.TOKEN if use_system_auth else None
|
|
813
814
|
if Config.WITH_WARNINGS and (image_user is None or image_token is None):
|
|
814
815
|
Config.logger.warning("image_auth not set")
|
|
815
816
|
if image_ref is None:
|
|
@@ -847,6 +848,7 @@ def update_app(
|
|
|
847
848
|
extra_collections_from: Optional[Dict[str, str]] = None,
|
|
848
849
|
wait: bool = True,
|
|
849
850
|
*,
|
|
851
|
+
use_system_auth: bool = True,
|
|
850
852
|
auth: Optional[AUTH] = None,
|
|
851
853
|
conn_url: Optional[str] = None,
|
|
852
854
|
) -> Alias.Info:
|
|
@@ -857,8 +859,8 @@ def update_app(
|
|
|
857
859
|
platform in POSSIBLE_APPS_PLATFORMS
|
|
858
860
|
), f"wrong platform: {platform}, possible platforms: {POSSIBLE_APPS_PLATFORMS}"
|
|
859
861
|
app_cfg_json = None if app_cfg is None else to_json(app_cfg)
|
|
860
|
-
image_user = image_auth[0] if image_auth is not None else Config.USERNAME
|
|
861
|
-
image_token = image_auth[1] if image_auth is not None else Config.TOKEN
|
|
862
|
+
image_user = image_auth[0] if image_auth is not None else Config.USERNAME if use_system_auth else None
|
|
863
|
+
image_token = image_auth[1] if image_auth is not None else Config.TOKEN if use_system_auth else None
|
|
862
864
|
if Config.WITH_WARNINGS and (image_user is None or image_token is None):
|
|
863
865
|
Config.logger.warning("image_auth not set")
|
|
864
866
|
if image_ref is None:
|
|
@@ -1274,12 +1276,13 @@ def get_image_info(
|
|
|
1274
1276
|
image_auth: Optional[AUTH] = None,
|
|
1275
1277
|
parse: bool = False,
|
|
1276
1278
|
*,
|
|
1279
|
+
use_system_auth: bool = False,
|
|
1277
1280
|
auth: Optional[AUTH] = None,
|
|
1278
1281
|
conn_url: Optional[str] = None,
|
|
1279
1282
|
) -> Union[Alias.Json, AppFunctionsInfo]:
|
|
1280
1283
|
"""return json with functions image info"""
|
|
1281
|
-
image_user = image_auth[0] if image_auth is not None else Config.USERNAME
|
|
1282
|
-
image_token = image_auth[1] if image_auth is not None else Config.TOKEN
|
|
1284
|
+
image_user = image_auth[0] if image_auth is not None else Config.USERNAME if use_system_auth else None
|
|
1285
|
+
image_token = image_auth[1] if image_auth is not None else Config.TOKEN if use_system_auth else None
|
|
1283
1286
|
if Config.WITH_WARNINGS and (image_user is None or image_token is None):
|
|
1284
1287
|
Config.logger.warning("image_auth not set")
|
|
1285
1288
|
json_image = JsonImage(ref=image_ref, user=image_user, token=image_token)
|
malevich-coretools-0.2.5/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.2.5
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/abstract/__init__.py
RENAMED
|
File without changes
|
{malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/abstract/abstract.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/secondary/__init__.py
RENAMED
|
File without changes
|
{malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/secondary/config.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools/secondary/helpers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools.egg-info/requires.txt
RENAMED
|
File without changes
|
{malevich-coretools-0.2.5 → malevich-coretools-0.2.6}/malevich_coretools.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|