bayesline.api.AsyncInMemorySettingsRegistry.save#
- async AsyncInMemorySettingsRegistry.save(name: str, settings: SettingsType) int #
Parameters#
- namestr
The unique name of the item to save. The name cannot be all numbers.
- settingsT
The item to save.
Raises#
- ValueError
If the item name already exists or is all numbers.
Returns#
a unique identifier for the saved item.