From 421ed942feb33d8ea167d4f6a767aa6fa2509a00 Mon Sep 17 00:00:00 2001 From: Kekoa Kaaikala Date: Wed, 21 Sep 2022 18:09:18 +0000 Subject: [PATCH] Island: Fix mypy issues in AbstractResource.py --- monkey/monkey_island/cc/resources/AbstractResource.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/resources/AbstractResource.py b/monkey/monkey_island/cc/resources/AbstractResource.py index 799cd5a23..8482926be 100644 --- a/monkey/monkey_island/cc/resources/AbstractResource.py +++ b/monkey/monkey_island/cc/resources/AbstractResource.py @@ -1,6 +1,8 @@ +from typing import List + import flask_restful # The purpose of this class is to decouple resources from flask class AbstractResource(flask_restful.Resource): - urls = [] + urls: List[str] = []