Skip to content

CPU

Source code in docs_src/capo_drs/types/cpu.py
class CPU(TypedDict, closed=True):
    cores: "capo_drs.types.positive_integer.PositiveInteger"
    """<p>The number of CPU cores.</p>"""
    model_name: NotRequired["capo_drs.types.bounded_string.BoundedString"]
    """<p>The model name of the CPU.</p>"""

cores instance-attribute

The number of CPU cores.

model_name instance-attribute

model_name: NotRequired[BoundedString]

The model name of the CPU.