ResourceTemplateQuery

Query resource templates and optionally hydrate child relationships.

Usage

Source

ResourceTemplateQuery(
    backend,
    *,
    shape="full",
    load="none",
    expand=None,
    on_unloaded=None,
    **kwargs
)

Methods

Name Description
filter_by_types() Return clone matching templates carrying every requested type.
filter_label() Return clone matching resource-template label.
include_attribute_groups() Return clone preloading attribute-group templates.
include_children() Return clone preloading child templates.
include_types() Return clone preloading resource type tags.

filter_by_types()

Return clone matching templates carrying every requested type.

Usage

Source

filter_by_types(type_list)

filter_label()

Return clone matching resource-template label.

Usage

Source

filter_label(label)

include_attribute_groups()

Return clone preloading attribute-group templates.

Usage

Source

include_attribute_groups()

include_children()

Return clone preloading child templates.

Usage

Source

include_children()

include_types()

Return clone preloading resource type tags.

Usage

Source

include_types()