RuntimeInfo#
- pydantic model tollan.config.RuntimeInfo[source]#
Runtime environment information.
Captures system information (user, host, platform, Python environment) and command-line invocation details.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.Show JSON schema
{ "title": "RuntimeInfo", "description": "Runtime environment information.\n\nCaptures system information (user, host, platform, Python environment)\nand command-line invocation details.", "type": "object", "properties": { "username": { "description": "Current username", "title": "Username", "type": "string" }, "hostname": { "description": "System hostname", "title": "Hostname", "type": "string" }, "platform": { "description": "Platform identifier (e.g., 'linux', 'darwin', 'win32')", "title": "Platform", "type": "string" }, "python_prefix": { "description": "Path to Python installation", "format": "path", "title": "Python Prefix", "type": "string" }, "exec_path": { "description": "Path to command-line executable", "format": "path", "title": "Exec Path", "type": "string" }, "cmd": { "description": "Invoking command line", "title": "Cmd", "type": "string" }, "config_sources": { "default": null, "description": "Config source list for debugging and introspection", "title": "Config Sources" }, "validation_context": { "additionalProperties": true, "description": "Context passed to conditional config validation (enable_if)", "title": "Validation Context", "type": "object" } } }
- Fields:
- field config_sources: Any = None#
Config source list for debugging and introspection
- field exec_path: Path [Optional]#
Path to command-line executable
- field python_prefix: Path [Optional]#
Path to Python installation