EvaluatorRegistration#

pydantic model ansys.hps.client.rms.EvaluatorRegistration#

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": "EvaluatorRegistration",
   "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"
      },
      "compute_resource_set_id": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "ID of the compute resource set that the evaluator belongs to.",
         "title": "Compute Resource Set Id"
      },
      "change_requested": {
         "anyOf": [
            {
               "format": "date-time",
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "Date and time of the configuration's last modification request.",
         "title": "Change Requested"
      }
   }
}

Fields:
  • build_info (Dict[str, Any] | None)

  • change_requested (datetime.datetime | None)

  • compute_resource_set_id (str | 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 change_requested: Optional[datetime] = None#

Date and time of the configuration’s last modification request.

field compute_resource_set_id: Optional[str] = None#

ID of the compute resource set that the evaluator belongs to.

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.