From f418571d9318fb7527404297cb930e8053e6bd3e Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 22 Aug 2022 10:01:24 -0400 Subject: [PATCH] Common: Add HardwareID type --- monkey/common/__init__.py | 1 + monkey/common/types.py | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 monkey/common/types.py diff --git a/monkey/common/__init__.py b/monkey/common/__init__.py index c63b927d5..af48cd045 100644 --- a/monkey/common/__init__.py +++ b/monkey/common/__init__.py @@ -3,3 +3,4 @@ Used for a common things between agent and island """ from .di_container import DIContainer, UnresolvableDependencyError from .operating_system import OperatingSystem +from . import types diff --git a/monkey/common/types.py b/monkey/common/types.py new file mode 100644 index 000000000..6063611c9 --- /dev/null +++ b/monkey/common/types.py @@ -0,0 +1,3 @@ +from pydantic import PositiveInt + +HardwareID = PositiveInt