Skip to content

Commit

Permalink
fix: address self review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Giriharan219 committed Nov 5, 2024
1 parent 33c80fb commit 9b09f9f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions nisystemlink/clients/feeds/_feeds_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __query_feeds(
platform: Optional[str] = None,
workspace: Optional[str] = None,
) -> models.QueryFeedsResponse:
"""Available feeds for the Platform `platform` under the Workspace `workspace`
"""Lists available feeds for the Platform `platform` under the Workspace `workspace`.
Args:
platform (Optional[str]): Information about system platform. Defaults to None.
Expand Down Expand Up @@ -103,7 +103,7 @@ def __upload_package(
Args:
feed_id (str): ID of the feed.
package (Part): Package file as a form data.
package (Part): Package file to be uploaded.
overwrite (Query): Set to True, to overwrite the package if it already exists.\
Defaults to False.
Expand Down
2 changes: 1 addition & 1 deletion nisystemlink/clients/feeds/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ._create_feeds import CreateFeedRequest
from ._create_feed import CreateFeedRequest
from ._feed import Feed
from ._package import Package
from ._platform import Platform
Expand Down
2 changes: 1 addition & 1 deletion nisystemlink/clients/feeds/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def get_feed_by_name(
feeds: List[Feed],
name: str,
) -> Optional[Feed]:
"""Get feed id from the list of feeds using `name`.
"""Get feed information from the list of feeds using `name`.
Args:
feeds (List[Feed]): List of feeds.
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/feeds/test_feeds_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def invalid_id() -> str:
@pytest.fixture(scope="class")
def get_feed_name():
"""Generate a feed name."""
name = "test_feed"
name = "test_feed_"
feed_count = 0

def _get_feed_name():
Expand Down

0 comments on commit 9b09f9f

Please sign in to comment.