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 types for various tasks #72899

Merged
merged 1 commit into from
Jun 18, 2024
Merged

Conversation

asottile-sentry
Copy link
Member

No description provided.

@asottile-sentry asottile-sentry requested review from a team June 17, 2024 21:06
@asottile-sentry asottile-sentry requested review from a team as code owners June 17, 2024 21:06
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 17, 2024
@@ -99,7 +99,7 @@ def assemble_file(task, org_or_project, name, checksum, chunks, file_type) -> As
file_blobs = FileBlob.objects.filter(checksum__in=chunks).values_list("id", "checksum", "size")

# Reject all files that exceed the maximum allowed size for this organization.
file_size = sum(x[2] for x in file_blobs)
file_size = sum(size for _, _, size in file_blobs if size is not None)
Copy link
Member

Choose a reason for hiding this comment

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

nice!

@asottile-sentry asottile-sentry merged commit cbb9d89 into master Jun 18, 2024
52 checks passed
@asottile-sentry asottile-sentry deleted the asottile-typing-various-tasks branch June 18, 2024 13:51
@github-actions github-actions bot locked and limited conversation to collaborators Jul 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants