Skip to content

Why is the 'request' parameter not passed to 'user_manager.delete' in the 'delete' method of the router? #1257

@frankie567

Description

@frankie567

Discussed in #1256

Originally posted by hgalytoby July 25, 2023
I noticed that user_manager.delete can accept a request parameter.

https://github.com/fastapi-users/fastapi-users/blob/master/fastapi_users/manager.py#L469

However, when I looked at the delete method in the router, I observed that the request parameter is not being passed when using user_manager.delete.

https://github.com/fastapi-users/fastapi-users/blob/master/fastapi_users/router/users.py#L223

I wonder why the request parameter is not being passed to user_manager.delete in the delete method of the router?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions