aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/base_route.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysite/base_route.py')
-rw-r--r--pysite/base_route.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pysite/base_route.py b/pysite/base_route.py
index 400a4649..f389b56e 100644
--- a/pysite/base_route.py
+++ b/pysite/base_route.py
@@ -1,6 +1,6 @@
# coding=utf-8
from collections import Iterable
-from typing import Any, Dict
+from typing import Any
from flask import Blueprint, Response, jsonify, render_template
from flask.views import MethodView
@@ -17,7 +17,7 @@ class BaseView(MethodView):
name = None # type: str
- def render(self, *template_names: str, **context: Dict[str, Any]) -> str:
+ def render(self, *template_names: str, **context: Any) -> str:
"""
Render some templates and get them back in a form that you can simply return from your view function.