Skip to content

Train extract v3 - #810

Merged
thomasstvr merged 10 commits into
mainfrom
Train-Extract-v3
Jan 19, 2026
Merged

thomasstvr merged 10 commits into
mainfrom
Train-Extract-v3

Conversation

@thomasstvr

Copy link
Copy Markdown
Collaborator

No description provided.

@thomasstvr
thomasstvr requested a review from Copilot October 16, 2025 14:10
@thomasstvr thomasstvr linked an issue Oct 16, 2025 that may be closed by this pull request

Copilot AI left a comment

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.

Pull Request Overview

Introduces support for a new extract/write header version (pattern 3.0) by changing the default header from "Output (Optional)" to "Output" and adding corresponding test coverage.

  • Updates header check in extract to use ['Find', 'Output', 'Notes']
  • Adds new version entry 'pattern 3.0' in connectors
  • Adds tests for versions 1.0, 2.0, and new 3.0 (but lacks a regression test for legacy header handling in updated extract logic)

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
wrangles/train.py Changes header validation to require ['Find', 'Output', 'Notes']
wrangles/connectors/train.py Adds version mapping for new pattern 3.0 header
tests/connectors/test_train.py Adds tests for write operations including new 3.0 format

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread wrangles/train.py
Comment thread wrangles/train.py
Comment thread wrangles/connectors/train.py
@mborodii-prog
mborodii-prog self-requested a review January 19, 2026 08:37

@mborodii-prog mborodii-prog left a comment

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.

Looks fine

@thomasstvr
thomasstvr merged commit 0b05f4f into main Jan 19, 2026
33 checks passed
@thomasstvr
thomasstvr deleted the Train-Extract-v3 branch January 19, 2026 14:34
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.

Update train.extract to allow for v3 of extract columns

3 participants