Skip to content

ConduitCategory

To create a new category, it must be derived from this class. Then you can create your blocks inside with @ConduitBlock.make decorator.

from pyconduit import ConduitCategory

class MyBlocks(ConduitCategory):
    ...

get(display_name) classmethod

Gets a block by its display name in this category. Category name will be added automatically, so you don't need to type the category name in the parameter. If you want to search for a full display name, then refer to ConduitBlock.get

Parameters:

Name Type Description Default
display_name str

The display name of the block.

required