Skip to content

Fix return type signature for context managers#2181

Open
lpsinger wants to merge 1 commit intoconfluentinc:masterfrom
lpsinger:typing-self
Open

Fix return type signature for context managers#2181
lpsinger wants to merge 1 commit intoconfluentinc:masterfrom
lpsinger:typing-self

Conversation

@lpsinger
Copy link
Contributor

Set the return type to Self so that the type annotations are correct for subclasses.

What

Checklist

  • Contains customer facing changes? Including API/behavior changes
  • 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

Set the return type to Self so that the type annotations are
correct for subclasses.
@lpsinger lpsinger requested review from a team and MSeal as code owners January 30, 2026 15:53
@confluent-cla-assistant
Copy link

🎉 All Contributor License Agreements have been signed. Ready to merge.
✅ lpsinger
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