From e478ba80e04fb33eb8c1e1f6ec0e576892f07c03 Mon Sep 17 00:00:00 2001 From: Kekoa Kaaikala Date: Wed, 21 Sep 2022 18:28:17 +0000 Subject: [PATCH] Island: Fix mypy issues in version.py --- monkey/monkey_island/cc/resources/version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/resources/version.py b/monkey/monkey_island/cc/resources/version.py index 69a9cb851..9da127e09 100644 --- a/monkey/monkey_island/cc/resources/version.py +++ b/monkey/monkey_island/cc/resources/version.py @@ -1,6 +1,6 @@ import logging -from monkey_island.cc import Version +from monkey_island.cc import Version as IslandVersion from monkey_island.cc.resources.AbstractResource import AbstractResource from monkey_island.cc.resources.request_authentication import jwt_required @@ -10,7 +10,7 @@ logger = logging.getLogger(__name__) class Version(AbstractResource): urls = ["/api/island/version"] - def __init__(self, version: Version): + def __init__(self, version: IslandVersion): self._version = version @jwt_required