algosec-appviz 0.0.13__tar.gz → 0.1.0__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.
- {algosec_appviz-0.0.13 → algosec_appviz-0.1.0}/PKG-INFO +1 -1
- {algosec_appviz-0.0.13 → algosec_appviz-0.1.0}/pyproject.toml +1 -1
- {algosec_appviz-0.0.13 → algosec_appviz-0.1.0}/src/algosec_appviz/main.py +2 -2
- {algosec_appviz-0.0.13 → algosec_appviz-0.1.0}/LICENSE +0 -0
- {algosec_appviz-0.0.13 → algosec_appviz-0.1.0}/README.md +0 -0
- {algosec_appviz-0.0.13 → algosec_appviz-0.1.0}/src/algosec_appviz/__init__.py +0 -0
- {algosec_appviz-0.0.13 → algosec_appviz-0.1.0}/src/algosec_appviz/environment.py +0 -0
|
@@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
6
6
|
name = "algosec_appviz"
|
|
7
7
|
repository = "https://github.com/bogdan-iot/algosec-appviz"
|
|
8
8
|
documentation = "https://github.com/bogdan-iot/algosec-appviz/blob/master/README.md"
|
|
9
|
-
version = "0.0
|
|
9
|
+
version = "0.1.0"
|
|
10
10
|
license = "LICENSE"
|
|
11
11
|
readme = "README.md"
|
|
12
12
|
description = "AlgoSec AppViz Library"
|
|
@@ -86,7 +86,7 @@ class AppViz:
|
|
|
86
86
|
raise ValueError("Application revision ID is mandatory")
|
|
87
87
|
|
|
88
88
|
if not tag_list:
|
|
89
|
-
print("Nothing to
|
|
89
|
+
print("Nothing to update")
|
|
90
90
|
|
|
91
91
|
if operation.lower() == 'add':
|
|
92
92
|
body = {'addLabels': tag_list}
|
|
@@ -143,7 +143,7 @@ class AppViz:
|
|
|
143
143
|
result = self._make_api_call('DELETE',
|
|
144
144
|
f'/BusinessFlow/rest/v1/network_objects/{obj_id}')
|
|
145
145
|
|
|
146
|
-
if result['
|
|
146
|
+
if not result['success']:
|
|
147
147
|
print(f"Error deleting object: {result['message']}")
|
|
148
148
|
return ""
|
|
149
149
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|