Skip to content

fix: prefetch metadata when downloading #9739

fix: prefetch metadata when downloading

fix: prefetch metadata when downloading #9739

Triggered via pull request February 28, 2025 10:05
Status Success
Total duration 3m 21s
Artifacts

mypy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
mypy: weblate/trans/views/files.py#L97
Argument "extra" to "zip_download" has incompatible type "dict[str, str]"; expected "dict[str, bytes] | None"
mypy: weblate/api/views.py#L366
"MultipleFieldViewSet" has no attribute "lookup_fields"
mypy: weblate/api/views.py#L586
Item "AnonymousUser" of "User | AnonymousUser" has no attribute "administered_group_set"
mypy: weblate/api/views.py#L586
Unable to resolve return type of queryset/manager method "order_by"
mypy: weblate/api/views.py#L763
Argument 1 to "filter_access" of "ComponentQuerySet" has incompatible type "User | AnonymousUser"; expected "User"
mypy: weblate/api/views.py#L870
"CreditsMixin" has no attribute "permission_denied"
mypy: weblate/api/views.py#L872
"CreditsMixin" has no attribute "get_object"
mypy: weblate/api/views.py#L896
Argument 1 to "generate_credits" has incompatible type "Any | None"; expected "User"
mypy: weblate/api/views.py#L899
Argument 4 to "generate_credits" has incompatible type "Any | None"; expected "str"
mypy: weblate/api/views.py#L916
Incompatible types in assignment (expression has type "str", variable has type "tuple[str, ...]")
mypy
Process completed with exit code 1.