Skip to content

Commit c22dcbd

Browse files
committed
Fixed asset graph widget. Experimenting with moving the project to Poetry.
Signed-off-by: Dan Wolfson <[email protected]>
1 parent d05e9c9 commit c22dcbd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

examples/widgets/catalog_user/view_asset_graph.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ def build_nested_elements(nested_element: dict) -> Markdown:
195195
f"\t* Unique Name: {rel_end1_unique_name}\n"
196196
)
197197

198-
if rel_end1_class_md is not None:
199-
rel_end1_md = rel_end1_md + rel_end1_class_md
198+
# if rel_end1_class_md is not None:
199+
# rel_end1_md = rel_end1_md + rel_end1_class_md
200200

201201
rel_end2_md = (
202202
f"\n**End2:**\n"
@@ -205,8 +205,8 @@ def build_nested_elements(nested_element: dict) -> Markdown:
205205
f"\t* Unique Name: {rel_end2_unique_name}\n"
206206
)
207207

208-
if rel_end2_class_md is not None:
209-
rel_end1_md = rel_end1_md + rel_end2_class_md
208+
# if rel_end2_class_md is not None:
209+
# rel_end1_md = rel_end1_md + rel_end2_class_md
210210
#
211211
# for prop in relationship_properties.keys():
212212
# relationship_md += f"* {prop}: {relationship_properties[prop]}\n"

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ classifiers = [
3434
"Programming Language :: Python :: 3",
3535
]
3636

37-
#[project.scripts]
38-
# view_server_status = "examples.widgets.operational.view_server_status:main"
39-
# view_my_todos = "examples.widgets.personal_organizer.view_my_todos:main"
40-
# list_asset_types = "examples.widgets.developer.list_asset_types:main"
37+
[project.scripts]
38+
view_server_status = "widgets.operational.view_server_status:main"
39+
view_my_todos = "examples.widgets.personal_organizer.view_my_todos:main"
40+
list_asset_types = "examples.widgets.developer.list_asset_types:main"
4141

4242

4343

0 commit comments

Comments
 (0)