Kalyan katamreddi
03/10/2022, 8:15 AMwith build_op_context(
resources={'ge_data_context': ge_data_context},
resources_config={
'ge_data_context': {
'config': {
'ge_root_dir': file_relative_path(
__file__,
'../great_expectations'
)
}
}
}
) as context:
ge = ge_validation_op_factory(
name='great_expecations',
datasource_name='test_data',
suite_name='target.warning',
)(context=context)
res = ge(df)
if res['success']:
return df
return ValueError
Hi all,
I have tried invoking ge_op_validation_factory using build_op_context as a context manager, but facing the below error
""" No value provided for required input "dataset" """"
please do let me know where can i provide the datasetZach
03/10/2022, 2:09 PMge = ge_validation_op_factory(
name='great_expecations',
datasource_name='test_data',
suite_name='target.warning',
)(context=context, dataset=df)
Kalyan katamreddi
03/11/2022, 12:29 PM