set_global_backend¶
- uarray.set_global_backend(backend, coerce=False, only=False, *, try_last=False)[source]¶
This utility method replaces the default backend for permanent use. It will be tried in the list of backends automatically, unless the
only
flag is set on a backend. This will be the first tried backend outside theset_backend
context manager.Note that this method is not thread-safe.
Warning
We caution library authors against using this function in their code. We do not support this use-case. This function is meant to be used only by users themselves, or by a reference implementation, if one exists.
- Parameters
See also
set_backend
A context manager that allows setting of backends.
skip_backend
A context manager that allows skipping of backends.