Skip to content

Ignore parameters with default values #1

@simonw

Description

@simonw

e.g. in this signature:

    @inject
    async def foo(bar, baz=1):
        # ...

Only bar should get the injection treatment. baz should be ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions