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 ValidationResults 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>
platform_token: <PLATFORM_TOKEN> # collector token
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_TOKEN 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odd_great_expectations-0.2.5.tar.gz.
File metadata
- Download URL: odd_great_expectations-0.2.5.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.1 Linux/6.8.0-1014-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4fe3a1759e073307d035c95df1a8c3d164abebe6e3e465ffadd001fdea905c7
|
|
| MD5 |
6562bb1d24d5b5dc2769dd32240cdaf4
|
|
| BLAKE2b-256 |
57efc8e923c0a5d31a5b26e0d8540022ec6a18d279fe802f20cc4d4ee6778324
|
File details
Details for the file odd_great_expectations-0.2.5-py3-none-any.whl.
File metadata
- Download URL: odd_great_expectations-0.2.5-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.1 Linux/6.8.0-1014-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6eff9aed62d2021b912809eca81ddabb928a6e18c05afb4f5ab13262c1362d8
|
|
| MD5 |
aa50ef4ad26c3f197b96ed1866b818f6
|
|
| BLAKE2b-256 |
8d0f0fe7221092c0c86d6737000f03eff31b443d50757e368515a9961ce9c60b
|