Skip to main content

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

NameTypeRequiredDefaultSource description
kind'TagProducerKind | str'yes-Not explicitly described in the source docstring.
node_id'Optional[str]'noNoneNot explicitly described in the source docstring.
rule_id'Optional[str]'noNoneNot explicitly described in the source docstring.
rule_version'Optional[str]'noNoneNot 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

NameTypeDefault
kind'TagProducerKind | str'required
node_id'Optional[str]'None
rule_id'Optional[str]'None
rule_version'Optional[str]'None

Public members

MemberKindSignatureDescription
from_dictclass method(cls, data: 'Mapping[str, Any]') -> "'TagProducer'"See the member signature.
to_dictmethod(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

See also