Coverage for packages/sql-smith/src/sql_smith/interfaces/criteria_interface.py: 100%
3 statements
« prev ^ index » next coverage.py v7.11.0, created at 2024-01-01 00:00 +0000
« prev ^ index » next coverage.py v7.11.0, created at 2024-01-01 00:00 +0000
1from abc import abstractmethod
3from .statement_interface import StatementInterface
6class CriteriaInterface(StatementInterface):
7 @abstractmethod
8 def and_(self, right: "CriteriaInterface") -> "CriteriaInterface":
9 raise NotImplementedError("and_ must be implemented")
11 @abstractmethod
12 def or_(self, right: "CriteriaInterface") -> "CriteriaInterface":
13 raise NotImplementedError("or_ must be implemented")