OpenDataDiscovery Action for Great Expectations
Project description
OpenDataDiscovery Action for handling Great Expectations tests results.
What is it?
odd_great_expectation.action.ODDAction
Is a class derived from GX ValidationAction
which will be run by GreatExpectations at runtime with ValidationResult
s for checkpoint.
How to use it?:
Install odd-great-expectations
package
pip install odd-great-expectations
Add ODDAction
action to some checkpoint's action list:
name: <CHECKPOINT_NAME>
config_version: 1.0
...
action_list:
# other actions
- name: store_metadata_to_odd
action:
module_name: odd_great_expectations.action
class_name: ODDAction
platform_host: <PLATFORM_HOST>
data_source_name: <DATA_SOURCE_NAME>
Parameters:
platform_host
- Location of OpenDataDiscovery platform, i.e. http://localhost:8080
platform_token
- OpenDataDiscovery token, how to get it - https://docs.opendatadiscovery.org/configuration-and-deployment/trylocally#create-collector-entity
data_source_name
- Unique name for data source, i.e. local_qa_test
Both platform_host
and platform_token
can be set using ODD_PLATFORM_HOST
and ODD_PLATFORM_PLATFORM
env variables accordingly.
Run checkpoint
great_expectations checkpoint run <CHECKPOINT_NAME>
Check results on PLATFORM_HOST
UI.
Supporting features
Feature | Supporting |
---|---|
V3 API + | + |
SqlAlchemyEngine | + |
PandasEngine | + |
Great Expectations V2 API - | - |
Cloud Solution | - |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for odd_great_expectations-0.1.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e21712ea79521747a79dd688def882161adaa68a9968b183ccad86d0f8f7feb |
|
MD5 | 3fa32990e53f59668a0ae55ad759618a |
|
BLAKE2b-256 | a692983577689e01558bcbcbb39197f37f37265a0a69205c537401d12898128f |
Hashes for odd_great_expectations-0.1.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5908c338717c888f31bd13b1a8447221811c9836cfa343838f01293d0ff4713e |
|
MD5 | c0f59c1858ed27115250140cbebf69d1 |
|
BLAKE2b-256 | aa5e76b7427b87a68a5a761f2dfb21a4fa5de6f69ef84e720eeddc51bcba0a54 |