Skip to content

Commit 1aebd82

Browse files
committed
fix: better backwards compatibility with griffe
1 parent 23975a4 commit 1aebd82

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

quartodoc/builder/blueprint.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,8 @@ def _is_external_alias(obj: dc.Alias | dc.Object, mod: dc.Module):
7070
return True
7171

7272
try:
73-
new_target = crnt_target.modules_collection.get_member(
74-
crnt_target.target_path
75-
)
73+
new_target = crnt_target.modules_collection[crnt_target.target_path]
74+
7675
if new_target is crnt_target:
7776
raise Exception(f"Cyclic Alias: {new_target}")
7877

0 commit comments

Comments
 (0)