I have gx version 1.4.0. However, the FileDataContext does not have attribute run_checkpoint.
It gives following error
AttributeError: ‘FileDataContext’ object has no attribute ‘run_checkpoint’. Did you mean: ‘_checkpoints’?
I have gx version 1.4.0. However, the FileDataContext does not have attribute run_checkpoint.
It gives following error
AttributeError: ‘FileDataContext’ object has no attribute ‘run_checkpoint’. Did you mean: ‘_checkpoints’?
Hello, that error is expected. The FileDataContext
does not have a run_checkpoint
method. Instead, you create a Checkpoint
object and call .run()
on it directly.
You can find more details here.
Here’s how you should run a checkpoint:
validation_results = checkpoint.run(
batch_parameters=batch_parameters,
expectation_parameters=expectation_parameters
)