Patch Title#

pydantic model PatchTitle[source]#

Represents patch software title information retrieved via API calls.

Variables:
  • title – The name of the patch title.

  • released – The release date of the patch title.

  • hosts_patched – The number of hosts that have applied the patch.

  • missing_patch – The number of hosts missing the patch.

  • completion_percent – The percentage of hosts that have applied the patch.

  • total_hosts – The total number of hosts.

Validators:
field completion_percent: float = 0.0#
Validated by:
field hosts_patched: int [Required]#
Validated by:
field missing_patch: int [Required]#
Validated by:
field released: AnyStr [Required]#
Validated by:
field title: AnyStr [Required]#
Validated by:
field total_hosts: int = 0#
Validated by:
validator calculate_completion_percent  »  all fields[source]#

Calculates the completion percentage and total hosts of a PatchTitle object based on hosts_patched and missing_patch.

See get_summaries()