Great Expectations Cloud
Project description
cloud
Dev Setup
- Install
poetry
- Set up virtual environment and install dependencies.
poetry install --sync
- Activate your virtual environment.
poetry shell
- Set up precommit hooks
pre-commit install
Developer Tasks
Common developer tasks are available via invoke
(defined in tasks.py
)
invoke --list
to see available tasks.
Synchronize Dependencies
To ensure you are using the latest version of the core and development dependencies run poetry install --sync
.
Also available as an invoke task.
invoke deps
Updating poetry.lock
dependencies
The dependencies installed in our CI and the docker build step are determined by the poetry.lock file.
To update only a specific dependency (such as great_expectations
) ...
poetry update great_expectations
To resolve and update all dependencies ...
poetry lock
In either case, the updated poetry.lock
file must be committed and merged to main.
Release to PyPI and Docker
To release a new version to PyPI the version must be incremented.
New versions are automatically published to PyPI when merging to main
.
invoke version-bump
A new docker tag will also be generated and pushed to Docker Hub.
Building and Running the GX Agent Image
To build the GX Agent Docker image, run the following in the root dir:
invoke docker
Running the GX Agent:
invoke docker --run
or
docker run --env GX_CLOUD_ACCESS_TOKEN="<GX_TOKEN>" --env GX_CLOUD_ORGANIZATION_ID="<GX_ORG_ID>" gx/agent
Now go into GX Cloud and issue commands for the GX Agent to run, such as generating an Expectation Suite for a Data Source.
Note if you are pushing out a new image update the image tag version in
containerize-agent.yaml
. The image will be built and pushed out via GitHub Actions.
Example Data
The contents from /examples/agent/data will be copied to /data
for the docker container.
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 great_expectations_cloud-0.0.26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4039327d3b3080b11bb2a0e5c57732eb0440eceff3c4ef07c4caa3275c859a9a |
|
MD5 | 89c14cae782b811411a836271c30246e |
|
BLAKE2b-256 | 641a37206c5d06070565f8d6e61dc4d0f620e20158f8a43eb2440ec5887fd547 |
Hashes for great_expectations_cloud-0.0.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 540892fc74dab7a496565ed8bbd04ffe1a10fbe2c6380637fd65f9a82f072d7a |
|
MD5 | 861303bfb848689545e00792af4a64c7 |
|
BLAKE2b-256 | bb063537e8d1c5d3bf361ce3943630a30793d0360bc6b5c50c79ec89ab2d9df5 |