id
int64
0
328k
repository_name
stringlengths
7
58
file_path
stringlengths
9
302
class_name
stringlengths
5
256
human_written_code
stringlengths
16
2.16M
class_skeleton
stringlengths
18
1.49M
⌀
total_program_units
int64
1
1.76k
total_doc_str
int64
0
771
AvgCountLine
float64
0
7.89k
AvgCountLineBlank
float64
0
297
AvgCountLineCode
float64
0
7.89k
AvgCountLineComment
float64
0
7.89k
AvgCyclomatic
float64
0
130
CommentToCodeRatio
float64
0
168
CountClassBase
float64
0
40
CountClassCoupled
float64
0
583
CountClassCoupledModified
float64
0
575
CountClassDerived
float64
0
5.35k
CountDeclInstanceMethod
float64
0
529
CountDeclInstanceVariable
float64
0
296
CountDeclMethod
float64
0
599
CountDeclMethodAll
float64
0
1.12k
CountLine
float64
1
40.4k
CountLineBlank
float64
0
8.16k
CountLineCode
float64
1
25.7k
CountLineCodeDecl
float64
1
8.15k
CountLineCodeExe
float64
0
24.2k
CountLineComment
float64
0
16.5k
CountStmt
float64
1
9.71k
CountStmtDecl
float64
1
8.15k
CountStmtExe
float64
0
9.69k
MaxCyclomatic
float64
0
759
MaxInheritanceTree
float64
0
16
MaxNesting
float64
0
34
SumCyclomatic
float64
0
2.9k
31,700
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.RPCCompiling
from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Union from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets class RPCCompiling(DbtRuntimeError): CODE = 10010 MESSAGE = 'RPC ...
class RPCCompiling(DbtRuntimeError): def __init__(self, msg: Optional[str]=None, node=None): pass
2
0
4
0
4
0
2
0
1
2
0
0
1
0
1
1
8
1
7
4
5
0
7
4
5
2
1
1
2
31,701
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.RPCFailureResult
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets class RPCFailureResult(DbtRuntimeError): CODE = 10002 MESSAGE = 'RPC execution error'
class RPCFailureResult(DbtRuntimeError): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0
3
3
2
0
3
3
2
0
1
0
0
31,702
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.RPCKilledException
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets class RPCKilledException(DbtRuntimeError): CODE = 10009 MESSAGE = 'RPC process killed' def __init__(self, signum: int): self.sig...
class RPCKilledException(DbtRuntimeError): def __init__(self, signum: int): pass def data(self): pass
3
0
5
0
5
0
1
0
1
2
0
0
2
2
2
2
14
2
12
7
9
0
9
7
6
1
1
0
2
31,703
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.RPCLoadException
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Union class RPCLoadException(DbtRuntimeError): CODE = 10011 MESSAGE = '...
class RPCLoadException(DbtRuntimeError): def __init__(self, cause: Dict[str, Any]): pass def data(self): pass
3
0
3
0
3
0
1
0
1
3
0
0
2
2
2
2
13
2
11
7
8
0
9
7
6
1
1
0
2
31,704
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.RPCTimeoutException
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Union class RPCTimeoutException(DbtRuntimeError): CODE = 10008 MESSAGE ...
class RPCTimeoutException(DbtRuntimeError): def __init__(self, timeout: Optional[float]=None): pass def data(self): pass
3
0
6
0
6
0
1
0
1
2
0
0
2
1
2
2
17
2
15
7
12
0
10
7
7
1
1
0
2
31,705
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.RefArgsError
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets class RefArgsError(CompilationError): def __init__(self, node, args) -> None: self.node = node self.args = args super()....
class RefArgsError(CompilationError): def __init__(self, node, args) -> None: pass def get_message(self) -> str: pass
3
0
4
0
4
0
1
0
1
2
0
0
2
2
2
2
9
1
8
6
5
0
8
6
5
1
1
0
2
31,706
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.RefBadContextError
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets class RefBadContextError(CompilationError): def __init__(self, node, args) -> None: self.node = node self.args = args.positional...
class RefBadContextError(CompilationError): def __init__(self, node, args) -> None: pass def get_message(self) -> str: pass
3
0
17
4
12
4
2
0.29
1
3
0
0
2
3
2
2
36
8
24
11
21
7
18
11
15
3
1
1
4
31,707
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.RequiredVarNotFoundError
import json from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Union from dbt_common.constants import SECRET_ENV_PREFIX class Requ...
class RequiredVarNotFoundError(CompilationError): def __init__(self, var_name: str, merged: Dict, node) -> None: pass def get_message(self) -> str: pass def var_secrets(self) -> List[str]: pass
4
0
6
1
5
0
1
0
1
2
0
0
3
3
3
3
21
4
17
12
13
0
16
11
12
2
1
1
4
31,708
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.SameKeyNestedError
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets class SameKeyNestedError(CompilationError): def __init__(self) -> None: msg = 'Test cannot have the same key at the top-level and in con...
class SameKeyNestedError(CompilationError): def __init__(self) -> None: pass
2
0
3
0
3
0
1
0
1
1
0
0
1
0
1
1
4
0
4
3
2
0
4
3
2
1
1
0
1
31,709
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.SchemaConfigError
from dbt_common.dataclass_schema import ValidationError class SchemaConfigError(ParsingError): def __init__(self, exc: ValidationError, node) -> None: self.msg = self.validator_error_message(exc) self.node = node super().__init__(msg=self.msg)
class SchemaConfigError(ParsingError): def __init__(self, exc: ValidationError, node) -> None: pass
2
0
4
0
4
0
1
0
1
1
0
0
1
2
1
2
5
0
5
4
3
0
5
4
3
1
2
0
1
31,710
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.SecretEnvVarLocationError
class SecretEnvVarLocationError(ParsingError): def __init__(self, env_var_name: str) -> None: self.env_var_name = env_var_name super().__init__(msg=self.get_message()) def get_message(self) -> str: msg = f"Secret env vars are allowed only in profiles.yml or packages.yml. Found '{self.e...
class SecretEnvVarLocationError(ParsingError): def __init__(self, env_var_name: str) -> None: pass def get_message(self) -> str: pass
3
0
5
0
5
0
1
0
1
2
0
0
2
1
2
3
11
1
10
5
7
0
7
5
4
1
2
0
2
31,711
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.SetStrictWrongTypeError
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets class SetStrictWrongTypeError(CompilationError): def __init__(self, exc) -> None: self.exc = exc msg = str(self.exc) sup...
class SetStrictWrongTypeError(CompilationError): def __init__(self, exc) -> None: pass
2
0
4
0
4
0
1
0
1
2
0
0
1
1
1
1
5
0
5
4
3
0
5
4
3
1
1
0
1
31,712
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.SnapshopConfigError
from dbt_common.dataclass_schema import ValidationError class SnapshopConfigError(ParsingError): def __init__(self, exc: ValidationError, node) -> None: self.msg = self.validator_error_message(exc) self.node = node super().__init__(msg=self.msg)
class SnapshopConfigError(ParsingError): def __init__(self, exc: ValidationError, node) -> None: pass
2
0
4
0
4
0
1
0
1
1
0
0
1
2
1
2
5
0
5
4
3
0
5
4
3
1
2
0
1
31,713
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.TagNotStringError
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Union class TagNotStringError(CompilationError): def __init__(self, tag: A...
class TagNotStringError(CompilationError): def __init__(self, tag: Any) -> None: pass
2
0
4
0
4
0
1
0
1
3
0
0
1
1
1
1
5
0
5
4
3
0
5
4
3
1
1
0
1
31,714
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.TagsNotListOfStringsError
from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Union from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets class TagsNotListOfStringsError(CompilationError): def __init__(self...
class TagsNotListOfStringsError(CompilationError): def __init__(self, tags: Any) -> None: pass
2
0
4
0
4
0
1
0
1
3
0
0
1
1
1
1
5
0
5
4
3
0
5
4
3
1
1
0
1
31,715
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.TargetNotFoundError
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Union class TargetNotFoundError(CompilationError): def __init__(self, node...
class TargetNotFoundError(CompilationError): def __init__(self, node, target_name: str, target_kind: str, target_package: Optional[str]=None, target_version: Optional[Union[str, float]]=None, disabled: Optional[bool]=None): pass def get_message(self) -> str: pass
3
0
21
2
19
0
3
0
1
4
0
0
2
6
2
2
43
5
38
24
27
0
25
16
22
5
1
1
6
31,716
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.TestArgIncludesModelError
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets class TestArgIncludesModelError(CompilationError): def __init__(self) -> None: msg = 'Test arguments include "model", which is a reserve...
class TestArgIncludesModelError(CompilationError): def __init__(self) -> None: pass
2
0
3
0
3
0
1
0
1
1
0
0
1
0
1
1
4
0
4
3
2
0
4
3
2
1
1
0
1
31,717
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.TestArgsNotDictError
from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Union class TestArgsNotDictError(ParsingError): def __init__(self, test_args: Any) -> None: self.test_args = test_args super().__init__(msg=self.get_message()) def get_message(self) -> str: msg = f'test arguments mu...
class TestArgsNotDictError(ParsingError): def __init__(self, test_args: Any) -> None: pass def get_message(self) -> str: pass
3
0
3
0
3
0
1
0
1
4
0
0
2
1
2
3
8
1
7
5
4
0
7
5
4
1
2
0
2
31,718
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.TestConfigError
from dbt_common.dataclass_schema import ValidationError class TestConfigError(ParsingError): def __init__(self, exc: ValidationError, node) -> None: self.msg = self.validator_error_message(exc) self.node = node super().__init__(msg=self.msg)
class TestConfigError(ParsingError): def __init__(self, exc: ValidationError, node) -> None: pass
2
0
4
0
4
0
1
0
1
1
0
0
1
2
1
2
5
0
5
4
3
0
5
4
3
1
2
0
1
31,719
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.TestDefinitionDictLengthError
class TestDefinitionDictLengthError(ParsingError): def __init__(self, test): self.test = test super().__init__(msg=self.get_message()) def get_message(self) -> str: msg = f'test definition dictionary must have exactly one key, got {self.test} instead ({len(self.test)} keys)' re...
class TestDefinitionDictLengthError(ParsingError): def __init__(self, test): pass def get_message(self) -> str: pass
3
0
5
0
5
0
1
0
1
2
0
0
2
1
2
3
11
1
10
5
7
0
7
5
4
1
2
0
2
31,720
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.TestNameNotStringError
from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Union class TestNameNotStringError(ParsingError): def __init__(self, test_name: Any) -> None: self.test_name = test_name super().__init__(msg=self.get_message()) def get_message(self) -> str: msg = f'test name must ...
class TestNameNotStringError(ParsingError): def __init__(self, test_name: Any) -> None: pass def get_message(self) -> str: pass
3
0
3
0
3
0
1
0
1
4
0
0
2
1
2
3
8
1
7
5
4
0
7
5
4
1
2
0
2
31,721
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.TestTypeError
from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Union class TestTypeError(ParsingError): def __init__(self, test: Any): self.test = test super().__init__(msg=self.get_message()) def get_message(self) -> str: msg = f'test must be dict or str, got {type(self.test)}...
class TestTypeError(ParsingError): def __init__(self, test: Any): pass def get_message(self) -> str: pass
3
0
3
0
3
0
1
0
1
4
0
0
2
1
2
3
8
1
7
5
4
0
7
5
4
1
2
0
2
31,722
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.UnexpectedTestNamePatternError
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets class UnexpectedTestNamePatternError(CompilationError): def __init__(self, test_name: str) -> None: self.test_name = test_name m...
class UnexpectedTestNamePatternError(CompilationError): def __init__(self, test_name: str) -> None: pass
2
0
4
0
4
0
1
0
1
2
0
0
1
1
1
1
5
0
5
4
3
0
5
4
3
1
1
0
1
31,723
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.UninstalledPackagesFoundError
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets class UninstalledPackagesFoundError(CompilationError): def __init__(self, count_packages_specified: int, count_packages_installed: int, packages...
class UninstalledPackagesFoundError(CompilationError): def __init__(self, count_packages_specified: int, count_packages_installed: int, packages_specified_path: str, packages_install_path: str): pass def get_message(self) -> str: pass
3
0
11
0
11
0
1
0
1
3
0
0
2
4
2
2
23
1
22
14
13
0
10
8
7
1
1
0
2
31,724
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.UnknownAsyncIDException
class UnknownAsyncIDException(Exception): CODE = 10012 MESSAGE = 'RPC server got an unknown async ID' def __init__(self, task_id): self.task_id = task_id def __str__(self): return f'{self.MESSAGE}: {self.task_id}'
class UnknownAsyncIDException(Exception): def __init__(self, task_id): pass def __str__(self): pass
3
0
2
0
2
0
1
0
1
0
0
0
2
1
2
12
9
2
7
6
4
0
7
6
4
1
3
0
2
31,725
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.UnknownGitCloningProblemError
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets class UnknownGitCloningProblemError(DbtRuntimeError): def __init__(self, repo: str) -> None: self.repo = scrub_secrets(repo, env_secrets...
class UnknownGitCloningProblemError(DbtRuntimeError): def __init__(self, repo: str) -> None: pass def get_message(self) -> str: pass
3
0
5
0
5
0
1
0
1
2
0
0
2
1
2
2
11
1
10
5
7
0
7
5
4
1
1
0
2
31,726
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.UnrecognizedCredentialTypeError
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Union class UnrecognizedCredentialTypeError(CompilationError): def __init_...
class UnrecognizedCredentialTypeError(CompilationError): def __init__(self, typename: str, supported_types: List): pass def get_message(self) -> str: pass
3
0
5
0
5
0
1
0
1
2
0
0
2
2
2
2
11
1
10
6
7
0
8
6
5
1
1
0
2
31,727
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.YamlLoadError
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Union class YamlLoadError(ParsingError): def __init__(self, path: str, exc...
class YamlLoadError(ParsingError): def __init__(self, path: str, exc: DbtValidationError, project_name: Optional[str]=None) -> None: pass def get_message(self) -> str: pass
3
0
8
1
7
0
1
0
1
2
0
0
2
3
2
3
18
3
15
13
7
0
10
8
7
1
2
0
2
31,728
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.YamlParseDictError
from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Union from dbt_common.dataclass_schema import ValidationError class YamlParseDictError(ParsingError): def __init__(self, path: str, key: str, yaml_data: Dict[str, Any], cause) -> None: self.path = path self.key = key sel...
class YamlParseDictError(ParsingError): def __init__(self, path: str, key: str, yaml_data: Dict[str, Any], cause) -> None: pass def get_message(self) -> str: pass
3
0
11
0
11
0
2
0
1
3
0
0
2
4
2
3
23
1
22
15
13
0
14
9
11
3
2
1
4
31,729
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.YamlParseListError
from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Union from dbt_common.dataclass_schema import ValidationError class YamlParseListError(ParsingError): def __init__(self, path: str, key: str, yaml_data: List, cause) -> None: self.path = path self.key = key self.yaml_dat...
class YamlParseListError(ParsingError): def __init__(self, path: str, key: str, yaml_data: List, cause) -> None: pass def get_message(self) -> str: pass
3
0
11
0
11
0
2
0
1
2
0
0
2
4
2
3
23
1
22
15
13
0
14
9
11
3
2
1
4
31,730
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.ZipStrictWrongTypeError
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets class ZipStrictWrongTypeError(CompilationError): def __init__(self, exc) -> None: self.exc = exc msg = str(self.exc) sup...
class ZipStrictWrongTypeError(CompilationError): def __init__(self, exc) -> None: pass
2
0
4
0
4
0
1
0
1
2
0
0
1
1
1
1
5
0
5
4
3
0
5
4
3
1
1
0
1
31,731
fishtown-analytics/dbt
core/dbt/exceptions.py
dbt.exceptions.dbtPluginError
from dbt_common.exceptions import CommandResultError, CompilationError, DbtConfigError, DbtInternalError, DbtRuntimeError, DbtValidationError, env_secrets, scrub_secrets class dbtPluginError(DbtRuntimeError): CODE = 10020 MESSAGE = 'Plugin Error'
class dbtPluginError(DbtRuntimeError): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0
3
3
2
0
3
3
2
0
1
0
0
31,732
fishtown-analytics/dbt
core/dbt/graph/graph.py
dbt.graph.graph.Graph
from functools import partial from typing import Iterable, Iterator, NewType, Optional, Set from itertools import product import networkx as nx from dbt_common.exceptions import DbtInternalError class Graph: """A wrapper around the networkx graph that understands SelectionCriteria and how they interact with th...
class Graph: '''A wrapper around the networkx graph that understands SelectionCriteria and how they interact with the graph. ''' def __init__(self, graph) -> None: pass def nodes(self) -> Set[UniqueId]: pass def edges(self): pass def __iter__(self) -> Iterator[Un...
16
6
9
1
8
1
2
0.16
0
7
0
0
15
1
15
15
161
25
118
45
98
19
80
39
64
7
0
2
28
31,733
fishtown-analytics/dbt
core/dbt/graph/queue.py
dbt.graph.queue.GraphQueue
from dbt.node_types import NodeType import threading from .graph import UniqueId from typing import Dict, Generator, List, Optional, Set from dbt.contracts.graph.nodes import Exposure, GraphMemberNode, Metric, SourceDefinition from dbt.contracts.graph.manifest import Manifest from queue import PriorityQueue import netw...
class GraphQueue: '''A fancy queue that is backed by the dependency graph. Note: this will mutate input! This queue is thread-safe for `mark_done` calls, though you must ensure that separate threads do not call `.empty()` or `__len__()` and `.get()` at the same time, as there is an unlocked race! ...
16
12
12
2
6
5
2
0.86
0
11
2
0
13
9
14
14
196
36
86
47
62
74
77
38
62
5
0
4
26
31,734
fishtown-analytics/dbt
core/dbt/graph/selector.py
dbt.graph.selector.NodeSelector
from dbt_common.events.functions import fire_event, warn_or_error from dbt import selected_resources from .selector_spec import IndirectSelection, SelectionCriteria, SelectionSpec from dbt.contracts.graph.nodes import GraphMemberNode from .queue import GraphQueue from dbt.events.types import NoNodesForSelectionCriteria...
class NodeSelector(MethodManager): '''The node selector is aware of the graph and manifest''' def __init__(self, graph: Graph, manifest: Manifest, previous_state: Optional[PreviousState]=None, include_empty_nodes: bool=False) -> None: pass def select_included(self, included_nodes: Set[UniqueId], ...
16
10
20
2
13
5
4
0.37
1
13
9
1
15
3
15
17
313
38
202
81
163
74
136
58
120
10
1
4
56
31,735
fishtown-analytics/dbt
core/dbt/graph/selector.py
dbt.graph.selector.ResourceTypeSelector
from dbt.contracts.graph.manifest import Manifest from dbt.contracts.state import PreviousState from dbt.node_types import NodeType from typing import List, Optional, Set, Tuple from .graph import Graph, UniqueId class ResourceTypeSelector(NodeSelector): def __init__(self, graph: Graph, manifest: Manifest, previo...
class ResourceTypeSelector(NodeSelector): def __init__(self, graph: Graph, manifest: Manifest, previous_state: Optional[PreviousState], resource_types: List[NodeType], include_empty_nodes: bool=False) -> None: pass def node_is_match(self, node): pass
3
0
9
0
9
0
1
0
1
7
4
1
2
1
2
19
19
1
18
11
8
0
6
4
3
1
2
0
2
31,736
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.AccessSelectorMethod
from dbt.contracts.graph.nodes import Exposure, GenericTestNode, ManifestNode, Metric, ModelNode, ResultNode, SavedQuery, SemanticModel, SingularTestNode, SourceDefinition, UnitTestDefinition from .graph import UniqueId from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union class Acc...
class AccessSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: '''yields model nodes matching the specified access level''' pass
2
1
7
0
6
1
4
0.14
1
1
0
0
1
0
1
35
8
0
7
3
5
1
7
3
5
4
4
2
4
31,737
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.CaseInsensitive
class CaseInsensitive(str): def __eq__(self, other): if isinstance(other, str): return self.upper() == other.upper() else: return self.upper() == other
class CaseInsensitive(str): def __eq__(self, other): pass
2
0
5
0
5
0
2
0
1
0
0
0
1
0
1
67
6
0
6
2
4
0
5
2
3
2
2
1
2
31,738
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.ConfigSelectorMethod
from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union from .graph import UniqueId class ConfigSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: Any) -> Iterator[UniqueId]: parts = self.arguments if parts == ['severity']: ...
class ConfigSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: Any) -> Iterator[UniqueId]: pass
2
0
35
1
29
5
7
0.17
1
4
1
0
1
0
1
35
36
1
30
9
24
5
16
5
14
7
4
4
7
31,739
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.ExposureSelectorMethod
from .graph import UniqueId from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union from dbt_common.exceptions import DbtInternalError, DbtRuntimeError from fnmatch import fnmatch class ExposureSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], select...
class ExposureSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: pass
2
0
22
2
20
0
6
0
1
1
0
0
1
0
1
35
23
2
21
7
19
0
15
7
13
6
4
2
6
31,740
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.FileSelectorMethod
from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union from .graph import UniqueId from fnmatch import fnmatch from pathlib import Path class FileSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: """Yiel...
class FileSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: '''Yields nodes from included that match the given file name.''' pass
2
1
7
0
6
1
4
0.14
1
2
0
0
1
0
1
35
8
0
7
3
5
1
6
3
4
4
4
2
4
31,741
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.GroupSelectorMethod
from .graph import UniqueId from fnmatch import fnmatch from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union class GroupSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: """yields nodes from included i...
class GroupSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: '''yields nodes from included in the specified group''' pass
2
1
6
0
5
1
3
0.17
1
1
0
0
1
0
1
35
7
0
6
4
4
1
6
4
4
3
4
2
3
31,742
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.MethodManager
from dbt.contracts.state import PreviousState from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union from dbt_common.exceptions import DbtInternalError, DbtRuntimeError from dbt.contracts.graph.manifest import Manifest class MethodManager: SELECTOR_METHODS: Dict[MethodName, Type[...
class MethodManager: def __init__(self, manifest: Manifest, previous_state: Optional[PreviousState]) -> None: pass def get_method(self, method: MethodName, method_arguments: List[str]) -> SelectorMethod: pass
3
0
8
1
8
0
2
0
0
5
4
1
2
2
2
2
42
3
39
11
32
0
10
7
7
2
0
1
3
31,743
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.MethodName
from pathlib import Path from dbt_common.dataclass_schema import StrEnum from dbt.contracts.graph.nodes import Exposure, GenericTestNode, ManifestNode, Metric, ModelNode, ResultNode, SavedQuery, SemanticModel, SingularTestNode, SourceDefinition, UnitTestDefinition class MethodName(StrEnum): FQN = 'fqn' Tag = '...
class MethodName(StrEnum): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
22
0
22
22
21
0
22
22
21
0
1
0
0
31,744
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.MetricSelectorMethod
from fnmatch import fnmatch from dbt_common.exceptions import DbtInternalError, DbtRuntimeError from .graph import UniqueId from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union class MetricSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector...
class MetricSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: pass
2
0
22
2
20
0
6
0
1
1
0
0
1
0
1
35
23
2
21
7
19
0
15
7
13
6
4
2
6
31,745
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.PackageSelectorMethod
from fnmatch import fnmatch from .graph import UniqueId from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union class PackageSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: """Yields nodes from included...
class PackageSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: '''Yields nodes from included that have the specified package''' pass
2
1
9
1
6
2
4
0.29
1
1
0
0
1
0
1
35
10
1
7
3
5
2
7
3
5
4
4
2
4
31,746
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.PathSelectorMethod
from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union from pathlib import Path from dbt_common.events.contextvars import get_project_root from .graph import UniqueId class PathSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iter...
class PathSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: '''Yields nodes from included that match the given path.''' pass
2
1
20
0
18
4
7
0.21
1
3
0
0
1
0
1
35
21
0
19
9
17
4
18
9
16
7
4
3
7
31,747
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.QualifiedNameSelectorMethod
from .graph import UniqueId from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union class QualifiedNameSelectorMethod(SelectorMethod): def node_is_match(self, qualified_name: str, fqn: List[str], is_versioned: bool) -> bool: """Determine if a qualified name matches an fqn...
class QualifiedNameSelectorMethod(SelectorMethod): def node_is_match(self, qualified_name: str, fqn: List[str], is_versioned: bool) -> bool: '''Determine if a qualified name matches an fqn for all package names in the graph. :param str qualified_name: The qualified name to match the nodes ...
3
2
13
2
6
5
3
0.69
1
3
0
0
2
0
2
36
27
5
13
6
10
9
12
6
9
3
4
2
6
31,748
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.ResourceTypeSelectorMethod
from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union from dbt_common.exceptions import DbtInternalError, DbtRuntimeError from .graph import UniqueId from dbt.node_types import NodeType class ResourceTypeSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[Uniqu...
class ResourceTypeSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: pass
2
0
8
0
8
0
4
0
1
3
1
0
1
0
1
35
9
0
9
5
7
0
9
4
7
4
4
2
4
31,749
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.ResultSelectorMethod
from .graph import UniqueId from dbt_common.exceptions import DbtInternalError, DbtRuntimeError from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union class ResultSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]...
class ResultSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: pass
2
0
9
0
9
0
4
0
1
2
0
0
1
0
1
35
10
0
10
4
8
0
8
4
6
4
4
2
4
31,750
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.SavedQuerySelectorMethod
from fnmatch import fnmatch from .graph import UniqueId from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union from dbt_common.exceptions import DbtInternalError, DbtRuntimeError class SavedQuerySelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], sele...
class SavedQuerySelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: pass
2
0
22
2
20
0
6
0
1
1
0
0
1
0
1
35
23
2
21
7
19
0
15
7
13
6
4
2
6
31,751
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.SelectorMethod
from dbt.contracts.graph.nodes import Exposure, GenericTestNode, ManifestNode, Metric, ModelNode, ResultNode, SavedQuery, SemanticModel, SingularTestNode, SourceDefinition, UnitTestDefinition from dbt.contracts.graph.manifest import Manifest from dbt.contracts.state import PreviousState from typing import Any, Callable...
class SelectorMethod(metaclass=abc.ABCMeta): def __init__(self, manifest: Manifest, previous_state: Optional[PreviousState], arguments: List[str]) -> None: pass def parsed_nodes(self, included_nodes: Set[UniqueId]) -> Iterator[Tuple[UniqueId, ManifestNode]]: pass def source_nodes(self, i...
16
0
8
0
8
0
2
0
1
5
2
21
14
3
14
34
126
19
107
58
65
0
59
31
44
3
3
2
28
31,752
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.SemanticModelSelectorMethod
from dbt_common.exceptions import DbtInternalError, DbtRuntimeError from fnmatch import fnmatch from .graph import UniqueId from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union class SemanticModelSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], s...
class SemanticModelSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: pass
2
0
22
2
20
0
6
0
1
1
0
0
1
0
1
35
23
2
21
7
19
0
15
7
13
6
4
2
6
31,753
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.SourceSelectorMethod
from .graph import UniqueId from fnmatch import fnmatch from dbt_common.exceptions import DbtInternalError, DbtRuntimeError from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union class SourceSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector...
class SourceSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: '''yields nodes from included are the specified source.''' pass
2
1
27
1
25
2
8
0.08
1
1
0
0
1
0
1
35
28
1
26
7
24
2
18
7
16
8
4
2
8
31,754
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.SourceStatusSelectorMethod
from dbt_common.exceptions import DbtInternalError, DbtRuntimeError from .graph import UniqueId from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union class SourceStatusSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[Uni...
class SourceStatusSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: pass
2
0
51
8
43
0
11
0
1
2
0
0
1
0
1
35
52
8
44
9
42
0
21
9
19
11
4
3
11
31,755
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.StateSelectorMethod
from dbt_common.exceptions import DbtInternalError, DbtRuntimeError from dbt.contracts.graph.nodes import Exposure, GenericTestNode, ManifestNode, Metric, ModelNode, ResultNode, SavedQuery, SemanticModel, SingularTestNode, SourceDefinition, UnitTestDefinition from .graph import UniqueId from dbt.contracts.graph.manifes...
class StateSelectorMethod(SelectorMethod): def __init__(self, *args, **kwargs) -> None: pass def _macros_modified(self) -> List[str]: pass def recursively_check_macros_modified(self, node, visited_macros): pass def check_macros_modified(self, node): pass def che...
15
0
18
2
14
3
4
0.19
1
5
1
0
8
1
10
44
210
31
158
48
134
30
105
37
92
18
4
3
50
31,756
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.TagSelectorMethod
from fnmatch import fnmatch from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union from .graph import UniqueId class TagSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: """yields nodes from included tha...
class TagSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: '''yields nodes from included that have the specified tag''' pass
2
1
5
0
4
1
3
0.2
1
1
0
0
1
0
1
35
6
0
5
3
3
1
5
3
3
3
4
2
3
31,757
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.TestNameSelectorMethod
from dbt.node_types import NodeType from fnmatch import fnmatch from .graph import UniqueId from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union class TestNameSelectorMethod(SelectorMethod): __test__ = False def search(self, included_nodes: Set[UniqueId], selector: str) ->...
class TestNameSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: pass
2
0
8
0
8
1
6
0.1
1
2
1
0
1
0
1
35
11
1
10
4
8
1
9
4
7
6
4
3
6
31,758
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.TestTypeSelectorMethod
from .graph import UniqueId from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union from dbt_common.exceptions import DbtInternalError, DbtRuntimeError from dbt.contracts.graph.nodes import Exposure, GenericTestNode, ManifestNode, Metric, ModelNode, ResultNode, SavedQuery, SemanticMode...
class TestTypeSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: pass
2
0
19
1
17
1
7
0.05
1
3
0
0
1
0
1
35
22
2
19
4
17
1
13
4
11
7
4
2
7
31,759
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.UnitTestSelectorMethod
from .graph import UniqueId from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union from dbt_common.exceptions import DbtInternalError, DbtRuntimeError from fnmatch import fnmatch class UnitTestSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], select...
class UnitTestSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: pass
2
0
22
2
20
0
6
0
1
1
0
0
1
0
1
35
23
2
21
7
19
0
15
7
13
6
4
2
6
31,760
fishtown-analytics/dbt
core/dbt/graph/selector_methods.py
dbt.graph.selector_methods.VersionSelectorMethod
from dbt.contracts.graph.nodes import Exposure, GenericTestNode, ManifestNode, Metric, ModelNode, ResultNode, SavedQuery, SemanticModel, SingularTestNode, SourceDefinition, UnitTestDefinition from dbt.contracts.graph.unparsed import UnparsedVersion from dbt_common.exceptions import DbtInternalError, DbtRuntimeError fro...
class VersionSelectorMethod(SelectorMethod): def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: pass
2
0
29
0
29
0
11
0
1
2
1
0
1
0
1
35
30
0
30
3
28
0
14
3
12
11
4
4
11
31,761
fishtown-analytics/dbt
core/dbt/graph/selector_spec.py
dbt.graph.selector_spec.BaseSelectionGroup
from dbt_common.dataclass_schema import StrEnum, dbtClassMixin from .graph import UniqueId from typing import Any, Dict, Iterable, Iterator, List, Optional, Set, Tuple, Union from abc import ABCMeta, abstractmethod class BaseSelectionGroup(dbtClassMixin, Iterable[SelectionSpec], metaclass=ABCMeta): def __init__(s...
class BaseSelectionGroup(dbtClassMixin, Iterable[SelectionSpec], metaclass=ABCMeta): def __init__(self, components: Iterable[SelectionSpec], indirect_selection: IndirectSelection=IndirectSelection.Eager, expect_exists: bool=False, raw: Any=None) -> None: pass def __iter__(self) -> Iterator[SelectionS...
6
0
6
0
6
0
2
0
3
6
1
3
4
4
4
24
29
4
25
20
10
0
15
10
10
2
3
1
6
31,762
fishtown-analytics/dbt
core/dbt/graph/selector_spec.py
dbt.graph.selector_spec.IndirectSelection
from dbt_common.dataclass_schema import StrEnum, dbtClassMixin class IndirectSelection(StrEnum): Eager = 'eager' Cautious = 'cautious' Buildable = 'buildable' Empty = 'empty'
class IndirectSelection(StrEnum): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
5
0
5
5
4
0
5
5
4
0
1
0
0
31,763
fishtown-analytics/dbt
core/dbt/graph/selector_spec.py
dbt.graph.selector_spec.SelectionCriteria
from dataclasses import dataclass from .selector_methods import MethodName from dbt.exceptions import InvalidSelectorError from dbt_common.exceptions import DbtRuntimeError from dbt.flags import get_flags from typing import Any, Dict, Iterable, Iterator, List, Optional, Set, Tuple, Union @dataclass class SelectionCrit...
@dataclass class SelectionCriteria: def __post_init__(self): pass @classmethod def default_method(cls, value: str) -> MethodName: pass @classmethod def parse_method(cls, groupdict: Dict[str, Any]) -> Tuple[MethodName, List[str]]: pass @classmethod def selection_crite...
13
0
14
1
12
1
3
0.03
0
7
3
0
1
0
6
6
103
13
87
31
71
3
61
21
54
6
0
1
18
31,764
fishtown-analytics/dbt
core/dbt/graph/selector_spec.py
dbt.graph.selector_spec.SelectionDifference
from .graph import UniqueId from typing import Any, Dict, Iterable, Iterator, List, Optional, Set, Tuple, Union class SelectionDifference(BaseSelectionGroup): def combine_selections(self, selections: List[Set[UniqueId]]) -> Set[UniqueId]: return set.difference(*selections)
class SelectionDifference(BaseSelectionGroup): def combine_selections(self, selections: List[Set[UniqueId]]) -> Set[UniqueId]: pass
2
0
5
0
5
0
1
0
1
1
0
0
1
0
1
25
6
0
6
5
1
0
3
2
1
1
4
0
1
31,765
fishtown-analytics/dbt
core/dbt/graph/selector_spec.py
dbt.graph.selector_spec.SelectionIntersection
from .graph import UniqueId from typing import Any, Dict, Iterable, Iterator, List, Optional, Set, Tuple, Union class SelectionIntersection(BaseSelectionGroup): def combine_selections(self, selections: List[Set[UniqueId]]) -> Set[UniqueId]: return set.intersection(*selections)
class SelectionIntersection(BaseSelectionGroup): def combine_selections(self, selections: List[Set[UniqueId]]) -> Set[UniqueId]: pass
2
0
5
0
5
0
1
0
1
1
0
0
1
0
1
25
6
0
6
5
1
0
3
2
1
1
4
0
1
31,766
fishtown-analytics/dbt
core/dbt/graph/selector_spec.py
dbt.graph.selector_spec.SelectionUnion
from typing import Any, Dict, Iterable, Iterator, List, Optional, Set, Tuple, Union from .graph import UniqueId class SelectionUnion(BaseSelectionGroup): def combine_selections(self, selections: List[Set[UniqueId]]) -> Set[UniqueId]: return set.union(*selections)
class SelectionUnion(BaseSelectionGroup): def combine_selections(self, selections: List[Set[UniqueId]]) -> Set[UniqueId]: pass
2
0
5
0
5
0
1
0
1
1
0
0
1
0
1
25
6
0
6
5
1
0
3
2
1
1
4
0
1
31,767
fishtown-analytics/dbt
core/dbt/hooks.py
dbt.hooks.ModelHookType
from dbt_common.dataclass_schema import StrEnum class ModelHookType(StrEnum): PreHook = 'pre-hook' PostHook = 'post-hook'
class ModelHookType(StrEnum): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0
3
3
2
0
3
3
2
0
1
0
0
31,768
fishtown-analytics/dbt
core/dbt/materializations/incremental/microbatch.py
dbt.materializations.incremental.microbatch.MicrobatchBuilder
from datetime import datetime, timedelta import pytz from dbt.exceptions import DbtInternalError, DbtRuntimeError from dbt.contracts.graph.nodes import ModelNode, NodeConfig from dbt.artifacts.schemas.batch_results import BatchType from dbt.artifacts.resources.types import BatchSize from typing import Any, Dict, List, ...
class MicrobatchBuilder: '''A utility class for building microbatch definitions associated with a specific model''' def __init__(self, model: ModelNode, is_incremental: bool, event_time_start: Optional[datetime], event_time_end: Optional[datetime], default_end_time: Optional[datetime]=None): pass ...
17
9
20
2
12
6
3
0.47
0
10
2
0
5
5
10
10
212
34
121
41
98
57
77
29
66
7
0
3
32
31,769
fishtown-analytics/dbt
core/dbt/parser/analysis.py
dbt.parser.analysis.AnalysisParser
from dbt.contracts.graph.nodes import AnalysisNode import os from dbt.node_types import NodeType from dbt.parser.base import SimpleSQLParser from dbt.parser.search import FileBlock class AnalysisParser(SimpleSQLParser[AnalysisNode]): def parse_from_dict(self, dct, validate=True) -> AnalysisNode: if valida...
class AnalysisParser(SimpleSQLParser[AnalysisNode]): def parse_from_dict(self, dct, validate=True) -> AnalysisNode: pass @property def resource_type(self) -> NodeType: pass @classmethod def get_compiled_path(cls, block: FileBlock): pass
6
0
3
0
3
0
1
0
1
3
3
0
2
0
3
34
13
2
11
6
5
0
9
4
5
2
6
1
4
31,770
fishtown-analytics/dbt
core/dbt/parser/base.py
dbt.parser.base.BaseParser
from dbt.node_types import AccessType, ModelLanguage, NodeType from dbt.contracts.graph.manifest import Manifest from dbt import deprecations, hooks, utils from dbt.parser.search import FileBlock from dbt_common.clients._jinja_blocks import ExtractWarning import abc from typing import Any, Dict, Generic, List, Optional...
null
8
1
4
0
3
1
1
0.14
1
6
4
3
4
2
4
6
20
4
14
9
7
2
10
7
5
1
1
0
4
31,771
fishtown-analytics/dbt
core/dbt/parser/base.py
dbt.parser.base.ConfiguredParser
from dbt import deprecations, hooks, utils from dbt.context.context_config import ContextConfig from dbt.contracts.graph.manifest import Manifest from typing import Any, Dict, Generic, List, Optional, TypeVar from dbt.jsonschemas import validate_model_config from dbt_common.utils import deep_merge from dbt.context.prov...
class ConfiguredParser(Parser[FinalNode], Generic[ConfiguredBlockType, FinalNode]): def __init__(self, project: RuntimeConfig, manifest: Manifest, root_project: RuntimeConfig) -> None: pass @classmethod @abc.abstractmethod def get_compiled_path(cls, block: ConfiguredBlockType) -> str: ...
31
5
15
1
11
3
2
0.28
2
21
16
2
22
3
23
30
373
44
258
95
195
71
152
54
128
23
3
4
57
31,772
fishtown-analytics/dbt
core/dbt/parser/base.py
dbt.parser.base.Parser
from dbt.contracts.graph.manifest import Manifest from typing import Any, Dict, Generic, List, Optional, TypeVar from dbt.config import RuntimeConfig class Parser(BaseParser[FinalValue], Generic[FinalValue]): def __init__(self, project: RuntimeConfig, manifest: Manifest, root_project: RuntimeConfig) -> None: ...
class Parser(BaseParser[FinalValue], Generic[FinalValue]): def __init__(self, project: RuntimeConfig, manifest: Manifest, root_project: RuntimeConfig) -> None: pass
2
0
8
0
8
0
1
0
2
3
2
3
1
1
1
7
9
0
9
8
2
0
4
3
2
1
2
0
1
31,773
fishtown-analytics/dbt
core/dbt/parser/base.py
dbt.parser.base.RelationUpdate
from dbt.config import RuntimeConfig from dbt.context.providers import generate_generate_name_macro_context, generate_parser_model_context from dbt.clients.jinja import MacroGenerator, get_rendered from typing import Any, Dict, Generic, List, Optional, TypeVar from dbt.contracts.graph.manifest import Manifest from dbt....
class RelationUpdate: def __init__(self, config: RuntimeConfig, manifest: Manifest, component: str) -> None: pass def __call__(self, parsed_node: Any, override: Optional[str]) -> None: pass
3
0
20
2
18
0
4
0.03
0
5
3
0
2
3
2
2
43
5
37
14
34
1
23
14
20
5
0
2
8
31,774
fishtown-analytics/dbt
core/dbt/parser/base.py
dbt.parser.base.SQLParser
from typing import Any, Dict, Generic, List, Optional, TypeVar from dbt.parser.search import FileBlock class SQLParser(ConfiguredParser[FileBlock, FinalNode], Generic[FinalNode]): def parse_file(self, file_block: FileBlock) -> None: self.parse_node(file_block)
class SQLParser(ConfiguredParser[FileBlock, FinalNode], Generic[FinalNode]): def parse_file(self, file_block: FileBlock) -> None: pass
2
0
2
0
2
0
1
0
2
1
1
2
1
0
1
31
3
0
3
2
1
0
3
2
1
1
4
0
1
31,775
fishtown-analytics/dbt
core/dbt/parser/base.py
dbt.parser.base.SimpleParser
from typing import Any, Dict, Generic, List, Optional, TypeVar class SimpleParser(ConfiguredParser[ConfiguredBlockType, FinalNode], Generic[ConfiguredBlockType, FinalNode]): pass
class SimpleParser(ConfiguredParser[ConfiguredBlockType, FinalNode], Generic[ConfiguredBlockType, FinalNode]): pass
1
0
0
0
0
0
0
0
2
0
0
3
0
0
0
30
5
0
5
4
1
0
2
1
1
0
4
0
0
31,776
fishtown-analytics/dbt
core/dbt/parser/base.py
dbt.parser.base.SimpleSQLParser
class SimpleSQLParser(SQLParser[FinalNode]): pass
class SimpleSQLParser(SQLParser[FinalNode]): pass
1
0
0
0
0
0
0
0
1
0
0
5
0
0
0
31
2
0
2
1
1
0
2
1
1
0
5
0
0
31,777
fishtown-analytics/dbt
core/dbt/parser/common.py
dbt.parser.common.GenericTestBlock
from typing import Any, Dict, Generic, List, Optional, TypeVar, Union from dataclasses import dataclass from dbt.artifacts.resources import ColumnConfig, ColumnInfo, NodeVersion @dataclass class GenericTestBlock(TestBlock[Testable], Generic[Testable]): data_test: Dict[str, Any] column_name: Optional[str] t...
@dataclass class GenericTestBlock(TestBlock[Testable], Generic[Testable]): @classmethod def from_test_block(cls, src: TestBlock, data_test: Dict[str, Any], column_name: Optional[str], tags: List[str], version: Optional[NodeVersion]) -> 'GenericTestBlock': pass
4
0
17
0
17
0
1
0
2
2
0
0
0
0
1
16
24
1
23
10
13
0
7
2
5
1
5
0
1
31,778
fishtown-analytics/dbt
core/dbt/parser/common.py
dbt.parser.common.ParserRef
from dbt.exceptions import ParsingError from dbt.contracts.graph.unparsed import HasColumnDocs, HasColumnProps, HasColumnTests, UnparsedAnalysisUpdate, UnparsedColumn, UnparsedExposure, UnparsedMacroUpdate, UnparsedModelUpdate, UnparsedNodeUpdate, UnparsedSingularTestUpdate from dbt_common.contracts.constraints import ...
class ParserRef: '''A helper object to hold parse-time references.''' def __init__(self) -> None: pass def _add(self, column: HasColumnProps) -> None: pass @classmethod def from_target(cls, target: Union[HasColumnDocs, HasColumnTests]) -> 'ParserRef': pass @classmethod...
7
1
10
1
9
0
2
0.03
0
8
6
0
2
1
4
4
46
6
39
15
32
1
23
13
18
4
0
1
9
31,779
fishtown-analytics/dbt
core/dbt/parser/common.py
dbt.parser.common.TargetBlock
from dataclasses import dataclass from typing import Any, Dict, Generic, List, Optional, TypeVar, Union @dataclass class TargetBlock(YamlBlock, Generic[Target]): target: Target @property def name(self): return self.target.name @property def columns(self): return [] @property ...
@dataclass class TargetBlock(YamlBlock, Generic[Target]): @property def name(self): pass @property def columns(self): pass @property def data_tests(self) -> List[TestDef]: pass @property def tests(self) -> List[TestDef]: pass @classmethod def from...
12
0
3
0
3
0
1
0
2
0
0
1
4
0
5
11
26
5
21
11
10
0
12
6
6
1
2
0
5
31,780
fishtown-analytics/dbt
core/dbt/parser/common.py
dbt.parser.common.TargetColumnsBlock
from typing import Any, Dict, Generic, List, Optional, TypeVar, Union from dataclasses import dataclass @dataclass class TargetColumnsBlock(TargetBlock[ColumnTarget], Generic[ColumnTarget]): @property def columns(self): if self.target.columns is None: return [] else: re...
@dataclass class TargetColumnsBlock(TargetBlock[ColumnTarget], Generic[ColumnTarget]): @property def columns(self): pass
4
0
5
0
5
0
2
0
2
0
0
1
1
0
1
12
7
0
7
3
4
0
5
2
3
2
3
1
2
31,781
fishtown-analytics/dbt
core/dbt/parser/common.py
dbt.parser.common.TestBlock
from typing import Any, Dict, Generic, List, Optional, TypeVar, Union from dataclasses import dataclass @dataclass class TestBlock(TargetColumnsBlock[Testable], Generic[Testable]): @property def data_tests(self) -> List[TestDef]: if self.target.data_tests is None: return [] else: ...
@dataclass class TestBlock(TargetColumnsBlock[Testable], Generic[Testable]): @property def data_tests(self) -> List[TestDef]: pass @property def quote_columns(self) -> Optional[bool]: pass @classmethod def from_yaml_block(cls, src: YamlBlock, target: Testable) -> 'TestBlock[Test...
8
0
4
0
4
0
1
0
2
1
0
2
2
0
3
15
19
2
17
7
10
0
9
4
5
2
4
1
4
31,782
fishtown-analytics/dbt
core/dbt/parser/common.py
dbt.parser.common.VersionedTestBlock
from typing import Any, Dict, Generic, List, Optional, TypeVar, Union from dataclasses import dataclass from dbt_common.exceptions import DbtInternalError @dataclass class VersionedTestBlock(TestBlock, Generic[Versioned]): @property def columns(self): if not self.target.versions: return su...
@dataclass class VersionedTestBlock(TestBlock, Generic[Versioned]): @property def columns(self): pass @property def data_tests(self) -> List[TestDef]: pass @classmethod def from_yaml_block(cls, src: YamlBlock, target: Versioned) -> 'VersionedTestBlock[Versioned]': pass
8
0
5
0
5
0
2
0
2
1
0
0
2
0
3
18
22
2
20
7
13
0
11
4
7
2
5
1
5
31,783
fishtown-analytics/dbt
core/dbt/parser/common.py
dbt.parser.common.YamlBlock
from typing import Any, Dict, Generic, List, Optional, TypeVar, Union from dataclasses import dataclass from dbt.parser.search import FileBlock @dataclass class YamlBlock(FileBlock): data: Dict[str, Any] @classmethod def from_file_block(cls, src: FileBlock, data: Dict[str, Any]): return cls(file=s...
@dataclass class YamlBlock(FileBlock): @classmethod def from_file_block(cls, src: FileBlock, data: Dict[str, Any]): pass
4
0
5
0
5
0
1
0
1
2
0
1
0
0
1
4
9
1
8
3
5
0
4
2
2
1
1
0
1
31,784
fishtown-analytics/dbt
core/dbt/parser/docs.py
dbt.parser.docs.DocumentationParser
from dbt.contracts.files import SourceFile from dbt.parser.base import Parser from dbt.clients.jinja import get_rendered from dbt.contracts.graph.nodes import Documentation from typing import Iterable, Optional from dbt.node_types import NodeType from dbt.parser.search import BlockContents, BlockSearcher, FileBlock cl...
class DocumentationParser(Parser[Documentation]): @property def resource_type(self) -> NodeType: pass @classmethod def get_compiled_path(cls, block: FileBlock): pass def generate_unique_id(self, resource_name: str, _: Optional[str]=None) -> str: pass def parse_block(s...
8
0
6
0
6
0
1
0.03
1
7
6
0
4
0
5
12
38
5
32
14
24
1
18
12
12
3
3
2
7
31,785
fishtown-analytics/dbt
core/dbt/parser/fixtures.py
dbt.parser.fixtures.FixtureParser
from dbt.node_types import NodeType from dbt.contracts.graph.nodes import UnitTestFileFixture from io import StringIO from dbt.parser.base import Parser import csv from typing import Any, Dict, List, Optional from dbt.parser.search import FileBlock from dbt.contracts.files import FixtureSourceFile class FixtureParser(...
class FixtureParser(Parser[UnitTestFileFixture]): @property def resource_type(self) -> NodeType: pass @classmethod def get_compiled_path(cls, block: FileBlock): pass def generate_unique_id(self, resource_name: str, _: Optional[str]=None) -> str: pass def parse_file(se...
8
0
7
0
6
1
1
0.12
1
7
4
0
4
0
5
12
40
6
33
15
25
4
22
13
16
2
3
1
7
31,786
fishtown-analytics/dbt
core/dbt/parser/hooks.py
dbt.parser.hooks.HookBlock
from dbt.parser.search import FileBlock from dataclasses import dataclass from dbt.node_types import NodeType, RunHookType @dataclass class HookBlock(FileBlock): project: str value: str index: int hook_type: RunHookType @property def contents(self): return self.value @property ...
@dataclass class HookBlock(FileBlock): @property def contents(self): pass @property def name(self): pass
6
0
2
0
2
0
1
0
1
0
0
0
2
0
2
5
13
2
11
5
6
0
9
3
6
1
1
0
2
31,787
fishtown-analytics/dbt
core/dbt/parser/hooks.py
dbt.parser.hooks.HookParser
from dbt.utils import get_pseudo_hook_path from dbt.context.context_config import ContextConfig from dbt.parser.search import FileBlock from typing import Iterable, Iterator, List, Tuple, Union from dbt.node_types import NodeType, RunHookType from dbt.contracts.graph.nodes import HookNode from dbt.contracts.files impor...
class HookParser(SimpleParser[HookBlock, HookNode]): def get_path(self) -> FilePath: pass def parse_from_dict(self, dct, validate=True) -> HookNode: pass @classmethod def get_compiled_path(cls, block: HookBlock): pass def _create_parsetime_node(self, block: HookBlock, pat...
9
0
7
0
6
0
2
0.07
1
10
8
0
5
0
6
36
51
7
41
20
24
3
18
10
11
3
5
2
9
31,788
fishtown-analytics/dbt
core/dbt/parser/hooks.py
dbt.parser.hooks.HookSearcher
from dbt_common.exceptions import DbtInternalError from typing import Iterable, Iterator, List, Tuple, Union from dbt.node_types import NodeType, RunHookType class HookSearcher(Iterable[HookBlock]): def __init__(self, project, source_file, hook_type) -> None: self.project = project self.source_fil...
class HookSearcher(Iterable[HookBlock]): def __init__(self, project, source_file, hook_type) -> None: pass def _hook_list(self, hooks: Union[str, List[str], Tuple[str, ...]]) -> List[str]: pass def get_hook_defs(self) -> List[str]: pass def __iter__(self) -> Iterator[HookBlo...
5
0
8
0
8
0
2
0
1
6
2
0
4
3
4
4
36
3
33
11
28
0
20
11
15
3
1
1
9
31,789
fishtown-analytics/dbt
core/dbt/parser/macros.py
dbt.parser.macros.MacroParser
from dbt_common.clients._jinja_blocks import ExtractWarning from dbt.contracts.files import FilePath, SourceFile from dbt.parser.base import BaseParser from dbt.clients.jinja import get_supported_languages from dbt.exceptions import ParsingError from dbt.contracts.graph.nodes import Macro from dbt.node_types import Nod...
class MacroParser(BaseParser[Macro]): def get_paths(self) -> List[FilePath]: pass @property def resource_type(self) -> NodeType: pass @classmethod def get_compiled_path(cls, block: FileBlock): pass def parse_macro(self, block: jinja.BlockTag, base_node: UnparsedMacro, ...
11
0
16
2
13
1
2
0.13
1
9
7
1
5
1
6
12
103
14
79
25
70
10
44
20
37
8
2
3
14
31,790
fishtown-analytics/dbt
core/dbt/parser/manifest.py
dbt.parser.manifest.ManifestLoader
from dbt.context.configured import generate_macro_context from dbt.parser.partial import PartialParsing, special_override_macros from dbt_common.exceptions.base import DbtValidationError from dbt.parser.schemas import SchemaParser from dbt.constants import MANIFEST_FILE_NAME, PARTIAL_PARSE_FILE_NAME, SEMANTIC_MANIFEST_...
class ManifestLoader: def __init__(self, root_project: RuntimeConfig, all_projects: Mapping[str, RuntimeConfig], macro_hook: Optional[Callable[[Manifest], Any]]=None, file_diff: Optional[FileDiff]=None) -> None: pass @classmethod def get_full_manifest(cls, config: RuntimeConfig, *, file_diff: Opti...
43
5
31
2
24
5
6
0.23
0
73
63
0
38
13
40
40
1,312
129
973
276
903
226
664
241
623
15
0
6
229
31,791
fishtown-analytics/dbt
core/dbt/parser/manifest.py
dbt.parser.manifest.ManifestLoaderInfo
from dataclasses import dataclass, field from dbt.artifacts.schemas.base import Writable from typing import Any, Callable, Dict, List, Mapping, Optional, Set, Tuple, Type, Union from dbt_common.dataclass_schema import StrEnum, dbtClassMixin @dataclass class ManifestLoaderInfo(dbtClassMixin, Writable): path_count: ...
@dataclass class ManifestLoaderInfo(dbtClassMixin, Writable): def __post_serialize__(self, dct: Dict, context: Optional[Dict]=None): pass
3
0
3
0
3
0
1
0
2
0
0
0
1
0
1
2
19
1
18
16
16
0
18
16
16
1
1
0
1
31,792
fishtown-analytics/dbt
core/dbt/parser/manifest.py
dbt.parser.manifest.ParserInfo
from dataclasses import dataclass, field from dbt_common.dataclass_schema import StrEnum, dbtClassMixin @dataclass class ParserInfo(dbtClassMixin): parser: str elapsed: float parsed_path_count: int = 0
@dataclass class ParserInfo(dbtClassMixin): pass
2
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
4
0
4
2
3
0
4
2
3
0
1
0
0
31,793
fishtown-analytics/dbt
core/dbt/parser/manifest.py
dbt.parser.manifest.ProjectLoaderInfo
from dataclasses import dataclass, field from dbt_common.dataclass_schema import StrEnum, dbtClassMixin from typing import Any, Callable, Dict, List, Mapping, Optional, Set, Tuple, Type, Union @dataclass class ProjectLoaderInfo(dbtClassMixin): project_name: str elapsed: float parsers: List[ParserInfo] = fi...
@dataclass class ProjectLoaderInfo(dbtClassMixin): pass
2
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
5
0
5
3
4
0
5
3
4
0
1
0
0
31,794
fishtown-analytics/dbt
core/dbt/parser/manifest.py
dbt.parser.manifest.ReparseReason
from dbt_common.dataclass_schema import StrEnum, dbtClassMixin class ReparseReason(StrEnum): version_mismatch = '01_version_mismatch' file_not_found = '02_file_not_found' vars_changed = '03_vars_changed' profile_changed = '04_profile_changed' deps_changed = '05_deps_changed' project_config_chan...
class ReparseReason(StrEnum): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
11
0
11
11
10
0
11
11
10
0
1
0
0
31,795
fishtown-analytics/dbt
core/dbt/parser/models.py
dbt.parser.models.ModelParser
from dbt_extractor import ExtractionError, py_extract_from_source from dbt.parser.search import FileBlock from functools import reduce from dbt.contracts.graph.nodes import ModelNode from dbt.node_types import ModelLanguage, NodeType from dbt.parser.base import SimpleSQLParser from dbt.context.context_config import Con...
class ModelParser(SimpleSQLParser[ModelNode]): def parse_from_dict(self, dct, validate=True) -> ModelNode: pass @property def resource_type(self) -> NodeType: pass @classmethod def get_compiled_path(cls, block: FileBlock): pass def parse_python_model(self, node, config...
13
0
27
3
17
8
4
0.48
1
19
11
0
9
0
10
41
290
36
172
49
157
83
131
43
120
20
6
4
43
31,796
fishtown-analytics/dbt
core/dbt/parser/models.py
dbt.parser.models.PythonParseVisitor
import ast from dbt.exceptions import ModelConfigError, ParsingError, PythonLiteralEvalError, PythonParsingError class PythonParseVisitor(ast.NodeVisitor): def __init__(self, dbt_node): super().__init__() self.dbt_node = dbt_node self.dbt_function_calls = [] self.packages = [] ...
class PythonParseVisitor(ast.NodeVisitor): def __init__(self, dbt_node): pass @classmethod def _flatten_attr(cls, node): pass def _safe_eval(self, node): pass def _get_call_literals(self, node): pass def visit_Call(self, node: ast.Call) -> None: pass ...
10
0
10
1
8
2
4
0.2
1
7
1
0
7
3
8
11
90
13
65
26
55
13
59
24
50
15
2
4
31
31,797
fishtown-analytics/dbt
core/dbt/parser/models.py
dbt.parser.models.PythonValidationVisitor
import ast from dbt.exceptions import ModelConfigError, ParsingError, PythonLiteralEvalError, PythonParsingError from typing import Any, Dict, Iterator, List, Optional, Tuple, Union class PythonValidationVisitor(ast.NodeVisitor): def __init__(self) -> None: super().__init__() self.dbt_errors: List...
class PythonValidationVisitor(ast.NodeVisitor): def __init__(self) -> None: pass def visit_FunctionDef(self, node: ast.FunctionDef) -> None: pass def check_error(self, node): pass
4
0
10
0
9
0
3
0.04
1
3
1
0
3
2
3
6
32
3
28
6
24
1
19
6
15
5
2
2
9
31,798
fishtown-analytics/dbt
core/dbt/parser/partial.py
dbt.parser.partial.PartialParsing
from dbt.events.types import PartialParsingEnabled, PartialParsingFile from dbt.contracts.graph.nodes import AnalysisNode, ModelNode, SeedNode, SnapshotNode from copy import deepcopy import os from dbt_common.events.base_types import EventLevel from dbt.node_types import NodeType from dbt.contracts.graph.manifest impor...
class PartialParsing: def __init__(self, saved_manifest: Manifest, new_files: MutableMapping[str, AnySourceFile]) -> None: pass def skip_parsing(self): pass def build_file_diff(self): pass def get_parsing_files(self): pass def add_to_pp_files(self, source_file):...
52
0
19
1
16
2
6
0.2
0
16
10
0
50
11
50
50
1,063
86
821
263
765
164
728
258
676
30
0
7
294
31,799
fishtown-analytics/dbt
core/dbt/parser/read_files.py
dbt.parser.read_files.FileDiff
from typing import Dict, List, Mapping, MutableMapping, Optional, Protocol from dbt_common.dataclass_schema import dbtClassMixin from dataclasses import dataclass, field @dataclass class FileDiff(dbtClassMixin): deleted: List[str] changed: List[InputFile] added: List[InputFile]
@dataclass class FileDiff(dbtClassMixin): pass
2
0
0
0
0
0
0
0.5
1
0
0
0
0
0
0
0
6
0
4
1
3
2
4
1
3
0
1
0
0