strahl.types¶ types ¶ TagSet module-attribute ¶ TagSet = frozenset[str] TagSetLike module-attribute ¶ TagSetLike = set[str] | frozenset[str] TagSetExpr module-attribute ¶ TagSetExpr = TagSetLike | Callable[..., TagSetLike] ALL module-attribute ¶ ALL: TagSet = frozenset({'*'}) NONE module-attribute ¶ NONE: TagSet = frozenset() Label dataclass ¶ Label(source: TagSetExpr, visibility: TagSetExpr) source instance-attribute ¶ source: TagSetExpr visibility instance-attribute ¶ visibility: TagSetExpr __post_init__ ¶ __post_init__() resolvable_from_params ¶ resolvable_from_params(params: list[str]) -> bool resolvable_at_creation_time ¶ resolvable_at_creation_time() -> bool resolve ¶ resolve(kwargs: dict | None = None) -> 'ResolvedLabel' to_dict ¶ to_dict() -> dict ResolvedLabel dataclass ¶ ResolvedLabel(source: TagSet, visibility: TagSet) source instance-attribute ¶ source: TagSet visibility instance-attribute ¶ visibility: TagSet Document dataclass ¶ Document(name: str, content: str, label: Label) name instance-attribute ¶ name: str content instance-attribute ¶ content: str label instance-attribute ¶ label: ResolvedLabel to_dict ¶ to_dict() -> dict