ModelUpdate
Schema for updating a model.
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
name | Any | ✗ | None | - |
summary | Any | ✗ | None | - |
source | Any | ✗ | None | - |
questionnaire_ids | Any | ✗ | None | - |
status | Any | ✗ | None | - |
Usage Example
from credoai.models import ModelUpdate
# Create a new instance
model = ModelUpdate(
)
# Convert to dictionary
model_dict = model.model_dump()
print(model_dict)
# Create from dictionary
data = {
}
model_from_dict = ModelUpdate(**data)
JSON Schema
{
"type": "object",
"title": "ModelUpdate",
"description": "Schema for updating a model.",
"properties": {
"name": {
"type": "any"
},
"summary": {
"type": "any"
},
"source": {
"type": "any"
},
"questionnaire_ids": {
"type": "any"
},
"status": {
"type": "any"
}
},
"required": []
}