-
Notifications
You must be signed in to change notification settings - Fork 9
feat: use GeneratedCallables for handling console methods #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Add proper *args handling in IntrospectingConsole.create_signatures_and_params() - Convert *args to _unknown_args_from_varargs dict to bridge incompatible interfaces - Update publish_known_event() to process converted *args data - Fix LogTestResults field ordering to prevent syntax errors - Update SQLMesh constraint from <0.188 to >=0.188 Fixes compatibility issue with SQLMesh 0.209.0 which added *args/**kwargs to log_error() and log_warning() abstract methods. Without this fix, the dynamic method generation creates invalid Python syntax that prevents import. The solution preserves all argument data in unknown_args while maintaining the clean **kwargs-only interface of the event system. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Replace dynamic exec() generation with proper callable class pattern for better maintainability, type safety, and debugging capability. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
@ravenac95 fyi, there's some method signature changes in the recent versions of SQLMesh, so you might need to cap this to 0.209.0, and then make further changes to increase the compatibility to the latest versions. |
@lucargir depending on the signature changes, the current design might handle it but I've got a test breaking i've not been able to fix on this branch. I need to check if it's the upgrade to 0.209.0 on this branch. I should also push up some additional work I have in progress for this. |
… console and backfilling integration\n- Support latest Dagster and SQLMesh versions\n- Exclude private README changes; keep upstream README\n\nRefs: opensource-observer#49, closes opensource-observer#43; follow-up to opensource-observer#52
This is originally from #49
Closes #43