Common: Annotate HardwareID as a TypeAlias
This commit is contained in:
parent
b1f15b59f7
commit
cff363597a
|
@ -1,3 +1,5 @@
|
|||
from typing import TypeAlias
|
||||
|
||||
from pydantic import PositiveInt
|
||||
|
||||
HardwareID = PositiveInt
|
||||
HardwareID: TypeAlias = PositiveInt
|
||||
|
|
Loading…
Reference in New Issue