Skip to content

Commit 8cd966a

Browse files
authored
improve clone project comment (#310)
1 parent 9f12c56 commit 8cd966a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,7 @@ You can change the project name, as well as to clone the current project to a ne
10321032
descope.client.mgmt.project.change_name("new-project-name")
10331033

10341034
# Clone the current project, including its settings and configurations.
1035+
# Note that this action is supported only with a pro license or above.
10351036
# Users, tenants and access keys are not cloned.
10361037
clone_resp = descope.client.mgmt.project.clone("new-project-name")
10371038
```

descope/management/project.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ def clone(
3232
):
3333
"""
3434
Clone the current project, including its settings and configurations.
35-
Users, tenants and access keys are not cloned.
35+
- This action is supported only with a pro license or above.
36+
- Users, tenants and access keys are not cloned.
3637
3738
Args:
3839
name (str): The new name for the project.

0 commit comments

Comments
 (0)