diff --git a/nisystemlink/clients/feeds/_feeds_client.py b/nisystemlink/clients/feeds/_feeds_client.py index f67f62f0..df4d6ac5 100644 --- a/nisystemlink/clients/feeds/_feeds_client.py +++ b/nisystemlink/clients/feeds/_feeds_client.py @@ -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. @@ -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. diff --git a/nisystemlink/clients/feeds/models/__init__.py b/nisystemlink/clients/feeds/models/__init__.py index b1bdfeff..84c1df08 100644 --- a/nisystemlink/clients/feeds/models/__init__.py +++ b/nisystemlink/clients/feeds/models/__init__.py @@ -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 diff --git a/nisystemlink/clients/feeds/models/_create_feeds.py b/nisystemlink/clients/feeds/models/_create_feed.py similarity index 100% rename from nisystemlink/clients/feeds/models/_create_feeds.py rename to nisystemlink/clients/feeds/models/_create_feed.py diff --git a/nisystemlink/clients/feeds/utilities.py b/nisystemlink/clients/feeds/utilities.py index e56fc647..4b1a5776 100644 --- a/nisystemlink/clients/feeds/utilities.py +++ b/nisystemlink/clients/feeds/utilities.py @@ -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. diff --git a/tests/integration/feeds/test_feeds_client.py b/tests/integration/feeds/test_feeds_client.py index 49c399d3..181c38bf 100644 --- a/tests/integration/feeds/test_feeds_client.py +++ b/tests/integration/feeds/test_feeds_client.py @@ -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():