Skip to content

Commit be5d628

Browse files
authored
feat(marketplace): add ListLocalImage to cli and documentation generation (#19)
1 parent b87e7eb commit be5d628

File tree

2 files changed

+26
-0
lines changed
  • scaleway-async/scaleway_async/marketplace/v2
  • scaleway/scaleway/marketplace/v2

2 files changed

+26
-0
lines changed

scaleway-async/scaleway_async/marketplace/v2/api.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,13 @@ async def list_local_images(
240240
order_by: ListLocalImagesRequestOrderBy = ListLocalImagesRequestOrderBy.CREATED_AT_ASC,
241241
) -> ListLocalImagesResponse:
242242
"""
243+
List local images from a specific image or version
244+
:param image_id: One-of ('scope'): at most one of 'image_id', 'version_id' could be set.
245+
:param version_id: One-of ('scope'): at most one of 'image_id', 'version_id' could be set.
246+
:param page_size:
247+
:param page:
248+
:param order_by:
249+
:return: :class:`ListLocalImagesResponse <ListLocalImagesResponse>`
243250
244251
Usage:
245252
::
@@ -276,6 +283,12 @@ async def list_local_images_all(
276283
order_by: Optional[ListLocalImagesRequestOrderBy] = None,
277284
) -> List[LocalImage]:
278285
"""
286+
List local images from a specific image or version
287+
:param image_id: One-of ('scope'): at most one of 'image_id', 'version_id' could be set.
288+
:param version_id: One-of ('scope'): at most one of 'image_id', 'version_id' could be set.
289+
:param page_size:
290+
:param page:
291+
:param order_by:
279292
:return: :class:`List[ListLocalImagesResponse] <List[ListLocalImagesResponse]>`
280293
281294
Usage:

scaleway/scaleway/marketplace/v2/api.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,13 @@ def list_local_images(
240240
order_by: ListLocalImagesRequestOrderBy = ListLocalImagesRequestOrderBy.CREATED_AT_ASC,
241241
) -> ListLocalImagesResponse:
242242
"""
243+
List local images from a specific image or version
244+
:param image_id: One-of ('scope'): at most one of 'image_id', 'version_id' could be set.
245+
:param version_id: One-of ('scope'): at most one of 'image_id', 'version_id' could be set.
246+
:param page_size:
247+
:param page:
248+
:param order_by:
249+
:return: :class:`ListLocalImagesResponse <ListLocalImagesResponse>`
243250
244251
Usage:
245252
::
@@ -276,6 +283,12 @@ def list_local_images_all(
276283
order_by: Optional[ListLocalImagesRequestOrderBy] = None,
277284
) -> List[LocalImage]:
278285
"""
286+
List local images from a specific image or version
287+
:param image_id: One-of ('scope'): at most one of 'image_id', 'version_id' could be set.
288+
:param version_id: One-of ('scope'): at most one of 'image_id', 'version_id' could be set.
289+
:param page_size:
290+
:param page:
291+
:param order_by:
279292
:return: :class:`List[ListLocalImagesResponse] <List[ListLocalImagesResponse]>`
280293
281294
Usage:

0 commit comments

Comments
 (0)