CapsuleArtist.build

static CapsuleArtist.build(item, **kwargs)[source]

Build an artist corresponding to the item type.

Parameters

**kwargs (dict[str, Any], optional) – The keyword arguments (kwargs) collected in a dict. For relevant options, see the parameter lists of the matching artist type.

Returns

Artist – An artist of the type matching the provided item according to the item-artist map ITEM_ARTIST. The map is created by registering item-artist type pairs using register().