Currently, the signature of VerificationSuite.addAnomalyCheck is:
|
def addAnomalyCheck(self, anomaly, analyzer: AnalysisRunBuilder, anomalyCheckConfig=None): |
However, the tests call this function with an analyzer_func such as Size() which is a pydeequ.analyzers._AnalyzerObject. For example,
|
.addAnomalyCheck(AbsoluteChangeStrategy(maxRateDecrease, maxRateIncrease, order=1), analyzer_func) \ |
Shouldn't the signature of this method be changed to:
def addAnomalyCheck(self, anomaly, analyzer: _AnalyzerObject, anomalyCheckConfig=None):
Currently, the signature of VerificationSuite.addAnomalyCheck is:
python-deequ/pydeequ/verification.py
Line 160 in 522f9bf
However, the tests call this function with an
analyzer_funcsuch asSize()which is apydeequ.analyzers._AnalyzerObject. For example,python-deequ/tests/test_anomaly_detection.py
Line 87 in 522f9bf
Shouldn't the signature of this method be changed to: