Skip to content

Commit

Permalink
make encrypted_part_sizes a list
Browse files Browse the repository at this point in the history
was previously a single value.

Bumps version to 0.7.2.

Co-authored-by: Moritz Hahn <75744178+MoritzHahn1337@users.noreply.github.com>
  • Loading branch information
KerstenBreuer and MoritzHahn1337 committed Nov 17, 2022
1 parent bd93873 commit aa01f36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ghga_event_schemas/pydantic_.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ class FileUploadValidationSuccess(BaseModel):
+ " crypt4GH envelope)."
),
)
encrypted_part_size: int = Field(
encrypted_part_sizes: list[int] = Field(
...,
description=(
"The size of the file parts of the encrypted content (excluding the"
"The sizes of the file parts of the encrypted content (excluding the"
+ " crypt4GH) as used for the encryption_parts_md5 and the"
+ " encryption_parts_sha256 in bytes. The same part size is recommended for"
+ " moving that content."
Expand Down

0 comments on commit aa01f36

Please sign in to comment.