-
Notifications
You must be signed in to change notification settings - Fork 22
feat(magic): add run_personal and run_shared magic commands #50
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
Conversation
|
How can we automatically load these commands on the notebook startup instead of executing |
b1fbb1a to
7b46bd9
Compare
kesmit13
left a comment
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.
I know the sqlx magic used the top-level namespace, but I think we should avoid that here since these are very specific to SingleStore. I think we should add a magics subdirectory to singlestoredb and put all of our SingleStore-specific magics in that module and load them all at once (i.e., %load_ext singlestoredb.magics).
This PR introduces the
run_personalandrun_sharedmagic commands. These commands are wrappers for downloading and executing a personal or shared file. After its execution, the local file created is deleted.cc: @ricardoasmarques @kanitsharma