-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add is_unavailable to DependencySerializer
Add the is_unavailable status to the DependencySerializer. Use SerializerMethodField and implement a function to fetch the is_unavailable value from the PackageVersion model. Implement tests for the endpoint using the serializer. The tests should verify that the field is present and correctly reflects the result of the is_unavailable function. Refs. TS-2276
- Loading branch information
1 parent
4d807f5
commit 0b9ea35
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters