Skip to content

Commit 43c75ce

Browse files
authored
docs(cockpit): rephrase deprecation notes to fix lint error (#1362)
1 parent 01707af commit 43c75ce

File tree

2 files changed

+8
-8
lines changed
  • scaleway-async/scaleway_async/cockpit/v1
  • scaleway/scaleway/cockpit/v1

2 files changed

+8
-8
lines changed

scaleway-async/scaleway_async/cockpit/v1/api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ async def list_plans(
461461
"""
462462
List plan types.
463463
Retrieve a list of available pricing plan types.
464-
Deprecated: retention is now managed at the data source level.
464+
Deprecated due to retention now being managed at the data source level.
465465
:param page: Page number.
466466
:param page_size: Page size.
467467
:param order_by:
@@ -497,7 +497,7 @@ async def list_plans_all(
497497
"""
498498
List plan types.
499499
Retrieve a list of available pricing plan types.
500-
Deprecated: retention is now managed at the data source level.
500+
Deprecated due to retention now being managed at the data source level.
501501
:param page: Page number.
502502
:param page_size: Page size.
503503
:param order_by:
@@ -530,7 +530,7 @@ async def select_plan(
530530
"""
531531
Apply a pricing plan.
532532
Apply a pricing plan on a given Project. You must specify the ID of the pricing plan type. Note that you will be billed for the plan you apply.
533-
Deprecated: retention is now managed at the data source level.
533+
Deprecated due to retention now being managed at the data source level.
534534
:param project_id: ID of the Project.
535535
:param plan_name: Name of the pricing plan.
536536
:return: :class:`Plan <Plan>`
@@ -565,7 +565,7 @@ async def get_current_plan(
565565
"""
566566
Get current plan.
567567
Retrieve a pricing plan for the given Project, specified by the ID of the Project.
568-
Deprecated: retention is now managed at the data source level.
568+
Deprecated due to retention now being managed at the data source level.
569569
:param project_id: ID of the Project.
570570
:return: :class:`Plan <Plan>`
571571
:deprecated

scaleway/scaleway/cockpit/v1/api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def list_plans(
461461
"""
462462
List plan types.
463463
Retrieve a list of available pricing plan types.
464-
Deprecated: retention is now managed at the data source level.
464+
Deprecated due to retention now being managed at the data source level.
465465
:param page: Page number.
466466
:param page_size: Page size.
467467
:param order_by:
@@ -497,7 +497,7 @@ def list_plans_all(
497497
"""
498498
List plan types.
499499
Retrieve a list of available pricing plan types.
500-
Deprecated: retention is now managed at the data source level.
500+
Deprecated due to retention now being managed at the data source level.
501501
:param page: Page number.
502502
:param page_size: Page size.
503503
:param order_by:
@@ -530,7 +530,7 @@ def select_plan(
530530
"""
531531
Apply a pricing plan.
532532
Apply a pricing plan on a given Project. You must specify the ID of the pricing plan type. Note that you will be billed for the plan you apply.
533-
Deprecated: retention is now managed at the data source level.
533+
Deprecated due to retention now being managed at the data source level.
534534
:param project_id: ID of the Project.
535535
:param plan_name: Name of the pricing plan.
536536
:return: :class:`Plan <Plan>`
@@ -565,7 +565,7 @@ def get_current_plan(
565565
"""
566566
Get current plan.
567567
Retrieve a pricing plan for the given Project, specified by the ID of the Project.
568-
Deprecated: retention is now managed at the data source level.
568+
Deprecated due to retention now being managed at the data source level.
569569
:param project_id: ID of the Project.
570570
:return: :class:`Plan <Plan>`
571571
:deprecated

0 commit comments

Comments
 (0)