SIAQuerySetRunnerOptions#
- pydantic model mobu.models.business.siaquerysetrunner.SIAQuerySetRunnerOptions#
Options for SIAQuerySetRunner monkey business.
- Parameters:
data (
Any
)
Show JSON schema
{ "title": "SIAQuerySetRunnerOptions", "description": "Options for SIAQuerySetRunner monkey business.", "type": "object", "properties": { "error_idle_time": { "$ref": "#/$defs/HumanTimedelta", "default": "PT1M", "examples": [ 600 ], "title": "How long to wait after an error before restarting" }, "idle_time": { "$ref": "#/$defs/HumanTimedelta", "default": "PT1M", "description": "After each loop executing monkey business, the monkey will pause for this long", "examples": [ 60 ], "title": "How long to wait between business executions" }, "log_level": { "$ref": "#/$defs/LogLevel", "default": "INFO", "title": "Log level for this monkey business" }, "query_set": { "default": "dp02", "examples": [ "dp02" ], "title": "Which query template set to use for a SIAQuerySetRunner", "type": "string" } }, "$defs": { "HumanTimedelta": { "format": "duration", "type": "string" }, "LogLevel": { "description": "Python logging level.\n\nAny case variation is accepted when converting a string to an enum value\nvia the class constructor.", "enum": [ "DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL" ], "title": "LogLevel", "type": "string" } }, "additionalProperties": false }
- Config:
extra: str = forbid
- Fields:
- field error_idle_time: HumanTimedelta = datetime.timedelta(seconds=60)#
- field idle_time: HumanTimedelta = datetime.timedelta(seconds=60)#
After each loop executing monkey business, the monkey will pause for this long
- field log_level: LogLevel = LogLevel.INFO#
- field query_set: str = 'dp02'#