Skip to content

feat: add TransformPart class for *PART data transformation - #1315

Merged
RaphaelHeiniger merged 3 commits into
mainfrom
part-tracking
Aug 25, 2026
Merged

feat: add TransformPart class for *PART data transformation#1315
RaphaelHeiniger merged 3 commits into
mainfrom
part-tracking

Conversation

@koubaa

@koubaa koubaa commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

To track which file a certain PART ID (PID) after ID transformation came from:

for kw in deck.get(type="PART"):
    if target_pid in kw.parts["pid"].values:
        print(kw.included_from)  # -> the file this PART (and its transformed pid) came from

@koubaa
koubaa requested a review from a team as a code owner August 24, 2026 21:30
@github-actions github-actions Bot added the testing Anything related to testing label Aug 24, 2026

@RaphaelHeiniger RaphaelHeiniger left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Handling it via the transformation handler is a good idea. It will enable the user with the existing tool kit.

@RaphaelHeiniger
RaphaelHeiniger merged commit 823f930 into main Aug 25, 2026
17 checks passed
@RaphaelHeiniger
RaphaelHeiniger deleted the part-tracking branch August 25, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Anything related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants