Skip to content

Commit

Permalink
fix(linker): add resolution_failed to AmbiguousResolvedRef
Browse files Browse the repository at this point in the history
  • Loading branch information
nsantacruz committed Oct 13, 2024
1 parent 3cb37a1 commit 69d9221
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sefaria/model/linker/ref_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@ def pretty_text(self):
# assumption is first resolved refs pretty_text is good enough
return self.resolved_raw_refs[0].pretty_text

@property
def resolution_failed(self) -> bool:
return False


PossiblyAmbigResolvedRef = Union[ResolvedRef, AmbiguousResolvedRef]

Expand Down

0 comments on commit 69d9221

Please sign in to comment.