Skip to content

Commit

Permalink
improve clone project comment (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
asafshen authored Nov 14, 2023
1 parent 9f12c56 commit 8cd966a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,7 @@ You can change the project name, as well as to clone the current project to a ne
descope.client.mgmt.project.change_name("new-project-name")

# Clone the current project, including its settings and configurations.
# Note that this action is supported only with a pro license or above.
# Users, tenants and access keys are not cloned.
clone_resp = descope.client.mgmt.project.clone("new-project-name")
```
Expand Down
3 changes: 2 additions & 1 deletion descope/management/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def clone(
):
"""
Clone the current project, including its settings and configurations.
Users, tenants and access keys are not cloned.
- This action is supported only with a pro license or above.
- Users, tenants and access keys are not cloned.
Args:
name (str): The new name for the project.
Expand Down

0 comments on commit 8cd966a

Please sign in to comment.