databroker.Broker.named¶
- classmethod Broker.named(name, auto_register=None, try_raw=True)[source]¶
Create a new Broker instance using the Tiled profile of this name.
See https://blueskyproject.io/tiled/how-to/profiles.html
Special Case: The name
'temp'creates a new, temporary configuration. Subsequent calls toBroker.named('temp')will create separate configurations. Any data saved using this temporary configuration will not be accessible once theBrokerinstance has been deleted.- Parameters:
- namestring
- auto_registerboolean, optional
By default, automatically register built-in asset handlers (classes that handle I/O for externally stored data). Set this to
Falseto do all registration manually.- try_raw: boolean, optional
This is a backward-compatibilty shim. Raw data has been moved from “xyz” to “xyz/raw” in many deployments. If true, check to see if an item named “raw” is contained in this node and, if so, uses that.
- Returns:
- dbBroker