Table of Contents
pip install amazon-sagemaker-haystack
hatch
is the best way to interact with this project, to install it:
pip install hatch
With hatch
installed, to run all the tests:
hatch run test
Note: You need to export your AWS credentials for Sagemaker integration tests to run (
AWS_ACCESS_KEY_ID
andAWS_SECRET_SECRET_KEY
). If those are missing, the integration tests will be skipped.
To only run unit tests:
hatch run test -m "not integration"
To only run integration tests:
hatch run test -m "integration"
To run the linters ruff
and mypy
:
hatch run lint:all
amazon-sagemaker-haystack
is distributed under the terms of the Apache-2.0 license.