- Notifications
You must be signed in to change notification settings - Fork321
feat: add--no_query_cache option to%%bigquery magics to disable…#1141
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
| ) | ||
| @magic_arguments.argument( | ||
| "--no_query_cache", | ||
| action="store_true", |
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'm not understanding what this "store_true" is about, but it seems consistent with the other arguments.
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.
That's behavior IPython/Jupyter inherits from argparsehttps://docs.python.org/3/library/argparse.html#action
The gist is that if this argument is present it'll setargs.no_query_cache = True rather than requiring a boolean parameter.
… query cache
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes internal issue 215520997 🦕