Skip to content

PortRange

Structure Class

PortRange dataclass

Bases: _SerdeShape

An inclusive range of ports. The value of from must be less than or equal to the value of to.

Attributes

from_ instance-attribute
from_: int

The first port in the inclusive range.

to instance-attribute
to: int

The last port in the inclusive range.