diff --git a/py-shared/CHANGELOG.md b/py-shared/CHANGELOG.md index 52888c50a6d..49eccd14c81 100644 --- a/py-shared/CHANGELOG.md +++ b/py-shared/CHANGELOG.md @@ -16,5 +16,7 @@ where verb is one of ## Changes +- [Changed] **BREAKING**: Add `scratch_buckets` required field to `S3HashLambdaParams` ([#3922](https://github.com/quiltdata/quilt/pull/3922)) +- [Added] Introduce `PackageConstructParams` ([#3922](https://github.com/quiltdata/quilt/pull/3922)) - [Changed] Tweak checksum types ([#3888](https://github.com/quiltdata/quilt/pull/3888)) - [Added] Bootstrap `quilt_shared` package ([#3849](https://github.com/quiltdata/quilt/pull/3849)) diff --git a/py-shared/src/quilt_shared/pkgpush.py b/py-shared/src/quilt_shared/pkgpush.py index 902ea3a3ba5..7a0a106f59c 100644 --- a/py-shared/src/quilt_shared/pkgpush.py +++ b/py-shared/src/quilt_shared/pkgpush.py @@ -62,6 +62,7 @@ def boto_args(self): class S3HashLambdaParams(pydantic.BaseModel): credentials: AWSCredentials + scratch_buckets: T.Dict[str, str] location: S3ObjectSource @@ -146,6 +147,10 @@ class PackagePromoteParams(PackagePushParams): src: PackagePromoteSource +class PackageConstructParams(PackagePushParams): + scratch_buckets: T.Dict[str, str] + + class PackageConstructEntry(pydantic.BaseModel): logical_key: NonEmptyStr physical_key: NonEmptyStr