pyegeria 5.4.0.10__py3-none-any.whl → 5.4.0.13__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.
- commands/cat/list_format_set.py +12 -3
- pyegeria/load_config.py +3 -3
- pyegeria/logging_configuration.py +1 -1
- {pyegeria-5.4.0.10.dist-info → pyegeria-5.4.0.13.dist-info}/METADATA +2 -1
- {pyegeria-5.4.0.10.dist-info → pyegeria-5.4.0.13.dist-info}/RECORD +8 -8
- {pyegeria-5.4.0.10.dist-info → pyegeria-5.4.0.13.dist-info}/LICENSE +0 -0
- {pyegeria-5.4.0.10.dist-info → pyegeria-5.4.0.13.dist-info}/WHEEL +0 -0
- {pyegeria-5.4.0.10.dist-info → pyegeria-5.4.0.13.dist-info}/entry_points.txt +0 -0
commands/cat/list_format_set.py
CHANGED
@@ -46,6 +46,7 @@ from rich.markdown import Markdown
|
|
46
46
|
from rich.prompt import Prompt
|
47
47
|
from rich.table import Table
|
48
48
|
from rich.text import Text
|
49
|
+
import pydevd_pycharm
|
49
50
|
|
50
51
|
from pyegeria import (
|
51
52
|
EgeriaTech,
|
@@ -58,9 +59,17 @@ from pyegeria._output_formats import select_output_format_set, get_output_format
|
|
58
59
|
from pyegeria._exceptions_new import PyegeriaException, print_exception_response
|
59
60
|
from pyegeria.egeria_tech_client import EgeriaTech
|
60
61
|
|
62
|
+
pydevd_pycharm.settrace('host.docker.internal', # Use 'host.docker.internal' to connect to the host machine
|
63
|
+
port=5678, # Port to communicate with PyCharm
|
64
|
+
stdoutToServer=True, # Forward stdout to PyCharm
|
65
|
+
stderrToServer=True, # Forward stderr to PyCharm
|
66
|
+
suspend=True) # Suspend execution until the debugger is connected
|
67
|
+
|
68
|
+
|
69
|
+
|
61
70
|
EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
62
71
|
EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
|
63
|
-
|
72
|
+
|
64
73
|
app_settings = get_app_config()
|
65
74
|
app_config = app_settings.Environment
|
66
75
|
config_logging()
|
@@ -188,7 +197,7 @@ def execute_format_set_action(
|
|
188
197
|
try:
|
189
198
|
# Invoke the function with the parameters
|
190
199
|
if output_format != "TABLE":
|
191
|
-
file_path = os.path.join(app_config
|
200
|
+
file_path = os.path.join(app_config.pyegeria_root, app_config.dr_egeria_outbox)
|
192
201
|
if output_format == "HTML":
|
193
202
|
file_name = f"{format_set_name}-{time.strftime('%Y-%m-%d-%H-%M-%S')}.html"
|
194
203
|
elif output_format == "JSON":
|
@@ -368,7 +377,7 @@ def main():
|
|
368
377
|
|
369
378
|
server = args.server if args.server is not None else app_config.egeria_view_server
|
370
379
|
url = args.url if args.url is not None else app_config.egeria_view_server_url
|
371
|
-
print(f"root path: {app_config.pyegeria_root}, config_file: {app_config.
|
380
|
+
print(f"root path: {app_config.pyegeria_root}, config_file: {app_config.pyegeria_config_file}")
|
372
381
|
userid = args.userid if args.userid is not None else EGERIA_USER
|
373
382
|
user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
|
374
383
|
format_set_name = args.format_set
|
pyegeria/load_config.py
CHANGED
@@ -104,6 +104,7 @@ class EnvironmentConfig(BaseModel):
|
|
104
104
|
egeria_view_server_url: str = Field(default="https://localhost:9443", alias="Egeria View Server URL")
|
105
105
|
egeria_view_server: str = Field(default="qs-view-server", alias="Egeria View Server")
|
106
106
|
pyegeria_root: str = Field(default="/Users/dwolfson/localGit/egeria-v5-3/egeria-python", alias="Pyegeria Root")
|
107
|
+
pyegeria_config_file: str = Field(default="config.json", alias="Egeria Config File")
|
107
108
|
|
108
109
|
class Config:
|
109
110
|
populate_by_name = True
|
@@ -262,10 +263,9 @@ def load_app_config(env_file: str = None):
|
|
262
263
|
|
263
264
|
# If env_file is specified, use it to load environment variables
|
264
265
|
if env_file is not None:
|
265
|
-
logger.
|
266
|
+
logger.trace(f"DEBUG: Loading environment variables from {env_file}")
|
266
267
|
env_settings = PyegeriaSettings.with_env_file(env_file)
|
267
|
-
|
268
|
-
print(f"DEBUG: env_settings.pyegeria_config_file: {env_settings.pyegeria_config_file}")
|
268
|
+
|
269
269
|
# If env_file is specified, always use its values, regardless of OS environment variables
|
270
270
|
root_path = env_settings.pyegeria_root_path
|
271
271
|
config_file = env_settings.pyegeria_config_file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: pyegeria
|
3
|
-
Version: 5.4.0.
|
3
|
+
Version: 5.4.0.13
|
4
4
|
Summary: A python client for Egeria
|
5
5
|
License: Apache 2.0
|
6
6
|
Keywords: egeria,metadata,governance
|
@@ -23,6 +23,7 @@ Requires-Dist: poetry-core (>=2.1.3,<3.0.0)
|
|
23
23
|
Requires-Dist: psycopg2-binary (>=2.9.9,<3.0.0)
|
24
24
|
Requires-Dist: pydantic (>=2.11.7,<3.0.0)
|
25
25
|
Requires-Dist: pydantic-settings (>=2.10.1,<3.0.0)
|
26
|
+
Requires-Dist: pydevd-pycharm (>=252.23892.364,<253.0.0)
|
26
27
|
Requires-Dist: pytest (>=8.3.5,<9.0.0)
|
27
28
|
Requires-Dist: requests
|
28
29
|
Requires-Dist: rich
|
@@ -21,7 +21,7 @@ commands/cat/list_deployed_catalogs.py,sha256=VdN6R9kRVWX-fGIgubOigvMVPzhF-hKQep
|
|
21
21
|
commands/cat/list_deployed_database_schemas.py,sha256=1Qicke1R2_7Xi3Qf5sp8KJ3_reAIt0z1iaz2sG8Z0Qs,9458
|
22
22
|
commands/cat/list_deployed_databases.py,sha256=ryrBW1CxJRfOeLP978qQwxb5oImqhIsHghtcpWeBIrw,7587
|
23
23
|
commands/cat/list_deployed_servers.py,sha256=_xR7EaaCsxIjTphxmoCZlARoja_vQqZ881pFiEuhw-8,5719
|
24
|
-
commands/cat/list_format_set.py,sha256=
|
24
|
+
commands/cat/list_format_set.py,sha256=2oTWLfuwmCoPQLVe96G554CDEqBfRkU-YhxmmC8D5-I,17665
|
25
25
|
commands/cat/list_glossaries.py,sha256=pKJdiRMrSBpmPv0yOWoR_CdGZP06MuxfPGwCXc-kSQw,7666
|
26
26
|
commands/cat/list_projects.py,sha256=NzWTuepTGUEyxK-eWvuUxtBgCtNWubVwmz2eqm2UN1c,7997
|
27
27
|
commands/cat/list_tech_type_elements.py,sha256=-9omj5en9dSP1xMSljYVHyfXsuhuE1bO2IFj_bZPhAs,6873
|
@@ -212,9 +212,9 @@ pyegeria/full_omag_server_config.py,sha256=CQqLCy_3DZFvJZEOcGf50HWdFaWpiAIs6z-kK
|
|
212
212
|
pyegeria/glossary_browser_omvs.py,sha256=Jb2Tt2qNjnoWQNBDMdZiuQffH6nC4lKekZNEJCiW5BE,166966
|
213
213
|
pyegeria/glossary_manager_omvs.py,sha256=vXHlBuJxUIAkSI7OKbYcspmcfxxX-L7oe5J0AiEefVI,87991
|
214
214
|
pyegeria/governance_officer_omvs.py,sha256=14UnC-fS5LUsWzx-RuzUX_ZNVxldqvVSvZFvJDv980I,91580
|
215
|
-
pyegeria/load_config.py,sha256=
|
215
|
+
pyegeria/load_config.py,sha256=ZBBv_wjZFQ4oSExpg5j7VTc6jDco6fpuNhM2MxCawnU,22733
|
216
216
|
pyegeria/load_config_orig.py,sha256=lOM37vdIBcYfLQFTLP5bDuNc7vTFGBNYPfqHtWGNvA4,11624
|
217
|
-
pyegeria/logging_configuration.py,sha256=
|
217
|
+
pyegeria/logging_configuration.py,sha256=1nLUgkzlUh87kvuo7H-ekawyGJmNiBo415EuufFbLfE,7713
|
218
218
|
pyegeria/md_processing_helpers.py,sha256=xlQuK5eP_PJqUdy4BScQ97NyBD95jMS3EUg0wK5CsZo,2137
|
219
219
|
pyegeria/md_processing_utils.py,sha256=KRESCqAYjCgHRAdhHH49lLDDhaq740CUlqTG0bN-6Oo,99119
|
220
220
|
pyegeria/md_processing_utils_orig.py,sha256=SToZtXQiysi2_vmIY4-T2NIELRirzQ1zjkho_2jFsNE,52603
|
@@ -232,8 +232,8 @@ pyegeria/template_manager_omvs.py,sha256=chBljs1vy5wr9DRAtbvIt4Cob_7HxGfxLkCNlDT
|
|
232
232
|
pyegeria/utils.py,sha256=CAh8LItgmGf5UHIYeYAOE4roHg1wuBk3zQ1lxK7lcZA,6805
|
233
233
|
pyegeria/valid_metadata_omvs.py,sha256=Xq9DqBQvBFFJzaFIRKcVZ2k4gJvSh9yeXs_j-O3vn1w,65050
|
234
234
|
pyegeria/x_action_author_omvs.py,sha256=RcqSzahUKCtvb_3u_wyintAlc9WFkC_2v0E12TZs8lQ,6433
|
235
|
-
pyegeria-5.4.0.
|
236
|
-
pyegeria-5.4.0.
|
237
|
-
pyegeria-5.4.0.
|
238
|
-
pyegeria-5.4.0.
|
239
|
-
pyegeria-5.4.0.
|
235
|
+
pyegeria-5.4.0.13.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
236
|
+
pyegeria-5.4.0.13.dist-info/METADATA,sha256=j5kLanVT4PiuhhL-XHCw36gvAu8Hu2-MKRPtLvWA-UU,3031
|
237
|
+
pyegeria-5.4.0.13.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
238
|
+
pyegeria-5.4.0.13.dist-info/entry_points.txt,sha256=HAS-LHaaBfkaZ19XU9g5mXwn2uj2HK99isdijI-VIDk,6353
|
239
|
+
pyegeria-5.4.0.13.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|