Skip to content
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

Add ability to set module-wide defaults for silencing, backend aggregation algorithm #71

Merged
merged 3 commits into from
Jun 3, 2024

Conversation

ks905383
Copy link
Owner

@ks905383 ks905383 commented Jun 3, 2024

Main changes

  • Implements a way to set global defaults, updates tests, docs to match

Now, xa.set_defaults() can be used, either on its own or in a with block, to set silent=True/False or impl='for_loop'/'dot_product'.

Now truly fixes #55

Minor changes

  • .gitignore now ignores temporary files created during export tests

Implements `OPTIONS`, `set_options()`, and `get_options()`, which will
allow global setting of `silent` and `impl`, in addition to setting them
in "with" blocks. Sets stage to eventually get rid of "silent" and "impl"
as function options, to be replaced with with blocks and `set_options()`.
@ks905383 ks905383 merged commit cf23817 into main Jun 3, 2024
11 checks passed
@ks905383 ks905383 deleted the fix_silent branch June 3, 2024 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

silent=True not suppressing messages
1 participant