Skip to content

Commit

Permalink
Fix minor issues in FastAPI UWS app template
Browse files Browse the repository at this point in the history
Fix a few issues in the `fastapi_safir_app` template with UWS
enabled that are autometically corrected by Ruff.
  • Loading branch information
rra committed Nov 25, 2024
1 parent 23a7c25 commit a445a13
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{%- if cookiecutter.flavor == "UWS" %}
{%- if cookiecutter.flavor == "UWS" -%}
"""Job parameter dependencies."""

from typing import Annotated

from fastapi import Depends, Request
from fastapi import Depends
from safir.uws import UWSJobParameter, uws_post_params_dependency

__all__ = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- if cookiecutter.flavor == "UWS" %}
{%- if cookiecutter.flavor == "UWS" -%}
"""Domain models for {{ cookiecutter.name }}."""

from __future__ import annotations
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- if cookiecutter.flavor == "UWS" %}
{%- if cookiecutter.flavor == "UWS" -%}
"""Worker for UWS database updates."""

from __future__ import annotations
Expand Down

0 comments on commit a445a13

Please sign in to comment.