Skip to content

Commit 830a9fa

Browse files
committed
FEAT: Begin work on hierarchy query.
1 parent f67e6f2 commit 830a9fa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

faslr/utilities/queries.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,8 @@ def delete_country(
1313
country = session.query(LocationTable).filter(LocationTable.location_id == country_id).one()
1414
session.delete(country)
1515
session.commit()
16+
17+
def get_hierarchy() -> str:
18+
"""
19+
Fetches the hierarchical position of the requested object in the project pane, i.e., country, state, LOB, etc.
20+
"""

0 commit comments

Comments
 (0)