⬆️ auto update by pre-commit hooks (#3301)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot]
2025-02-04 11:00:41 +08:00
committed by GitHub
parent 4d9f5f0953
commit af5dfcee72
6 changed files with 16 additions and 19 deletions

View File

@ -190,9 +190,9 @@ def get_asgi() -> Any:
```
"""
driver = get_driver()
assert isinstance(
driver, ASGIMixin
), "asgi object is only available for asgi driver"
assert isinstance(driver, ASGIMixin), (
"asgi object is only available for asgi driver"
)
return driver.asgi