Skip to content

Commit 9844abd

Browse files
authored
Updated readme to fix fix typos in the roles and permission management examples
1 parent 38b8baa commit 9844abd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -519,14 +519,14 @@ You can create, update, delete or load permissions:
519519
# You can optionally set a description for a permission.
520520
descope_client.mgmt.permission.create(
521521
name="My Permission",
522-
description="Optional description to briefly explain what this permission allows.",
522+
description="Optional description to briefly explain what this permission allows."
523523
)
524524

525525
# Update will override all fields as is. Use carefully.
526526
descope_client.mgmt.permission.update(
527527
name="My Permission",
528-
new_name="My Updated Permission"
529-
description="A revised description",
528+
new_name="My Updated Permission",
529+
description="A revised description"
530530
)
531531

532532
# Permission deletion cannot be undone. Use carefully.
@@ -554,9 +554,9 @@ descope_client.mgmt.role.create(
554554
# Update will override all fields as is. Use carefully.
555555
descope_client.mgmt.role.update(
556556
name="My Role",
557-
new_name="My Updated Role"
557+
new_name="My Updated Role",
558558
description="A revised description",
559-
permission_names=["My Updated Permission", "Another Permission"],
559+
permission_names=["My Updated Permission", "Another Permission"]
560560
)
561561

562562
# Role deletion cannot be undone. Use carefully.

0 commit comments

Comments
 (0)