Skip to content

Commit

Permalink
fix(linker): dont fallback on re now that re2 is required
Browse files Browse the repository at this point in the history
  • Loading branch information
nsantacruz committed Jun 25, 2024
1 parent 7ab722b commit 4a8373b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sefaria/model/linker/named_entity_resolver.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import dataclasses
from typing import List, Dict, Type, Set
try:
import re2 as re
re.set_fallback_notification(re.FALLBACK_WARNING)
except ImportError:
import re
import re2 as re
from functools import reduce
from collections import defaultdict
from sefaria.model.linker.ref_part import RawNamedEntity
Expand Down

0 comments on commit 4a8373b

Please sign in to comment.