Skip to content

Convert ArtifactProvider to dataclass#4765

Draft
LecrisUT wants to merge 1 commit intoteemtee:mainfrom
LecrisUT:chore/dataclass-artifact-provider
Draft

Convert ArtifactProvider to dataclass#4765
LecrisUT wants to merge 1 commit intoteemtee:mainfrom
LecrisUT:chore/dataclass-artifact-provider

Conversation

@LecrisUT
Copy link
Copy Markdown
Member

Making changes to the constructor is a pain otherwise

Signed-off-by: Cristian Le <git@lecris.dev>
@LecrisUT LecrisUT added ci | full test Pull request is ready for the full test execution plugin | artifact Related to the `prepare/artifact` plugin. labels Mar 30, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the ArtifactProvider base class and its subclasses to use the @container decorator and post_init pattern, replacing traditional init methods. Key changes include the introduction of simple_field for attribute management, converting sanitized_id to a cached property, and cleaning up associated imports. I have no feedback to provide.

@thrix thrix added this to triage and planning Apr 1, 2026
@github-project-automation github-project-automation bot moved this to backlog in planning Apr 1, 2026
@github-project-automation github-project-automation bot moved this to waiting in triage Apr 1, 2026
@thrix thrix moved this from backlog to implement in planning Apr 1, 2026
@thrix thrix moved this from waiting to triaged in triage Apr 1, 2026
@thrix thrix removed this from triage Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci | full test Pull request is ready for the full test execution plugin | artifact Related to the `prepare/artifact` plugin.

Projects

Status: implement

Development

Successfully merging this pull request may close these issues.

2 participants