Skip to content

PermissionOption

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970870373984["permissions.PermissionOption"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970870373984
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

An option offered to the user.

Source code in src/aclientp/schema/v2/permissions.py
class PermissionOption(AnnotatedObject):
    """An option offered to the user."""

    option_id: PermissionOptionId
    """Identifier of the option; unique within the request."""

    name: str
    """Label shown to the user."""

    kind: PermissionOptionKind
    """Hint about the nature of the option."""

kind instance-attribute

Hint about the nature of the option.

name instance-attribute

name: str

Label shown to the user.

option_id instance-attribute

option_id: PermissionOptionId

Identifier of the option; unique within the request.

:fa-brands-github: Show source on GitHub