Skip to content
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

ref: fix num_comments typing in migrations again #75110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

asottile-sentry
Copy link
Member

No description provided.

@asottile-sentry asottile-sentry requested review from a team July 26, 2024 23:08
@asottile-sentry asottile-sentry requested a review from a team as a code owner July 26, 2024 23:08
@@ -73,7 +73,7 @@ def _bulk_retrieve_group_values(group_ids: list[int], Group: type[Group]) -> lis
status=group_values["status"],
substatus=group_values["substatus"],
first_seen=group_values["first_seen"],
num_comments=group_values["num_comments"],
num_comments=group_values["num_comments"] or 0,
Copy link
Member Author

Choose a reason for hiding this comment

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

the model requires int but the schema here is nullable

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 26, 2024
Copy link

codecov bot commented Jul 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.09%. Comparing base (84e405e) to head (5d60f1b).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #75110      +/-   ##
==========================================
- Coverage   78.10%   78.09%   -0.01%     
==========================================
  Files        6755     6755              
  Lines      301462   301462              
  Branches    51861    51861              
==========================================
- Hits       235445   235438       -7     
- Misses      59686    59694       +8     
+ Partials     6331     6330       -1     

see 8 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants