Skip to content
Snippets Groups Projects
Commit c6989a7d authored by Martin Mareš's avatar Martin Mareš
Browse files

db.get_place_parents: varování

parent c63b03bb
No related branches found
No related tags found
No related merge requests found
...@@ -538,6 +538,9 @@ def get_seqs() -> List[int]: ...@@ -538,6 +538,9 @@ def get_seqs() -> List[int]:
def get_place_parents(place: Place) -> List[Place]: def get_place_parents(place: Place) -> List[Place]:
"""Low-level funkce pro zjištění předků místa.
Obvykle voláme mo.rights.Gatekeeper.get_parents(), které kešuje."""
sess = get_session() sess = get_session()
topq = (sess.query(Place) topq = (sess.query(Place)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment