auth: Add type annotation for contexts.

Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
Zixuan James Li 2022-07-28 11:56:36 -04:00 committed by Tim Abbott
parent 87921315be
commit a3ec420074
1 changed files with 1 additions and 1 deletions

View File

@ -1049,7 +1049,7 @@ def saml_sp_metadata(request: HttpRequest) -> HttpResponse: # nocoverage
def config_error(request: HttpRequest, error_category_name: str) -> HttpResponse:
contexts = {
contexts: Dict[str, Dict[str, object]] = {
"apple": {"social_backend_name": "apple", "has_markdown_file": True},
"google": {"social_backend_name": "google", "has_markdown_file": True},
"github": {"social_backend_name": "github", "has_markdown_file": True},