Skip to content

Commit

Permalink
Remove CFG parsing - commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
parkervg committed Sep 1, 2024
1 parent 4d739d9 commit e8a98f4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions blendsql/blend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1023,16 +1023,6 @@ def blend(
schema_qualify=schema_qualify,
)
except Exception as error:
# if not isinstance(error, (InvalidBlendSQL, IngredientException)):
# from .grammars.minEarley.parser import EarleyParser
# from .grammars.utils import load_cfg_parser
#
# # Parse with CFG and try to get helpful recommendations
# parser: EarleyParser = load_cfg_parser(ingredients)
# try:
# parser.parse(query)
# except Exception as parser_error:
# raise parser_error
raise error
finally:
# In the case of a recursive `_blend()` call,
Expand Down

0 comments on commit e8a98f4

Please sign in to comment.