TagTarget
Kind: Class
Domain: Other public symbols
Canonical import: from cadflow import TagTarget
Signature
class TagTarget(kind: 'TagTargetKind | str' = <TagTargetKind.SCOPE_ROOT: 'scope_root'>, query_hash: 'Optional[str]' = None, binding_hash: 'Optional[str]' = None, selector: 'Optional[Dict[str, Any]]' = None, refs: 'Tuple[Dict[str, Any], ...]' = ()) -> None
Description
Serializable assignment intent, separate from execution evidence.
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
kind | 'TagTargetKind | str' | no | <TagTargetKind.SCOPE_ROOT: 'scope_root'> | Not explicitly described in the source docstring. |
query_hash | 'Optional[str]' | no | None | Not explicitly described in the source docstring. |
binding_hash | 'Optional[str]' | no | None | Not explicitly described in the source docstring. |
selector | 'Optional[Dict[str, Any]]' | no | None | Not explicitly described in the source docstring. |
refs | 'Tuple[Dict[str, Any], ...]' | no | () | 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 | 'TagTargetKind | str' | <TagTargetKind.SCOPE_ROOT: 'scope_root'> |
query_hash | 'Optional[str]' | None |
binding_hash | 'Optional[str]' | None |
selector | 'Optional[Dict[str, Any]]' | None |
refs | 'Tuple[Dict[str, Any], ...]' | () |
Public members
| Member | Kind | Signature | Description |
|---|---|---|---|
from_dict | class method | (cls, data: 'Mapping[str, Any]') -> "'TagTarget'" | 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 TagTarget