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.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec85fd0edeb002ea6078fefdebfa3ef5440abea98db1b9eef2124d5ba3bb82f3 |
|
MD5 | 8f4d69c970b9ce4f1d6f87f35c9aabc1 |
|
BLAKE2b-256 | 2adb06383ba965d54c429c3a00a967b931101a640a681093839447fa7bcd860d |
Hashes for odd_great_expectations-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8708ce12bf9d537aa650f59153db90980c2f4f646a5156becaa63c11c8b0a8a |
|
MD5 | 20f8e63b38a875668c39d89cf2610ebe |
|
BLAKE2b-256 | 761ccca9bfbe391d9a0a1327f8ed630e4e8cd2b6d808f4470c9a902d7225694c |