Skip to content

Commit

Permalink
fix: update response models
Browse files Browse the repository at this point in the history
  • Loading branch information
Giriharan219 committed Nov 7, 2024
1 parent 14b1401 commit 4f683f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nisystemlink/clients/feeds/models/_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class PackageMetadata(JsonModel):
"""The maintainer of the package (name and email address)."""
predepends: Optional[List[str]] = None
"""Information about other packages this package predepends."""
priority: int
priority: Optional[int] = None
"""The priority of the package."""
provides: Optional[List[str]] = None
"""Information about other packages that this package provides."""
Expand Down
4 changes: 2 additions & 2 deletions nisystemlink/clients/feeds/models/_query_feeds.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

from typing import List
from typing import List, Optional

from nisystemlink.clients.core._uplink._json_model import JsonModel

Expand All @@ -10,5 +10,5 @@
class QueryFeedsResponse(JsonModel):
"""Query Feeds response."""

feeds: List[Feed]
feeds: Optional[List[Feed]] = None
"""A collection of feeds"""

0 comments on commit 4f683f9

Please sign in to comment.