FlockSummary#

pydantic model mobu.models.flock.FlockSummary#

Summary statistics about a running flock.

Parameters:

data (Any)

Show JSON schema
{
   "title": "FlockSummary",
   "description": "Summary statistics about a running flock.",
   "type": "object",
   "properties": {
      "name": {
         "examples": [
            "autostart"
         ],
         "title": "Name of the flock",
         "type": "string"
      },
      "business": {
         "examples": [
            "NotebookRunnerCounting"
         ],
         "title": "Name of the business the flock is running",
         "type": "string"
      },
      "start_time": {
         "anyOf": [
            {
               "format": "date-time",
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "description": "Will be null if the flock hasn't started",
         "examples": [
            "2021-07-21T19:43:40.446072+00:00"
         ],
         "title": "When the flock was started"
      },
      "monkey_count": {
         "examples": [
            5
         ],
         "title": "Number of monkeys in the flock",
         "type": "integer"
      },
      "success_count": {
         "examples": [
            455
         ],
         "title": "Total number of monkey successes in flock",
         "type": "integer"
      },
      "failure_count": {
         "examples": [
            4
         ],
         "title": "Total number of monkey failures in flock",
         "type": "integer"
      }
   },
   "required": [
      "name",
      "business",
      "start_time",
      "monkey_count",
      "success_count",
      "failure_count"
   ]
}

Fields:
field business: str [Required]#
field failure_count: int [Required]#
field monkey_count: int [Required]#
field name: str [Required]#
field start_time: datetime | None [Required]#

Will be null if the flock hasn’t started

field success_count: int [Required]#