Skip to content

MAINT: Deprecate TextTarget.import_scores_from_csv - #1958

Merged
rlundeen2 merged 5 commits into
microsoft:mainfrom
rlundeen2:rlundeen2/deprecate-import-scores-from-csv
Jun 9, 2026
Merged

MAINT: Deprecate TextTarget.import_scores_from_csv#1958
rlundeen2 merged 5 commits into
microsoft:mainfrom
rlundeen2:rlundeen2/deprecate-import-scores-from-csv

Conversation

@rlundeen2

Copy link
Copy Markdown
Contributor

Emit a DeprecationWarning via print_deprecation_message, scheduling removal in 0.16.0 (one release of warning). Point users to MemoryInterface.add_message_pieces_to_memory. Add a unit test and update the memory doc.

rlundeen2 and others added 3 commits June 8, 2026 18:21
Emit a DeprecationWarning via print_deprecation_message, scheduling removal
in 0.16.0 (one release of warning). Point users to
MemoryInterface.add_message_pieces_to_memory. Add a unit test and update the
memory doc.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This section documented the now-deprecated TextTarget.import_scores_from_csv.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Build the MessagePiece kwargs conditionally and cast CSV string values to
their literal types, so optional columns fall back to model defaults instead
of passing None into non-optional literal fields.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rlundeen2
rlundeen2 enabled auto-merge June 9, 2026 19:28
Comment thread pyrit/prompt_target/text_target.py
@rlundeen2
rlundeen2 disabled auto-merge June 9, 2026 20:32
@rlundeen2
rlundeen2 added this pull request to the merge queue Jun 9, 2026
Merged via the queue into microsoft:main with commit a37325a Jun 9, 2026
53 checks passed
@rlundeen2
rlundeen2 deleted the rlundeen2/deprecate-import-scores-from-csv branch June 9, 2026 22:26
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