Table of Contents
pip install amazon-sagemaker-haystackhatch is the best way to interact with this project, to install it:
pip install hatchWith hatch installed, to run all the tests:
hatch run test:all
Note: You need to export your AWS credentials for Sagemaker integration tests to run (
AWS_ACCESS_KEY_IDandAWS_SECRET_SECRET_KEY). If those are missing, the integration tests will be skipped.
To only run unit tests:
hatch run test:unit
To only run integration tests:
hatch run test:integration
To format your code and perform linting using Ruff (with automatic fixes), run:
hatch run fmt
To check for static type errors, run:
$ hatch run test:typesamazon-sagemaker-haystack is distributed under the terms of the Apache-2.0 license.