Skip to content

Commit

Permalink
fix: make pyparsing thread safe
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed Jan 13, 2021
1 parent e9d66e9 commit 24c108b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions superset/utils/date_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
Group,
Optional as ppOptional,
ParseException,
ParserElement,
ParseResults,
pyparsing_common,
quotedString,
Expand All @@ -40,6 +41,8 @@

from .core import memoized

ParserElement.enablePackrat()

logger = logging.getLogger(__name__)


Expand Down

0 comments on commit 24c108b

Please sign in to comment.