Skip to content

Commit

Permalink
chore: fix type annotations for spectacular settings
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Oct 2, 2024
1 parent 90e50b9 commit c779db0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion weblate/api/spectacular.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@

from __future__ import annotations

from typing import Any

from django.utils.translation import gettext_lazy


def get_spectacular_settings(
installed_apps: list[str], site_url: str, site_title: str
) -> None:
) -> dict[str, Any]:
settings = {
# Use redoc from sidecar
# TODO: Should bundle it internally
Expand Down

0 comments on commit c779db0

Please sign in to comment.