Skip to content

Commit 36193e0

Browse files
committed
Black styling.
1 parent 8969c47 commit 36193e0

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

backend/app/main.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
visualization,
4949
thumbnails,
5050
)
51+
5152
# setup loggers
5253
# logging.config.fileConfig('logging.conf', disable_existing_loggers=False)
5354
from app.search.config import indexSettings
@@ -56,10 +57,11 @@
5657
logger = logging.getLogger(__name__)
5758

5859
app = FastAPI(
59-
title=settings.APP_NAME, openapi_url=f"{settings.API_V2_STR}/openapi.json",
60+
title=settings.APP_NAME,
61+
openapi_url=f"{settings.API_V2_STR}/openapi.json",
6062
description="A cloud native data management framework to support any research domain. Clowder was "
61-
"developed to help researchers and scientists in data intensive domains manage raw data, complex "
62-
"metadata, and automatic data pipelines. ",
63+
"developed to help researchers and scientists in data intensive domains manage raw data, complex "
64+
"metadata, and automatic data pipelines. ",
6365
version="2.0.0-beta.1",
6466
contact={"name": "Clowder", "url": "https://clowderframework.org/"},
6567
license_info={
@@ -189,11 +191,7 @@
189191
tags=["thumbnails"],
190192
dependencies=[Depends(get_current_username)],
191193
)
192-
api_router.include_router(
193-
status.router,
194-
prefix="/status",
195-
tags=["status"]
196-
)
194+
api_router.include_router(status.router, prefix="/status", tags=["status"])
197195
api_router.include_router(keycloak.router, prefix="/auth", tags=["auth"])
198196
app.include_router(api_router, prefix=settings.API_V2_STR)
199197

backend/app/models/status.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55

66
class Status(BaseModel):
7-
version: str = settings.version
7+
version: str = settings.version

backend/app/routers/status.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
router = APIRouter()
77
security = HTTPBearer()
88

9+
910
@router.get("", response_model=Status)
1011
async def add_thumbnail():
11-
return Status()
12+
return Status()

0 commit comments

Comments
 (0)