Skip to content

Latest commit

 

History

History
 
 

amazon_sagemaker

amazon-sagemaker-haystack

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install amazon-sagemaker-haystack

Contributing

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 and AWS_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

License

amazon-sagemaker-haystack is distributed under the terms of the Apache-2.0 license.