Skip to content

Remove hacks to use hint-only async stubs #202

Description

@llucax

What's needed?

We need to stop using hacks to be able to provide correct type-hints for asyn stubs.

Proposed solution

Downstream projects should be able to write this:

class MyApiClient(BaseApiClient[ExampleAsyncStub]):
    ... # without the need to define the `stub` property

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:codeAffects the code in generalstatus:blockedOther issues must be resolved before this can be worked ontype:enhancementNew feature or enhancement visitble to users

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions