Robot Models#
This documentation auto-generates details about the Pydantic models defined in
app/domain/robots/models/models.py.
Domain model for robots.
- pydantic model app.domain.robots.models.models.Robot[source]#
Core Robot model.
Show Entity Relationship Diagram
![digraph "Entity Relationship Diagram created by erdantic" {
graph [fontcolor=gray66,
fontname="Times New Roman,Times,Liberation Serif,serif",
fontsize=9,
nodesep=0.5,
rankdir=LR,
ranksep=1.5
];
node [fontname="Times New Roman,Times,Liberation Serif,serif",
fontsize=14,
label="\N",
shape=plain
];
edge [dir=both];
"app.domain.robots.models.models.Robot" [label=<<table border="0" cellborder="1" cellspacing="0"><tr><td port="_root" colspan="2"><b>Robot</b></td></tr><tr><td>id</td><td port="id">UUID</td></tr><tr><td>description</td><td port="description">str</td></tr><tr><td>name</td><td port="name">str</td></tr><tr><td>owner</td><td port="owner">str</td></tr><tr><td>client_secret</td><td port="client_secret">SecretStr | None</td></tr></table>>,
tooltip="app.domain.robots.models.models.Robot

Core Robot model.
"];
}](../../_images/graphviz-1e3202fc378578e202b2c691df023c1ab52468b7.png)
Show JSON schema
{ "title": "Robot", "description": "Core Robot model.", "type": "object", "properties": { "id": { "description": "The autogenerated database ID.", "format": "uuid", "title": "Id", "type": "string" }, "description": { "description": "Description of the robot.", "title": "Description", "type": "string" }, "name": { "description": "The name of the robot.", "title": "Name", "type": "string" }, "owner": { "description": "Owner of the robot.", "title": "Owner", "type": "string" }, "client_secret": { "anyOf": [ { "format": "password", "type": "string", "writeOnly": true }, { "type": "null" } ], "default": null, "description": "The secret key used for communicating with this robot.", "title": "Client Secret" } }, "additionalProperties": false, "required": [ "description", "name", "owner" ] }
- Config:
from_attributes: bool = True
extra: str = forbid
- Fields:
- field client_secret: SecretStr | None = None[source]#
The secret key used for communicating with this robot.