mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-10-30 17:06:06 +08:00
Fix linting
This commit is contained in:
@ -63,9 +63,9 @@ def forgot_password_token(user_manager: UserManagerMock[UserModel]):
|
|||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def create_oauth2_password_request_form() -> (
|
def create_oauth2_password_request_form() -> Callable[
|
||||||
Callable[[str, str], OAuth2PasswordRequestForm]
|
[str, str], OAuth2PasswordRequestForm
|
||||||
):
|
]:
|
||||||
def _create_oauth2_password_request_form(username, password):
|
def _create_oauth2_password_request_form(username, password):
|
||||||
return OAuth2PasswordRequestForm(username=username, password=password, scope="")
|
return OAuth2PasswordRequestForm(username=username, password=password, scope="")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user