Skip to content

[CLIENT-3411] Refactor code that initializes transaction-level as_policy_batch policy using a Python dictionary #756

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 15 commits into
base: dev
Choose a base branch
from

Conversation

juliannguyen4
Copy link
Collaborator

@juliannguyen4 juliannguyen4 commented Apr 16, 2025

POLICY_INIT(): remove policy init step because we are already copying the default values from the config level policy to the transaction level policy. (TODO: check this does not cause regressions for other policies)
Set optional field variables to Python None by default. Setting them to NULL causes us to handle extra codepaths which is annoying to deal with

@codecov-commenter
Copy link

codecov-commenter commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (f24bbee) to head (4f2617d).
Report is 4 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #756       +/-   ##
==========================================
- Coverage   81.71%   0.00%   -81.72%     
==========================================
  Files          98       5       -93     
  Lines       14474    1015    -13459     
==========================================
- Hits        11827       0    -11827     
+ Misses       2647    1015     -1632     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants