Skip to content

Commit

Permalink
Add documentation to query_by_comparing_versions
Browse files Browse the repository at this point in the history
  • Loading branch information
another-rex committed Aug 27, 2024
1 parent 2719d3b commit 4afea58
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion gcp/api/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,15 @@ def _query_by_comparing_versions(context: QueryContext, query: ndb.Query,
"""
Query by comparing versions.
TODO:
Args:
context: QueryContext for the current query.
query: A partially completed ndb.Query object which only needs
version filters to be added before query is performed.
ecosystem: Optional ecosystem of the package to query.
version: The version str to query by.
Returns:
list of osv.Bugs
"""
bugs = []

Expand Down

0 comments on commit 4afea58

Please sign in to comment.