Skip to content

Conversation

@gerrod3
Copy link
Contributor

@gerrod3 gerrod3 commented Nov 11, 2025

fixes: #996

@gerrod3 gerrod3 force-pushed the pep700 branch 2 times, most recently from 5c2def3 to 7c85282 Compare November 12, 2025 02:36
@gerrod3 gerrod3 merged commit 46e3c60 into pulp:main Nov 13, 2025
13 checks passed
@gerrod3 gerrod3 deleted the pep700 branch November 13, 2025 21:27
artifact = content_artifact.artifact
else:
artifact = RemoteArtifact.objects.filter(content_artifact=content_artifact).first()
python_package.size = artifact.size or 0
Copy link
Contributor

@dralley dralley Nov 14, 2025

Choose a reason for hiding this comment

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

Don't really understand the "or 0", artifact.size should always be a number and it's non-nullable

But this also doesn't hurt anything

Copy link
Contributor

@dralley dralley left a comment

Choose a reason for hiding this comment

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

LGTM

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.

Implement PEP-700 - Additional Fields for the Simple API for Package Indexes

3 participants