use¶
-
Cauldron.api.
use
(name)[source] [edit on github]¶ Activae a KTL backend in Cauldron.
Parameters: name (str) – The name of the KTL backend to use. You should only call this function once per interpreter session. It will raise a
RuntimeError
if it is called when Cauldron has been already set up. After this call, it is safe to make imports from Cauldron KTL API modules:import Cauldron Cauldron.use("local") from Cauldron import ktl