Soren Daugaard
03/08/2021, 9:25 PMvalidation_operators
in my great_expectations.yml
file so I call the task as follows:
validation_task = RunGreatExpectationsValidation()
validation_results = validation_task(
batch_kwargs=validation.get_batch_kwargs(records, 'pandas_s3'), expectation_suite_name=GE_EXPECTATION_SUITE_NAME, validation_operator=None
)
However when I execute my flow I get the following error:
Unexpected error: DataContextError('No validation operator `None` was found in your project. Please verify this in your great_expectations.yml')
Traceback (most recent call last):
File "/Users/soren.daugaard/Code/data-pipelines/.direnv/python-3.8.6/lib/python3.8/site-packages/great_expectations/data_context/data_context.py", line 1272, in run_validation_operator
validation_operator = self.validation_operators[validation_operator_name]
KeyError: None
According to the documentation that parameter should be optional, but I am not able to figure out how to set it to nothing. I tried None
and the empty string but with similar errors. Any pointers would be much appreciated.Kyle Moon-Wright
03/08/2021, 9:51 PMaction_list_operator
an option for you? This task may be configured to allow this default to be overridden by your yaml, even if a validation operator is not used. (*I am not a GE’er…)Soren Daugaard
03/08/2021, 9:53 PM[2021-03-08 16:52:48-0500] ERROR - prefect.TaskRunner | Unexpected error: DataContextError('No validation operator `action_list_operator` was found in your project. Please verify this in your great_expectations.yml')
Traceback (most recent call last):
File "/Users/soren.daugaard/Code/data-pipelines/.direnv/python-3.8.6/lib/python3.8/site-packages/great_expectations/data_context/data_context.py", line 1272, in run_validation_operator
validation_operator = self.validation_operators[validation_operator_name]
KeyError: 'action_list_operator'
Kyle Moon-Wright
03/08/2021, 10:09 PMKyle Moon-Wright
03/08/2021, 10:17 PMRunGreatExpectationsValidation
task to validate, but it seems you’re doing something else. Just curious for my own knowledge!Soren Daugaard
03/09/2021, 1:19 PMSoren Daugaard
03/10/2021, 12:50 PMKyle Moon-Wright
03/10/2021, 4:33 PM