mirror of
https://github.com/QData/TextAttack.git
synced 2021-10-13 00:05:06 +03:00
merge from master
This commit is contained in:
@@ -57,4 +57,9 @@ class PreTransformationConstraint(ABC):
|
||||
"""
|
||||
return []
|
||||
|
||||
__str__ = __repr__ = default_class_repr
|
||||
def _check_constraint(self):
|
||||
raise RuntimeError(
|
||||
"PreTransformationConstraints do not support `_check_constraint()`."
|
||||
)
|
||||
|
||||
__str__ = __repr__ = default_class_repr
|
||||
|
||||
Reference in New Issue
Block a user