fides icon indicating copy to clipboard operation
fides copied to clipboard

Fix SQLAlchemy 2.0 warnings

Open galvana opened this issue 4 months ago • 2 comments

Closes []

Description Of Changes

Write some things here about the changes and any potential caveats

Code Changes

  • list your code changes here

Steps to Confirm

  1. list any manual steps for reviewers to confirm the changes

Pre-Merge Checklist

  • [ ] Issue requirements met
  • [ ] All CI pipelines succeeded
  • [ ] CHANGELOG.md updated
    • [ ] Add a https://github.com/ethyca/fides/labels/db-migration label to the entry if your change includes a DB migration
    • [ ] Add a https://github.com/ethyca/fides/labels/high-risk label to the entry if your change includes a high-risk change (i.e. potential for performance impact or unexpected regression) that should be flagged
    • [ ] Updates unreleased work already in Changelog, no new entry necessary
  • Followup issues:
    • [ ] Followup issues created
    • [ ] No followup issues
  • Database migrations:
    • [ ] Ensure that your downrev is up to date with the latest revision on main
    • [ ] Ensure that your downgrade() migration is correct and works
      • [ ] If a downgrade migration is not possible for this change, please call this out in the PR description!
    • [ ] No migrations
  • Documentation:
    • [ ] Documentation complete, PR opened in fidesdocs
    • [ ] Documentation issue created in fidesdocs
    • [ ] If there are any new client scopes created as part of the pull request, remember to update public-facing documentation that references our scope registry
    • [ ] No documentation updates required

galvana avatar Sep 01 '25 21:09 galvana

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
fides-plus-nightly Ignored Ignored Preview Sep 2, 2025 4:51am
fides-privacy-center Ignored Ignored Sep 2, 2025 4:51am

vercel[bot] avatar Sep 01 '25 21:09 vercel[bot]

Codecov Report

:x: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 65.09%. Comparing base (362de94) to head (89ee666).

Files with missing lines Patch % Lines
src/fides/api/models/privacy_notice.py 0.00% 3 Missing :warning:
src/fides/api/models/sql_models.py 0.00% 2 Missing :warning:
src/fides/api/models/privacy_experience.py 0.00% 1 Missing :warning:

:x: Your patch check has failed because the patch coverage (0.00%) is below the target coverage (100.00%). You can increase the patch coverage or adjust the target coverage. :x: Your project check has failed because the head coverage (65.09%) is below the target coverage (85.00%). You can increase the head coverage or adjust the target coverage.

:exclamation: There is a different number of reports uploaded between BASE (362de94) and HEAD (89ee666). Click for more details.

HEAD has 6 uploads less than BASE
Flag BASE (362de94) HEAD (89ee666)
16 10
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #6529       +/-   ##
===========================================
- Coverage   87.68%   65.09%   -22.60%     
===========================================
  Files         482      482               
  Lines       30795    30793        -2     
  Branches     3462     3462               
===========================================
- Hits        27004    20044     -6960     
- Misses       3051     9965     +6914     
- Partials      740      784       +44     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Sep 01 '25 22:09 codecov[bot]