TagProducer
Kind: Class
Domain: Other public symbols
Canonical import: from cadflow import TagProducer
Signature
class TagProducer(kind: 'TagProducerKind | str', node_id: 'Optional[str]' = None, rule_id: 'Optional[str]' = None, rule_version: 'Optional[str]' = None) -> None
Description
Identity of the operation, rule, or import that made an assertion.
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
kind | 'TagProducerKind | str' | yes | - | Not explicitly described in the source docstring. |
node_id | 'Optional[str]' | no | None | Not explicitly described in the source docstring. |
rule_id | 'Optional[str]' | no | None | Not explicitly described in the source docstring. |
rule_version | 'Optional[str]' | no | None | Not explicitly described in the source docstring. |
Returns
Type: None
The source docstring does not declare additional return semantics.
Errors
The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.
Data fields
| Name | Type | Default |
|---|---|---|
kind | 'TagProducerKind | str' | required |
node_id | 'Optional[str]' | None |
rule_id | 'Optional[str]' | None |
rule_version | 'Optional[str]' | None |
Public members
| Member | Kind | Signature | Description |
|---|---|---|---|
from_dict | class method | (cls, data: 'Mapping[str, Any]') -> "'TagProducer'" | See the member signature. |
to_dict | method | (self) -> 'Dict[str, Any]' | See the member signature. |
Behavior and constraints
- Instances are immutable dataclass values; update workflows return a replacement value.
Import check
from cadflow import TagProducer