Skip to content

Commit dfd86d4

Browse files
Fixed return type hints.
1 parent 733c83c commit dfd86d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connect/resources/directory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def list_marketplaces(self, filters=None):
5353
5454
:param dict|Query filters: Filters to pass to the request.
5555
:return: A list with the marketplaces that match the given filters.
56-
:rtype: list[Asset]
56+
:rtype: list[Marketplace]
5757
"""
5858
query = self._get_filters_query(filters, False)
5959
text, code = ApiClient(self._config, 'marketplaces' + query.compile()).get()
@@ -64,7 +64,7 @@ def get_marketplace(self, marketplace_id):
6464
6565
:param str marketplace_id: The id of the marketplace.
6666
:return: The asset with the given id, or ``None`` if such asset does not exist.
67-
:rtype: Asset|None
67+
:rtype: Marketplace|None
6868
"""
6969
text, code = ApiClient(self._config, 'marketplaces/' + marketplace_id).get()
7070
return Marketplace.deserialize(text)

0 commit comments

Comments
 (0)