-
Notifications
You must be signed in to change notification settings - Fork 407
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
improvement: show engine's tables in the datasources panel #3665
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
||
@property | ||
def source(self) -> str: | ||
return "sqlalchemy" | ||
return str(self._engine.dialect.name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea this helps with a better name / icon in the frontend. if the naming is confusing, we could not call is source
(although i don't think the source
is "sqlalchemy"
either)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gotcha, its fine then. the test needs to be fixed but yea.
🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.10.20-dev25 |
This adds the SQLEngine's tables in the datasources panel. Also adds some icons/pretty displays (which we can later re-use in the dropdown).
The engine variable name is clickable to jump to its definition in the notebook