Admin#

pydantic model gafaelfawr.models.admin.Admin#

A token administrator.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "Admin",
   "description": "A token administrator.",
   "type": "object",
   "properties": {
      "username": {
         "description": "Username of the token administrator",
         "examples": [
            "adminuser"
         ],
         "title": "Admin username",
         "type": "string"
      }
   },
   "required": [
      "username"
   ]
}

Fields:
field username: str [Required]#

Username of the token administrator

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.