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 build
Running the GX Agent:
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.
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.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e42cf9c9ec3ebfa35e050c5e00de91f18aac9c48976980f29f93be0a9e49523d |
|
MD5 | 08fb5f9d07744c1a9b4cb69b283f97d9 |
|
BLAKE2b-256 | 304ece8ca162119e772fb560eeea780b6d5d5d14a34348f99cdeb540aa896601 |
Hashes for great_expectations_cloud-0.0.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4e15175b2d304f4b593b7b7f8037e0b047324b0cef742c6f45d53a120b99028 |
|
MD5 | 542c10b61ab1a71d01e45f5e3a2f7d46 |
|
BLAKE2b-256 | 20323334e391adf54ed6b5c388af72f2325d6c58214166d773bd9142c560494c |