Skip to content

Commit

Permalink
fix(linker): change field name from raw_ref to raw_entity to match Re…
Browse files Browse the repository at this point in the history
…solvedRef's field name
  • Loading branch information
nsantacruz committed Nov 9, 2023
1 parent c15ee64 commit 8655a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sefaria/model/linker/ref_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def __init__(self, resolved_refs: List[ResolvedRef]):
if len(resolved_refs) == 0:
raise InputError("Length of `resolved_refs` must be at least 1")
self.resolved_raw_refs = resolved_refs
self.raw_ref = resolved_refs[0].raw_entity # assumption is all resolved_refs share same raw_ref. expose at top level
self.raw_entity = resolved_refs[0].raw_entity # assumption is all resolved_refs share same raw_ref. expose at top level

@property
def pretty_text(self):
Expand Down

0 comments on commit 8655a6a

Please sign in to comment.