Skip to content

Commit

Permalink
fixed?
Browse files Browse the repository at this point in the history
  • Loading branch information
bomzheg committed Jul 29, 2024
1 parent 976f25f commit 01a6a57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions shvatka/api/utils/cookie_auth.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from typing import Optional

from fastapi import HTTPException
from fastapi import Request
from fastapi import status
Expand All @@ -16,7 +14,7 @@ class OAuth2PasswordBearerWithCookie(OAuth2):
def __init__(
self,
token_url: str,
scheme_name: Optional[str] = None,
scheme_name: str | None = None,
auto_error: bool = True,
):
flows = OAuthFlowsModel(password=OAuthFlowPassword(tokenUrl=token_url))
Expand Down
2 changes: 1 addition & 1 deletion shvatka/infrastructure/file_id_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ def run():


if __name__ == "__main__":
run()
run()

0 comments on commit 01a6a57

Please sign in to comment.