Skip to content

Commit

Permalink
py-shared: make AWSCredentials frozen (#4197)
Browse files Browse the repository at this point in the history
  • Loading branch information
sir-sigurd authored Nov 7, 2024
1 parent 22cfedd commit 1b30d13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions py-shared/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ where verb is one of

## Changes

- [Changed] **BREAKING**: Make `AWSCredentials` frozen ([#4197](https://github.com/quiltdata/quilt/pull/4197))
- [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))
Expand Down
2 changes: 1 addition & 1 deletion py-shared/src/quilt_shared/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from mypy_boto3_sts.type_defs import CredentialsTypeDef


class AWSCredentials(pydantic.BaseModel):
class AWSCredentials(pydantic.BaseModel, frozen=True):
key: NonEmptyStr
secret: NonEmptyStr
token: NonEmptyStr
Expand Down

0 comments on commit 1b30d13

Please sign in to comment.