ConfigAttribute
Makes an attribute forward to the config
Attributes
| Attribute | Type | Description |
|---|---|---|
| name | str | Stores the name of the configuration key this attribute forwards to, used to access the corresponding value in the application's configuration. |
| get_converter | `t.Callable[[t.Any], T] | None` |
Constructor
Signature
def ConfigAttribute(
name: str,
get_converter: t.Callable[[t.Any], T]| None = None
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| name | str | The name of the configuration attribute. |
| get_converter | `t.Callable[[t.Any], T] | None` = None |