Skip to main content

TagBinding

Kind: Class
Domain: Other public symbols
Canonical import: from cadflow import TagBinding

Signature

class TagBinding(tag: 'str', producer: 'TagProducer', scope: 'TagBindingScope' = <factory>, target: 'TagTarget' = <factory>, propagation: 'TagPropagation' = <factory>, evidence: 'TagEvidence' = <factory>, attachment: 'TagAttachment | str' = <TagAttachment.LOCAL: 'local'>, certainty: 'TagCertainty | str' = <TagCertainty.ASSERTED: 'asserted'>, lifecycle: 'TagLifecycle | str' = <TagLifecycle.ASSERTION: 'assertion'>, binding_id: 'str' = <factory>, schema_version: 'str' = '1.0') -> None

Description

Canonical, source-preserving Semantic Binding Schema 1.0 assignment.

Parameters

NameTypeRequiredDefaultSource description
tag'str'yes-Not explicitly described in the source docstring.
producer'TagProducer'yes-Not explicitly described in the source docstring.
scope'TagBindingScope'no&lt;factory&gt;Not explicitly described in the source docstring.
target'TagTarget'no&lt;factory&gt;Not explicitly described in the source docstring.
propagation'TagPropagation'no&lt;factory&gt;Not explicitly described in the source docstring.
evidence'TagEvidence'no&lt;factory&gt;Not explicitly described in the source docstring.
attachment'TagAttachment | str'no&lt;TagAttachment.LOCAL: 'local'&gt;Not explicitly described in the source docstring.
certainty'TagCertainty | str'no&lt;TagCertainty.ASSERTED: 'asserted'&gt;Not explicitly described in the source docstring.
lifecycle'TagLifecycle | str'no&lt;TagLifecycle.ASSERTION: 'assertion'&gt;Not explicitly described in the source docstring.
binding_id'str'no&lt;factory&gt;Not explicitly described in the source docstring.
schema_version'str'no'1.0'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

NameTypeDefault
tag'str'required
producer'TagProducer'required
scope'TagBindingScope'factory
target'TagTarget'factory
propagation'TagPropagation'factory
evidence'TagEvidence'factory
attachment'TagAttachment | str'&lt;TagAttachment.LOCAL: 'local'&gt;
certainty'TagCertainty | str'&lt;TagCertainty.ASSERTED: 'asserted'&gt;
lifecycle'TagLifecycle | str'&lt;TagLifecycle.ASSERTION: 'assertion'&gt;
binding_id'str'factory
schema_version'str''1.0'

Public members

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

See also