ignore type error as delimited_list is a function, but DelimitedList is a class

This commit is contained in:
Robert Schmidtke 2023-06-20 14:58:11 +02:00
parent 114d3807d7
commit fb7c32bc0e

View File

@ -26,7 +26,7 @@ try:
from pyparsing import DelimitedList
except ImportError:
# delimited_list is deprecated in favor of DelimitedList in pyparsing 3.1.0
from pyparsing import delimited_list as DelimitedList
from pyparsing import delimited_list as DelimitedList # type: ignore[assignment]
from .exceptions import (
InvalidInputException,