DbConfig
- class q2_sdk.hq.models.db_config.db_config.DbConfig(name, default, description=None, required=True)[source]
Bases:
Generic
[T
],JsonSerializable
Written to database during
q2 install
orq2 update_installed
- Parameters:
name (
str
) – Key written to the databasedefault (
TypeVar
(T
)) – Suggested value to write to the database (can be overridden at install time)description (
Optional
[str
]) – Helpful text to guide implementerrequired (
bool
) – If True, will raise errors at runtime when unset. Consider using False when DbConfigs are added to an already deployed extension