Skip to content

Pass the path route argument to the handler #41

Open
@NicolaiSchmid

Description

My actions before raising this issue

I'd like to suggest passing the path argument to the handler as a second argument, as it would prove quite valuable to my application
I'm not really familiar with Flask however and I might be able to access the argument already via a property on the request object. If that's the case, please let me know!

Context

The function I'm developing returns a list of attributes for a username. I think the natural implementation would be to make a GET request to /username. It would be great if I could reuse it

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions