templates
Accessed as client.misc.label.templates; the async client mirrors it.
MiscLabelTemplates
The misc.label.templates namespace.
get
get(name: str) -> list[LabelTemplate]
Returns all labels in a template.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
name of the template |
required |
Returns:
| Type | Description |
|---|---|
list[LabelTemplate]
|
LabelTemplateInfo. |
Raises:
| Type | Description |
|---|---|
NotFoundError
|
|
Operation ID: getLabelTemplateInfo
list
list() -> list[str]
Returns a list of all label templates.
Returns:
| Type | Description |
|---|---|
list[str]
|
LabelTemplateList. |
Operation ID: listLabelTemplates
AsyncMiscLabelTemplates
The misc.label.templates namespace.
get
get(name: str) -> list[LabelTemplate]
Returns all labels in a template.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
name of the template |
required |
Returns:
| Type | Description |
|---|---|
list[LabelTemplate]
|
LabelTemplateInfo. |
Raises:
| Type | Description |
|---|---|
NotFoundError
|
|
Operation ID: getLabelTemplateInfo
list
list() -> list[str]
Returns a list of all label templates.
Returns:
| Type | Description |
|---|---|
list[str]
|
LabelTemplateList. |
Operation ID: listLabelTemplates