Skip to content

Commit 6f54b55

Browse files
Update directory.py
1 parent dfd86d4 commit 6f54b55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

connect/resources/directory.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,18 @@ def list_marketplaces(self, filters=None):
5252
""" List the marketplaces.
5353
5454
:param dict|Query filters: Filters to pass to the request.
55-
:return: A list with the marketplaces that match the given filters.
55+
:return: List of marketplaces matching given filters.
5656
:rtype: list[Marketplace]
5757
"""
5858
query = self._get_filters_query(filters, False)
5959
text, code = ApiClient(self._config, 'marketplaces' + query.compile()).get()
6060
return Marketplace.deserialize(text)
6161

6262
def get_marketplace(self, marketplace_id):
63-
""" Returns the marketplace with the given id.
63+
""" Obtains Marketplace object given its ID.
6464
6565
:param str marketplace_id: The id of the marketplace.
66-
:return: The asset with the given id, or ``None`` if such asset does not exist.
66+
:return: The marketplace with the given id, or ``None`` if such marketplace does not exist.
6767
:rtype: Marketplace|None
6868
"""
6969
text, code = ApiClient(self._config, 'marketplaces/' + marketplace_id).get()

0 commit comments

Comments
 (0)