Skip to content

Commit

Permalink
py-shared: cross-region chunksums support (pass scratch bucket map to…
Browse files Browse the repository at this point in the history
… lambdas) (#3922)
  • Loading branch information
nl0 authored Apr 4, 2024
1 parent 2edbba0 commit 7c6edd1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions py-shared/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
5 changes: 5 additions & 0 deletions py-shared/src/quilt_shared/pkgpush.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def boto_args(self):

class S3HashLambdaParams(pydantic.BaseModel):
credentials: AWSCredentials
scratch_buckets: T.Dict[str, str]
location: S3ObjectSource


Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7c6edd1

Please sign in to comment.