From b74e3b114c5b5d6a8a788b48f9487c70ad6ad07d Mon Sep 17 00:00:00 2001 From: Bohdan_Asieiev Date: Wed, 4 Oct 2023 14:23:47 +0300 Subject: [PATCH] fix: mypy changes --- utils/indigo-service/backend/service/elastic/service/app.py | 2 +- .../backend/service/elastic/service/v3/libraries_api.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/indigo-service/backend/service/elastic/service/app.py b/utils/indigo-service/backend/service/elastic/service/app.py index c942ab3961..d73d51eb46 100644 --- a/utils/indigo-service/backend/service/elastic/service/app.py +++ b/utils/indigo-service/backend/service/elastic/service/app.py @@ -7,7 +7,7 @@ import urllib3 as urllib3 from dotenv import load_dotenv # type: ignore from flask import Flask -from flask_cors import CORS +from flask_cors import CORS # type: ignore from v3.libraries_api import libraries_api from werkzeug import run_simple diff --git a/utils/indigo-service/backend/service/elastic/service/v3/libraries_api.py b/utils/indigo-service/backend/service/elastic/service/v3/libraries_api.py index 407cc0f2e7..d8363a025a 100644 --- a/utils/indigo-service/backend/service/elastic/service/v3/libraries_api.py +++ b/utils/indigo-service/backend/service/elastic/service/v3/libraries_api.py @@ -21,7 +21,7 @@ from dotenv import load_dotenv # type: ignore from elasticsearch import Elasticsearch as NativeElastic # type: ignore from flask import Blueprint, request -from flask_cors import cross_origin +from flask_cors import cross_origin # type: ignore from indigo import Indigo, IndigoObject # type: ignore libraries_api = Blueprint("libraries_api", __name__)