Skip to content

Conversation

@johendrickson
Copy link
Contributor

@johendrickson johendrickson commented Oct 8, 2025

Closes #93.

  • Added _add_qc_evaluation_url property for the QC evaluation endpoint
  • Implemented add_qc_evaluation() to allow users to provide qc_contents directly
  • Include data_asset_id in the qc_contents dict for POST requests
  • Added unit tests for success and failure cases
  • Updated import lines to follow isort standards
  • Upper bound handling adjustments for pydantic

- Added _add_qc_evaluation_url property for QC evaluation endpoint
- Implemented add_qc_evaluation() method to sign and send POST requests
- Added unit tests for success and failure cases
- Updates import lines to follow isort standards
- Allow users to provide `qc_contents` directly when adding a QC evaluation
- Include `data_asset_id` in the `qc_contents` dict for post requests
- Update pydantic upper bound handling
- Restore isort import recommendations
@johendrickson johendrickson marked this pull request as ready for review October 8, 2025 21:35
@johendrickson johendrickson requested a review from dbirman October 8, 2025 22:08
Copy link
Member

@dbirman dbirman left a comment

Choose a reason for hiding this comment

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

Looks good to me

Copy link
Collaborator

@helen-m-lin helen-m-lin left a comment

Choose a reason for hiding this comment

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

Minor comment about redundant code. Great job implementing these and covering edge cases. I tested out some examples locally with your scripts and they all worked! Also worked with lists of evals: qc_contents={"qc_evaluation": [qc_eval_valid, qc_eval_valid]}

@helen-m-lin helen-m-lin merged commit 2288fc8 into dev Oct 10, 2025
3 checks passed
@helen-m-lin helen-m-lin deleted the feat-93-upload-qc-evaluations branch October 10, 2025 20:28
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.

API function for new QCEvaluation lambda function

4 participants