Skip to content

Conversation

@leifwar
Copy link

@leifwar leifwar commented Jan 13, 2026

What

Have change the return type hint for both Producer.__enter__() and Consumer.__enter__() to Self. This will make it possible to extend this class through inheritance. Related to #2157.

Checklist

  • Contains customer facing changes? Including API/behavior changes
  • [x ] Did you add sufficient unit test and/or integration test coverage for this PR?
    • If not, please explain why it is not required

References

JIRA:

Test & Review

Open questions / Follow-ups

@leifwar leifwar requested review from a team and MSeal as code owners January 13, 2026 07:46
@confluent-cla-assistant
Copy link

confluent-cla-assistant bot commented Jan 13, 2026

🎉 All Contributor License Agreements have been signed. Ready to merge.
✅ leifwar
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant