Skip to content

Commit f83d45c

Browse files
committed
Minor docs cleanup
1 parent 6fb5f29 commit f83d45c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

nextmv/nextmv/manifest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,13 +458,13 @@ class ManifestOptionUI(BaseModel):
458458
it is used in the Nextmv Cloud UI to define the type of control to use for
459459
the option. This will be validated by the Nextmv Cloud, and availability
460460
is based on option_type.
461-
hidden_from : list[str], optional
461+
hidden_from : list[AccountMemberRole], optional
462462
A list of team roles to which this option will be hidden in the UI. For
463463
example, if you want to hide an option from the "operator" role, you can
464464
pass `hidden_from=["operator"]`.
465465
466-
These are validated during API handling to ensure they are one of:
467-
["root", "admin", "developer", "operator", "viewer"]
466+
Each roles is validated during API handling to ensure they are one of:
467+
`"root"`, `"admin"`, `"developer"`, `"operator"`, or `"viewer"`
468468
display_name : str, optional
469469
An optional display name for the option. This is useful for making
470470
the option more user-friendly in the UI.

nextmv/nextmv/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Option:
7575
it is used in the Nextmv Cloud UI to define the type of control to use for
7676
the option. This will be validated by the Nextmv Cloud, and availability
7777
is based on options_type.
78-
hidden_from : list[str], optional
78+
hidden_from : list[AccountMemberRole], optional
7979
A list of team roles to which this option will be hidden in the UI. For
8080
example, if you want to hide an option from the "operator" role, you can
8181
pass `hidden_from=["operator"]`.

0 commit comments

Comments
 (0)