Skip to content

Commit 9d287ee

Browse files
authored
refactor(secret-path): add project id optional (#300)
1 parent 8863395 commit 9d287ee

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

scaleway-async/scaleway_async/secret/v1alpha1/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ async def list_folders(
416416
List folders.
417417
Retrieve the list of folders created within a Project.
418418
:param region: Region to target. If none is passed will use default region from the config.
419-
:param project_id: ID of the Project.
419+
:param project_id: Filter by Project ID (optional).
420420
:param path: Filter by path (optional).
421421
:param page:
422422
:param page_size:
@@ -462,7 +462,7 @@ async def list_folders_all(
462462
List folders.
463463
Retrieve the list of folders created within a Project.
464464
:param region: Region to target. If none is passed will use default region from the config.
465-
:param project_id: ID of the Project.
465+
:param project_id: Filter by Project ID (optional).
466466
:param path: Filter by path (optional).
467467
:param page:
468468
:param page_size:

scaleway-async/scaleway_async/secret/v1alpha1/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ class ListFoldersRequest:
544544

545545
project_id: Optional[str]
546546
"""
547-
ID of the Project.
547+
Filter by Project ID (optional).
548548
"""
549549

550550
path: Optional[str]

scaleway/scaleway/secret/v1alpha1/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def list_folders(
416416
List folders.
417417
Retrieve the list of folders created within a Project.
418418
:param region: Region to target. If none is passed will use default region from the config.
419-
:param project_id: ID of the Project.
419+
:param project_id: Filter by Project ID (optional).
420420
:param path: Filter by path (optional).
421421
:param page:
422422
:param page_size:
@@ -462,7 +462,7 @@ def list_folders_all(
462462
List folders.
463463
Retrieve the list of folders created within a Project.
464464
:param region: Region to target. If none is passed will use default region from the config.
465-
:param project_id: ID of the Project.
465+
:param project_id: Filter by Project ID (optional).
466466
:param path: Filter by path (optional).
467467
:param page:
468468
:param page_size:

scaleway/scaleway/secret/v1alpha1/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ class ListFoldersRequest:
544544

545545
project_id: Optional[str]
546546
"""
547-
ID of the Project.
547+
Filter by Project ID (optional).
548548
"""
549549

550550
path: Optional[str]

0 commit comments

Comments
 (0)