fix: correct import pattern for typing.Self within honcho python SDK for python 3.10#857
fix: correct import pattern for typing.Self within honcho python SDK for python 3.10#857hsaeed3 wants to merge 1 commit into
typing.Self within honcho python SDK for python 3.10#857Conversation
…thon 3.10 versions of honcho Import Self from typing_extensions for compatibility with Python versions below 3.11.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughAdds a Python Self import compatibility
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
This PR corrects the pattern for importing
typing.Selfin Python 3.10 environments withinsdks/python/src/honcho/types.pyto preventImportErrorwhen importing the honcho PythonSDK.
Changes
Simple change of:
to:
Summary by CodeRabbit
Selftype support works across supported runtime versions.