SIABusinessData#
- pydantic model mobu.models.business.siaquerysetrunner.SIABusinessData#
Status of a running SIA business.
- Parameters:
data (
Any
)
Show JSON schema
{ "title": "SIABusinessData", "description": "Status of a running SIA business.", "type": "object", "properties": { "name": { "examples": [ "Business" ], "title": "Type of business", "type": "string" }, "failure_count": { "examples": [ 0 ], "title": "Number of failures", "type": "integer" }, "success_count": { "examples": [ 25 ], "title": "Number of successes", "type": "integer" }, "refreshing": { "title": "If the business is currently in the process of refreshing", "type": "boolean" }, "running_query": { "anyOf": [ { "$ref": "#/$defs/SIAQuery" }, { "type": "null" } ], "default": null, "description": "Will not be present if no query is being executed", "title": "Currently running query" } }, "$defs": { "SIAQuery": { "description": "The parameters of an SIA (v2) query.", "properties": { "ra": { "title": "Ra", "type": "number" }, "dec": { "title": "Dec", "type": "number" }, "radius": { "title": "Radius", "type": "number" }, "time": { "items": { "type": "number" }, "title": "Time", "type": "array" } }, "required": [ "ra", "dec", "radius", "time" ], "title": "SIAQuery", "type": "object" } }, "additionalProperties": false, "required": [ "name", "failure_count", "success_count", "refreshing" ] }
- Config:
extra: str = forbid
- Fields:
- field failure_count: int [Required]#
- field name: str [Required]#
- field refreshing: bool [Required]#
- field running_query: SIAQuery | None = None#
Will not be present if no query is being executed
- field success_count: int [Required]#