1
0
mirror of synced 2025-02-17 11:18:33 +01:00

Fix minor type issue in API.

This commit is contained in:
Jennifer Taylor 2021-09-07 17:56:31 +00:00
parent 2f6e116405
commit ef4a43be0e

View File

@ -1,7 +1,7 @@
import copy
import json
import traceback
from typing import Any, Callable, Dict
from typing import Any, Callable, Dict, List
from flask import Flask, abort, request, Response
from functools import wraps
@ -16,7 +16,7 @@ app = Flask(
)
config = Config()
SUPPORTED_VERSIONS = ['v1']
SUPPORTED_VERSIONS: List[str] = ['v1']
def jsonify_response(data: Dict[str, Any], code: int=200) -> Response: