From 6209ec47cdd45e70ebe85fbd12df67d880feb12b Mon Sep 17 00:00:00 2001 From: Kekoa Kaaikala Date: Wed, 21 Sep 2022 18:06:19 +0000 Subject: [PATCH] Island: Fix mypy issues in app.py --- monkey/monkey_island/cc/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/app.py b/monkey/monkey_island/cc/app.py index 22a8497e9..c56e13322 100644 --- a/monkey/monkey_island/cc/app.py +++ b/monkey/monkey_island/cc/app.py @@ -2,7 +2,7 @@ import os import re import uuid from datetime import timedelta -from typing import Iterable, Type +from typing import Iterable, Set, Type import flask_restful from flask import Flask, Response, send_from_directory @@ -120,7 +120,7 @@ class FlaskDIWrapper: def __init__(self, api: flask_restful.Api, container: DIContainer): self._api = api self._container = container - self._reserved_urls = set() + self._reserved_urls: Set[str] = set() def add_resource(self, resource: Type[AbstractResource]): if len(resource.urls) == 0: