for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
"""
ETLT
Copyright 2016 Set Based IT Consultancy
Licence MIT
import abc
class Condition(metaclass=abc.ABCMeta):
An abstract parent class for conditions.
# ------------------------------------------------------------------------------------------------------------------
@abc.abstractmethod
def match(self, row):
Returns True if the row matches this condition. Returns False otherwise.
:param dict row: The row.
:rtype: bool
raise NotImplementedError()
# ----------------------------------------------------------------------------------------------------------------------