This page is auto-generated from the source code.
configDecorator to register a class with the config registry.
def config(cls: type | None = None, *, name: str | None = None)
Parameters:
cls (type, optional): The class to decorate.name (str, optional): Custom name for the registry key.Source: registry.py
Source: loader.py