🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

This commit is contained in:
pre-commit-ci[bot] 2022-08-24 19:23:13 +00:00
parent c43827d6bd
commit bbffb0e402
2 changed files with 5 additions and 5 deletions

View File

@ -354,4 +354,4 @@ To configure them, use the `get_stoplight_elements_html` built in function param
- `LayoutOptions.STACKED` Everything in a single column, making integrations with existing websites that have their own sidebar or other columns already.
- `logo` URL to an image that will show as a small square logo next to the title, above the table of contents.
- `router`
- Default: `RouterOptions.HISTORY`
- Default: `RouterOptions.HISTORY`

View File

@ -1,10 +1,10 @@
from fastapi import FastAPI
from fastapi.openapi.docs import (
get_stoplight_elements_html,
get_swagger_ui_oauth2_redirect_html,
TryItCredentialPolicyOptions,
LayoutOptions,
RouterOptions,
TryItCredentialPolicyOptions,
get_stoplight_elements_html,
get_swagger_ui_oauth2_redirect_html,
)
from fastapi.staticfiles import StaticFiles
@ -40,4 +40,4 @@ async def elements_html():
@app.get("/users/{username}")
async def read_user(username: str):
return {"message": f"Hello {username}"}
return {"message": f"Hello {username}"}