RuntimeBatchRequest <- is it relevant anymore? #11220
Unanswered
dietmarwojtaszczyk
asked this question in
Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm upgrading gx version in my data app from 0.18 to 1.X.X.
In my previous setup the only objects that I was storing were expectations suites.
I was creating my context using BaseDataContext together with DataContextConfig, and my validator objects were created using get_validator method together with RuntimeBatchRequest.
From what I see from GX Api documentation and migration tutorial, there is a strict distinction between ephermal and file setup, and no information about using RuntimeBatchRequest -> I was trying to run my validations in an old way, but run into an error "Getting validator ended with Error: 'RuntimeBatchRequest' has no attribute 'options'".
The hacky way would be to add assets and batches and delete them after run (or wrapping it in try/except blocks), but maybe there is a nicer way to load suites from file system, but make batches ephermal. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions