ScalerRegistration#
- pydantic model ansys.hps.client.rms.ScalerRegistration#
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.
self is explicitly positional-only to allow self as a field name.
Show JSON schema
{ "title": "ScalerRegistration", "type": "object", "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Unique ID for the worker.", "title": "Id" }, "name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "User-defined name for the worker.", "title": "Name" }, "last_modified": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "default": null, "description": "Date and time when the registration was last modified.", "title": "Last Modified" }, "host_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Static hardware and configuration-based UUID.", "title": "Host Id" }, "host_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name of the host that the worker is running on.", "title": "Host Name" }, "username": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Username that the worker authenticated with.", "title": "Username" }, "platform": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "OS that the evaluator is running on.", "title": "Platform" }, "build_info": { "anyOf": [ { "type": "object" }, { "type": "null" } ], "default": {}, "description": "Dictionary with build information.", "title": "Build Info" }, "config_modified": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "default": null, "description": "Date and time of the configuration's last modification.", "title": "Config Modified" } } }
- Fields:
build_info (Dict[str, Any] | None)
config_modified (datetime.datetime | None)
host_id (str | None)
host_name (str | None)
id (str | None)
last_modified (datetime.datetime | None)
name (str | None)
platform (str | None)
username (str | None)
- field build_info: Optional[Dict[str, Any]] = {}#
Dictionary with build information.
- field config_modified: Optional[datetime] = None#
Date and time of the configuration’s last modification.
- field host_id: Optional[str] = None#
Static hardware and configuration-based UUID.
- field host_name: Optional[str] = None#
Name of the host that the worker is running on.
- field id: Optional[str] = None#
Unique ID for the worker.
- field last_modified: Optional[datetime] = None#
Date and time when the registration was last modified.
- field name: Optional[str] = None#
User-defined name for the worker.
- field platform: Optional[str] = None#
OS that the evaluator is running on.
- field username: Optional[str] = None#
Username that the worker authenticated with.