Skip to content

fix(core): tighten packer model validation and add packer entry point group - #1170

Open
chrisburr wants to merge 1 commit into
DIRACGrid:mainfrom
chrisburr:fix/packer-models-review
Open

chrisburr wants to merge 1 commit into
DIRACGrid:mainfrom
chrisburr:fix/packer-models-review

Conversation

@chrisburr

Copy link
Copy Markdown
Member

Follow up to #1149

@chrisburr
chrisburr requested a review from mmascher November 5, 2026 10:13
descriptor: dict[str, Any] = {}
error_count: int = 0
lfn: str | None = Field(default=None, min_length=1, max_length=512)
lfn_size: int | None = Field(default=None, ge=0)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that this ParcelInput is populated out of FeederInputs, I assume there is no need to validate whether the lfn+lfn_size group is set/unset?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or, it should be covered once we address #1168

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, I think that comes out of the class hierarchy or similar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants