Skip to content

Error with multiple type-hinted arguments #2

@kylebamos

Description

@kylebamos

When attempting to inject multiple type-hinted kwargs:

@di.inject(foo='foo', bar='bar')
def baz(foo: Foo = None, bar: Bar = None):
    ...

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions