Skip to content

Commit

Permalink
Save selector dictionary and write out in manifest [#2693][#2800]
Browse files Browse the repository at this point in the history
automatic commit by git-black, original commits:
  74316bf
  • Loading branch information
gshank authored and iknox-fa committed Feb 8, 2022
1 parent 2d83df2 commit f8592d3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions core/dbt/contracts/graph/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1114,9 +1114,15 @@ class WritableManifest(ArtifactMixin):
metadata=dict(description=("The metrics defined in the dbt project and its dependencies"))
)
selectors: Mapping[UniqueID, Any] = field(
metadata=dict(description=(
'The selectors defined in selectors.yml'
))
metadata=dict(description=("The selectors defined in selectors.yml"))
)
disabled: Optional[Mapping[UniqueID, List[CompileResultNode]]] = field(
metadata=dict(description="A mapping of the disabled nodes in the target")
)
parent_map: Optional[NodeEdgeMap] = field(
metadata=dict(
description="A mapping from child nodes to their dependencies",
)
)
disabled: Optional[Mapping[UniqueID, List[CompileResultNode]]] = field(metadata=dict(
description='A mapping of the disabled nodes in the target'
Expand Down
2 changes: 1 addition & 1 deletion core/dbt/contracts/selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class SelectorDefinition(dbtClassMixin):
name: str
definition: Union[str, Dict[str, Any]]
description: str = ''
description: str = ""
default: bool = False


Expand Down

0 comments on commit f8592d3

Please sign in to comment.