Skip to content

component

konigle.managers.website.component

Component managers for the Konigle SDK.

This module provides managers for component resources, enabling component management and operations for building landing pages.

AsyncComponentManager

Bases: BaseComponentManager, BaseAsyncManager

Async manager for component resources.

create(data, type_='component') async

Create a new component.

update(id_, data) async

Update an existing component.

BaseComponentManager

base_path = '/admin/api/components' class-attribute instance-attribute

The API base path for this resource type.

resource_class = Component class-attribute instance-attribute

The resource model class this manager handles.

resource_update_class = ComponentUpdate class-attribute instance-attribute

The model class used for updating resources.

ComponentManager

Bases: BaseComponentManager, BaseSyncManager

Manager for component resources.

create(data, type_='component')

Create a new component.

update(id_, data)

Update an existing component.