dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.
2830 matches across 17 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/dbt/version.py | 214 | def _get_adapter_plugin_names() -> Iterator[str]: |
| LOW | core/dbt/deprecations.py | 284 | def show_deprecations_summary() -> None: |
| LOW | core/dbt/deprecations.py | 356 | def fire_buffered_deprecations(): |
| LOW | core/dbt/compilation.py | 526 | def _recursively_prepend_ctes( |
| LOW | core/dbt/compilation.py | 708 | def _compile_relation_for_foreign_key_constraint_to( |
| LOW | core/dbt/tracking.py | 316 | def get_base_invocation_context(): |
| LOW | core/dbt/tracking.py | 371 | def track_behavior_change_warn(msg: EventMsg) -> None: |
| LOW | core/dbt/tracking.py | 413 | def track_experimental_parser_sample(options): |
| LOW | core/dbt/clients/registry.py | 50 | def _get_package_with_retries( |
| LOW | core/dbt/clients/jinja_static.py | 20 | def statically_check_has_jinja(source: Optional[str]) -> bool: |
| LOW | core/dbt/clients/jinja_static.py | 31 | def statically_extract_has_name_this(source: str) -> bool: |
| LOW | core/dbt/clients/jinja_static.py | 43 | def statically_extract_macro_calls( |
| LOW | core/dbt/clients/jinja_static.py | 102 | def statically_parse_adapter_dispatch( |
| LOW | core/dbt/clients/jinja_static.py | 169 | def statically_parse_ref_or_source(expression: str) -> Union[RefArgs, List[str]]: |
| LOW | core/dbt/clients/jinja_static.py | 205 | def statically_parse_unrendered_config(string: str) -> Optional[Dict[str, Any]]: |
| LOW | core/dbt/clients/jinja_static.py | 252 | def construct_static_kwarg_value(kwarg) -> str: |
| LOW | core/dbt/clients/yaml_helper.py | 42 | def contextualized_yaml_error(raw_contents, error): |
| LOW | core/dbt/clients/checked_load.py | 76 | def issue_deprecation_warnings_for_failures(failures: List[YamlCheckFailure], file: str): |
| LOW | …bt/artifacts/resources/v1/semantic_layer_components.py | 32 | def filter_expression_parameter_sets( |
| LOW | core/dbt/artifacts/resources/v1/semantic_model.py | 246 | def checked_agg_time_dimension_for_measure( |
| LOW | core/dbt/artifacts/resources/v1/semantic_model.py | 270 | def checked_agg_time_dimension_for_simple_metric( |
| LOW | core/dbt/artifacts/resources/v1/metric.py | 46 | def post_aggregation_measure_reference(self) -> MeasureReference: |
| LOW | core/dbt/artifacts/resources/v1/metric.py | 75 | def post_aggregation_reference(self) -> MetricReference: |
| LOW | core/dbt/artifacts/resources/v1/snapshot.py | 35 | def snapshot_table_column_names(self): |
| LOW | core/dbt/artifacts/schemas/base.py | 171 | def get_artifact_schema_version(dct: dict) -> int: |
| LOW | core/dbt/artifacts/schemas/manifest/v12/manifest.py | 178 | def compatible_previous_versions(cls) -> Iterable[Tuple[str, int]]: |
| LOW | …facts/schemas/upgrades/upgrade_manifest_dbt_version.py | 1 | def upgrade_manifest_json_dbt_version(manifest: dict) -> dict: |
| LOW | core/dbt/artifacts/schemas/run/v5/run.py | 166 | def compatible_previous_versions(cls) -> Iterable[Tuple[str, int]]: |
| LOW | core/dbt/materializations/incremental/microbatch.py | 104 | def build_jinja_context_for_batch(model: ModelNode, incremental_batch: bool) -> Dict[str, Any]: |
| LOW | core/dbt/context/context_config.py | 194 | def calculate_node_config_dict( |
| LOW | core/dbt/context/context_config.py | 245 | def calculate_node_config_dict( |
| LOW | core/dbt/context/context_config.py | 274 | def calculate_node_config_dict( |
| LOW | core/dbt/context/context_config.py | 326 | def add_unrendered_config_call(self, opts: Dict[str, Any]) -> None: |
| LOW | core/dbt/context/exceptions_jinja.py | 59 | def raise_ambiguous_catalog_match(unique_id, match_1, match_2) -> NoReturn: |
| LOW | core/dbt/context/exceptions_jinja.py | 91 | def raise_duplicate_patch_name(patch_1, existing_patch_path) -> NoReturn: |
| LOW | core/dbt/context/exceptions_jinja.py | 95 | def raise_duplicate_resource_name(node_1, node_2) -> NoReturn: |
| LOW | core/dbt/context/exceptions_jinja.py | 99 | def raise_invalid_property_yml_version(path, issue) -> NoReturn: |
| LOW | core/dbt/context/exceptions_jinja.py | 119 | def warn_snapshot_timestamp_data_types( |
| LOW | core/dbt/context/docs.py | 74 | def generate_runtime_docs_context( |
| LOW | core/dbt/context/providers.py | 249 | def _resolve_event_time_field_name(self, target: ManifestNode) -> str: |
| LOW | core/dbt/context/providers.py | 2015 | def generate_generate_name_macro_context( |
| LOW | core/dbt/context/providers.py | 2024 | def generate_runtime_model_context( |
| LOW | core/dbt/context/providers.py | 2033 | def generate_runtime_macro_context( |
| LOW | core/dbt/context/providers.py | 2043 | def generate_runtime_unit_test_context( |
| LOW | core/dbt/context/providers.py | 154 | def _get_adapter_macro_prefixes(self) -> List[str]: |
| LOW | core/dbt/context/providers.py | 298 | def resolve_event_time_filter(self, target: ManifestNode) -> Optional[EventTimeFilter]: |
| LOW | core/dbt/context/providers.py | 1985 | def generate_parser_model_context( |
| LOW | core/dbt/context/providers.py | 2000 | def generate_parser_unit_test_context( |
| LOW | core/dbt/context/providers.py | 2096 | def generate_runtime_function_context( |
| LOW | core/dbt/context/providers.py | 2193 | def generate_parse_semantic_models( |
| LOW | core/dbt/context/query_header.py | 11 | def generate_query_header_context(config: AdapterRequiredConfig, manifest: Manifest): |
| LOW | core/dbt/context/configured.py | 121 | def generate_schema_yml_context( |
| LOW | core/dbt/context/macro_resolver.py | 44 | def _build_internal_packages_namespace(self) -> None: |
| LOW | core/dbt/context/macro_resolver.py | 172 | def recursively_get_depends_on_macros(self, depends_on_macros, dep_macros): |
| LOW | core/dbt/context/base.py | 54 | def get_datetime_module_context() -> Dict[str, Any]: |
| LOW | core/dbt/context/base.py | 67 | def get_itertools_module_context() -> Dict[str, Any]: |
| LOW | core/dbt/context/base.py | 88 | def deprecation_wrapper_inner(*args, **kwargs): |
| LOW | core/dbt/config/catalogs.py | 91 | def get_active_write_integration(catalog: Catalog) -> Optional[CatalogWriteIntegrationConfig]: |
| LOW | core/dbt/config/profile.py | 133 | def _credentials_from_profile( |
| LOW | core/dbt/config/selectors.py | 107 | def selector_config_from_data(selectors_data: Dict[str, Any]) -> SelectorConfig: |
| 1961 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/unit/test_version.py | 0 | now that adapters are decoupled from core, a higher minor version of a plugin is compatible with a lower minor version o |
| HIGH | tests/unit/test_version.py | 0 | now that adapters are decoupled from core, a higher minor version of a plugin is compatible with a lower minor version o |
| HIGH | tests/unit/test_version.py | 0 | now that adapters are decoupled from core, a higher minor version of a plugin is compatible with a lower minor version o |
| HIGH | tests/unit/utils/__init__.py | 0 | on windows, neither is enough on its own: >>> normcase('c:\\documents/all caps/subdir\\..') 'c:\\documents\\all caps\\su |
| HIGH | tests/functional/list/test_list.py | 0 | on windows, neither is enough on its own: >>> normcase('c:\\documents/all caps/subdir\\..') 'c:\\documents\\all caps\\su |
| HIGH | …ts/functional/deprecations/test_config_deprecations.py | 0 | on windows, neither is enough on its own: >>> normcase('c:\\documents/all caps/subdir\\..') 'c:\\documents\\all caps\\su |
| HIGH | …commit-hooks/no_versioned_artifact_resource_imports.py | 0 | on windows, neither is enough on its own: >>> normcase('c:\\documents/all caps/subdir\\..') 'c:\\documents\\all caps\\su |
| HIGH | tests/functional/metrics/fixtures.py | 0 | select 1 as id, 'drew' as first_name, 'banin' as last_name, 'yellow' as favorite_color, true as loves_dbt, 5 as tenure, |
| HIGH | tests/functional/time_spines/fixtures.py | 0 | select 1 as id, 'drew' as first_name, 'banin' as last_name, 'yellow' as favorite_color, true as loves_dbt, 5 as tenure, |
| HIGH | tests/functional/semantic_models/fixtures.py | 0 | select 1 as id, 'drew' as first_name, 'banin' as last_name, 'yellow' as favorite_color, true as loves_dbt, 5 as tenure, |
| HIGH | tests/functional/metrics/fixtures.py | 0 | version: 2 semantic_models: - name: semantic_people model: ref('people') dimensions: - name: favorite_color type: catego |
| HIGH | tests/functional/time_spines/fixtures.py | 0 | version: 2 semantic_models: - name: semantic_people model: ref('people') dimensions: - name: favorite_color type: catego |
| HIGH | tests/functional/partial_parsing/fixtures.py | 0 | version: 2 semantic_models: - name: semantic_people model: ref('people') dimensions: - name: favorite_color type: catego |
| HIGH | …ts/functional/artifacts/test_previous_version_state.py | 0 | select to_date('02/20/2023', 'mm/dd/yyyy') as date_day |
| HIGH | …check_for_spaces_in_source_and_semantic_model_names.py | 0 | select to_date('02/20/2023', 'mm/dd/yyyy') as date_day |
| HIGH | tests/functional/access/test_access.py | 0 | select to_date('02/20/2023', 'mm/dd/yyyy') as date_day |
| HIGH | tests/functional/exposures/fixtures.py | 0 | select to_date('02/20/2023', 'mm/dd/yyyy') as date_day |
| HIGH | tests/functional/semantic_models/fixtures.py | 0 | select to_date('02/20/2023', 'mm/dd/yyyy') as date_day |
| HIGH | …/functional/partial_parsing/test_pp_disabled_config.py | 0 | select to_date('02/20/2023', 'mm/dd/yyyy') as date_day |
| HIGH | tests/functional/partial_parsing/fixtures.py | 0 | select to_date('02/20/2023', 'mm/dd/yyyy') as date_day |
| HIGH | tests/functional/defer_state/fixtures.py | 0 | select to_date('02/20/2023', 'mm/dd/yyyy') as date_day |
| HIGH | tests/functional/materializations/fixtures.py | 0 | {{ config(materialized = 'table') }} with foo as ( select * from {{ ref('foo') }} ), foo_1 as ( select * from {{ ref('fo |
| HIGH | tests/functional/materializations/fixtures.py | 0 | {{ config(materialized = 'table') }} with foo as ( select * from {{ ref('foo') }} ), foo_1 as ( select * from {{ ref('fo |
| HIGH | tests/functional/materializations/fixtures.py | 0 | {{ config(materialized = 'table') }} with foo as ( select * from {{ ref('foo') }} ), foo_1 as ( select * from {{ ref('fo |
| HIGH | tests/functional/materializations/fixtures.py | 0 | {{ config(materialized = 'table') }} with foo as ( select * from {{ ref('foo') }} ), foo_1 as ( select * from {{ ref('fo |
| HIGH | tests/functional/materializations/fixtures.py | 0 | {{ config(materialized = 'table') }} with foo as ( select * from {{ ref('foo') }} ), foo_1 as ( select * from {{ ref('fo |
| HIGH | tests/functional/materializations/fixtures.py | 0 | {{ config(materialized = 'table') }} with foo as ( select * from {{ ref('foo') }} ), foo_1 as ( select * from {{ ref('fo |
| HIGH | tests/functional/materializations/fixtures.py | 0 | {{ config(materialized = 'ephemeral') }} with source as ( select 1 as id ), renamed as ( select id as uid from source ) |
| HIGH | tests/functional/materializations/fixtures.py | 0 | {{ config(materialized = 'ephemeral') }} with source as ( select 1 as id ), renamed as ( select id as uid from source ) |
| HIGH | tests/functional/materializations/fixtures.py | 0 | {{ config(materialized = 'ephemeral') }} with source as ( select 1 as id ), renamed as ( select id as uid from source ) |
| HIGH | tests/functional/analysis/test_analysis_configs.py | 0 | {{ config(enabled=true) }} select * from {{ ref('my_model') }} |
| HIGH | tests/functional/configs/fixtures.py | 0 | {{ config(enabled=true) }} select * from {{ ref('my_model') }} |
| HIGH | tests/functional/configs/fixtures.py | 0 | {{ config(enabled=true) }} select * from {{ ref('my_model') }} |
| HIGH | …/functional/invalid_model_tests/test_invalid_models.py | 0 | select * from {{ source('test_source', 'test_table') }} |
| HIGH | tests/functional/sources/fixtures.py | 0 | select * from {{ source('test_source', 'test_table') }} |
| HIGH | tests/functional/sources/fixtures.py | 0 | select * from {{ source('test_source', 'test_table') }} |
| HIGH | tests/functional/sources/fixtures.py | 0 | select * from {{ source('test_source', 'test_table') }} |
| HIGH | tests/functional/sources/fixtures.py | 0 | select * from {{ source('test_source', 'test_table') }} |
| HIGH | …al/custom_singular_tests/test_custom_singular_tests.py | 0 | {{ config( materialized='table' ) }} select * from {{ this.schema }}.seed |
| HIGH | tests/functional/schema_tests/fixtures.py | 0 | {{ config( materialized='table' ) }} select * from {{ this.schema }}.seed |
| HIGH | tests/functional/schema_tests/fixtures.py | 0 | {{ config( materialized='table' ) }} select * from {{ this.schema }}.seed |
| HIGH | tests/functional/schema_tests/fixtures.py | 0 | {{ config( materialized='table' ) }} select * from {{ this.schema }}.seed |
| HIGH | tests/functional/schema_tests/fixtures.py | 0 | {{ config( materialized='table' ) }} select * from {{ this.schema }}.seed |
| HIGH | tests/functional/run_on_error/fixtures.py | 0 | {{ config(materialized='table') }} select 1 / 0 as id |
| HIGH | tests/functional/run_on_error/fixtures.py | 0 | {{ config(materialized='table') }} select 1 / 0 as id |
| HIGH | tests/functional/run_on_error/fixtures.py | 0 | {{ config(materialized='table') }} select 1 / 0 as id |
| HIGH | tests/functional/run_on_error/fixtures.py | 0 | {{ config(materialized='table') }} select 1 / 0 as id |
| HIGH | tests/functional/run_on_error/fixtures.py | 0 | {{ config(materialized='table') }} select 1 / 0 as id |
| HIGH | tests/functional/run_on_error/fixtures.py | 0 | {{ config(materialized='table') }} select 1 / 0 as id |
| HIGH | tests/functional/sources/test_source_freshness.py | 0 | insert into {schema}.{source} ({quoted_columns}) values ( 'blue',{id},'jake','abc@example.com','192.168.1.1','{time}' ) |
| HIGH | tests/functional/sources/test_source_fresher_state.py | 0 | insert into {schema}.{source} ({quoted_columns}) values ( 'blue',{id},'jake','abc@example.com','192.168.1.1','{time}' ) |
| HIGH | …tional/source_overrides/test_simple_source_override.py | 0 | insert into {schema}.{source} ({quoted_columns}) values ( 'blue',{id},'jake','abc@example.com','192.168.1.1','{time}' ) |
| HIGH | tests/functional/functions/test_udfs.py | 0 | functions: - name: double_it description: doubles whatever number is passed in arguments: - name: value data_type: float |
| HIGH | tests/functional/functions/test_udfs.py | 0 | functions: - name: double_it description: doubles whatever number is passed in arguments: - name: value data_type: float |
| HIGH | tests/functional/unit_testing/test_unit_testing.py | 0 | functions: - name: double_it description: doubles whatever number is passed in arguments: - name: value data_type: float |
| HIGH | tests/functional/defer_state/fixtures.py | 0 | functions: - name: double_it description: doubles whatever number is passed in arguments: - name: value data_type: float |
| HIGH | tests/functional/partial_parsing/fixtures.py | 0 | id,first_name,last_name,email 1,michael,perez,mperez0@chronoengine.com 2,shawn,mccoy,smccoy1@reddit.com 3,kathleen,payne |
| HIGH | tests/functional/partial_parsing/test_pp_docs.py | 0 | id,first_name,last_name,email 1,michael,perez,mperez0@chronoengine.com 2,shawn,mccoy,smccoy1@reddit.com 3,kathleen,payne |
| HIGH | tests/functional/unit_testing/test_ut_sources.py | 0 | id,first_name,last_name,email 1,michael,perez,mperez0@chronoengine.com 2,shawn,mccoy,smccoy1@reddit.com 3,kathleen,payne |
| HIGH | tests/functional/partial_parsing/fixtures.py | 0 | {% test type_one(model) %} select * from ( select * from {{ model }} union all select * from {{ ref('model_b') }} ) as f |
| 2 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/dbt/_pydantic_shim.py | 20 | |
| LOW | core/dbt/_pydantic_shim.py | 22 | |
| LOW | core/dbt/exceptions.py | 22 | |
| LOW | core/dbt/node_types.py | 4 | |
| LOW | core/dbt/node_types.py | 4 | |
| LOW | core/dbt/node_types.py | 4 | |
| LOW | core/dbt/clients/jinja_static.py | 14 | |
| LOW | core/dbt/clients/yaml_helper.py | 10 | |
| LOW | core/dbt/clients/yaml_helper.py | 11 | |
| LOW | core/dbt/clients/yaml_helper.py | 14 | |
| LOW | core/dbt/clients/yaml_helper.py | 14 | |
| LOW | core/dbt/event_time/sample_window.py | 1 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 1 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 1 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 1 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 1 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 2 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 3 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 3 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 3 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 3 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 11 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 30 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 30 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 30 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 30 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 30 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 30 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 38 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 39 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 39 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 39 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 39 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 45 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 45 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 45 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 45 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 45 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 45 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 45 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 54 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 54 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 55 | |
| LOW | core/dbt/artifacts/resources/__init__.py | 55 | |
| 248 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | core/dbt/artifacts/resources/v1/semantic_model.py | 62 | # ==================================== |
| MEDIUM | core/dbt/artifacts/resources/v1/semantic_model.py | 65 | # ==================================== |
| MEDIUM | core/dbt/artifacts/resources/v1/semantic_model.py | 111 | # ==================================== |
| MEDIUM | core/dbt/artifacts/resources/v1/semantic_model.py | 114 | # ==================================== |
| MEDIUM | core/dbt/artifacts/resources/v1/semantic_model.py | 136 | # ==================================== |
| MEDIUM | core/dbt/artifacts/resources/v1/semantic_model.py | 139 | # ==================================== |
| MEDIUM | core/dbt/artifacts/resources/v1/semantic_model.py | 160 | # ==================================== |
| MEDIUM | core/dbt/artifacts/resources/v1/semantic_model.py | 162 | # ==================================== |
| MEDIUM | core/dbt/artifacts/resources/v1/function.py | 9 | # ============= |
| MEDIUM | core/dbt/artifacts/resources/v1/function.py | 11 | # ============= |
| MEDIUM | core/dbt/artifacts/resources/v1/function.py | 31 | # ============= |
| MEDIUM | core/dbt/artifacts/resources/v1/function.py | 33 | # ============= |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 132 | # ===================================================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 135 | # ================================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 137 | # ================================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 117 | # ===================================================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 463 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 465 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 976 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 978 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1098 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1100 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1128 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1130 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1219 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1221 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1253 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1255 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1276 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1278 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1299 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1301 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1499 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1501 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1577 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1579 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1644 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1646 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1663 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1665 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1710 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1712 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1776 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1778 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1854 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1856 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1913 | # ==================================== |
| MEDIUM | core/dbt/contracts/graph/nodes.py | 1915 | # ==================================== |
| MEDIUM | core/dbt/tests/util.py | 29 | # ============================================================================= |
| MEDIUM | core/dbt/tests/util.py | 65 | # ============================================================================= |
| MEDIUM | core/dbt/parser/schemas.py | 98 | # =============================================================================== |
| MEDIUM | core/dbt/parser/schemas.py | 125 | # =============================================================================== |
| MEDIUM | core/dbt/task/debug.py | 167 | # ============================== |
| MEDIUM | core/dbt/task/debug.py | 169 | # ============================== |
| MEDIUM | core/dbt/task/debug.py | 174 | # =============== |
| MEDIUM | core/dbt/task/debug.py | 176 | # =============== |
| MEDIUM | core/dbt/task/debug.py | 314 | # =============== |
| MEDIUM | core/dbt/task/debug.py | 316 | # =============== |
| MEDIUM | core/dbt/task/debug.py | 383 | # ============ |
| MEDIUM | core/dbt/task/debug.py | 385 | # ============ |
| 44 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/dbt/compilation.py | 844 | |
| LOW | core/dbt/compilation.py | 197 | |
| LOW | core/dbt/compilation.py | 243 | |
| LOW | core/dbt/compilation.py | 340 | |
| LOW | core/dbt/compilation.py | 397 | |
| LOW | core/dbt/compilation.py | 526 | |
| LOW | core/dbt/compilation.py | 646 | |
| LOW | core/dbt/exceptions.py | 1294 | |
| LOW | core/dbt/exceptions.py | 1381 | |
| LOW | core/dbt/tracking.py | 178 | |
| LOW | core/dbt/clients/jinja_static.py | 43 | |
| LOW | core/dbt/clients/jinja_static.py | 102 | |
| LOW | core/dbt/event_time/event_time.py | 9 | |
| LOW | core/dbt/artifacts/schemas/upgrades/upgrade_manifest.py | 10 | |
| LOW | core/dbt/materializations/incremental/microbatch.py | 125 | |
| LOW | core/dbt/materializations/incremental/microbatch.py | 166 | |
| LOW | core/dbt/context/context_config.py | 42 | |
| LOW | core/dbt/context/context_config.py | 78 | |
| LOW | core/dbt/context/context_config.py | 126 | |
| LOW | core/dbt/context/providers.py | 2043 | |
| LOW | core/dbt/context/providers.py | 162 | |
| LOW | core/dbt/context/providers.py | 249 | |
| LOW | core/dbt/context/providers.py | 1743 | |
| LOW | core/dbt/context/providers.py | 2240 | |
| LOW | core/dbt/context/macro_resolver.py | 144 | |
| LOW | core/dbt/context/base.py | 723 | |
| LOW | core/dbt/config/selectors.py | 178 | |
| LOW | core/dbt/config/project.py | 880 | |
| LOW | core/dbt/auth/oauth/callback_server.py | 20 | |
| LOW | core/dbt/auth/oauth/platform.py | 207 | |
| LOW | core/dbt/plugins/manager.py | 256 | |
| LOW | core/dbt/contracts/files.py | 288 | |
| LOW | core/dbt/contracts/files.py | 313 | |
| LOW | core/dbt/contracts/graph/manifest.py | 1331 | |
| LOW | core/dbt/contracts/graph/manifest.py | 1765 | |
| LOW | core/dbt/contracts/graph/nodes.py | 313 | |
| LOW | core/dbt/contracts/graph/nodes.py | 601 | |
| LOW | core/dbt/contracts/graph/nodes.py | 772 | |
| LOW | core/dbt/contracts/graph/nodes.py | 987 | |
| LOW | core/dbt/graph/queue.py | 72 | |
| LOW | core/dbt/graph/selector.py | 197 | |
| LOW | core/dbt/graph/selector.py | 238 | |
| LOW | core/dbt/graph/selector.py | 271 | |
| LOW | core/dbt/graph/selector.py | 330 | |
| LOW | core/dbt/graph/cli.py | 81 | |
| LOW | core/dbt/graph/cli.py | 198 | |
| LOW | core/dbt/graph/selector_methods.py | 549 | |
| LOW | core/dbt/graph/selector_methods.py | 600 | |
| LOW | core/dbt/graph/selector_methods.py | 613 | |
| LOW | core/dbt/graph/selector_methods.py | 775 | |
| LOW | core/dbt/graph/selector_methods.py | 871 | |
| LOW | core/dbt/graph/selector_methods.py | 925 | |
| LOW | core/dbt/tests/util.py | 516 | |
| LOW | core/dbt/utils/utils.py | 62 | |
| LOW | core/dbt/utils/utils.py | 392 | |
| LOW | core/dbt/utils/utils.py | 163 | |
| LOW | core/dbt/jsonschemas/jsonschemas.py | 139 | |
| LOW | core/dbt/jsonschemas/jsonschemas.py | 181 | |
| LOW | core/dbt/jsonschemas/jsonschemas.py | 300 | |
| LOW | core/dbt/cli/options.py | 38 | |
| 87 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | core/dbt/clients/jinja.py | 74 | self.stack.push(unique_id) |
| HIGH | core/dbt/cli/params.py | 447 | default='{"MAX_GROUPING_DEPTH": null, "MAX_GROUPING_TOKENS": null}', |
| HIGH | core/dbt/parser/schemas.py | 165 | # When loaded_at_field is defined as None or null, it shows up in |
| HIGH | core/dbt/parser/unit_tests.py | 450 | # Empty values (e.g. ,,) in a csv fixture should default to null, not "" |
| HIGH | core/dbt/task/test.py | 453 | * [['a','b','c'],[4,5,6],[1,null,3]] -> [['a','b','c'],[1,null,3],[4,5,6]] |
| HIGH | core/dbt/task/test.py | 454 | * [['a','b','c'],[4,5,6],[null,2,3]] -> [['a','b','c'],[4,5,6],[null,2,3]] |
| HIGH | tests/unit/graph/test_nodes.py | 353 | test2.test_metadata = TestMetadata(name="unique", kwargs={"column_name": "column2 || column3"}) |
| HIGH | tests/unit/graph/test_nodes.py | 356 | assertSameContents(model.infer_primary_key(tests), ["column1", "column2 || column3"]) |
| HIGH | tests/unit/graph/test_nodes.py | 413 | test2.test_metadata = TestMetadata(name="unique", kwargs={"column_name": "column2 || column3"}) |
| HIGH | tests/unit/graph/test_nodes.py | 416 | assertSameContents(model.infer_primary_key(tests), ["column1", "column2 || column3"]) |
| HIGH | tests/unit/parser/test_manifest.py | 374 | result = extended_msgpack_encoder(undefined) |
| HIGH | tests/unit/parser/test_manifest.py | 402 | data = {"meta": {"key": undefined}} |
| HIGH | tests/functional/severity/test_severity.py | 37 | 6,Katherine,Lopez,null,Female,169.138.46.89,2016-08-30 18:52:11 |
| HIGH | tests/functional/severity/test_severity.py | 45 | 14,Walter,Castillo,null,Male,71.159.238.196,2016-10-06 01:55:44 |
| HIGH | tests/functional/exposures/test_exposure_configs.py | 152 | """Regression test: `exposures: {tags: null}` in dbt_project.yml should raise a clear error.""" |
| HIGH | …functional/dependencies/test_add_package_edge_cases.py | 53 | """Regression test: `packages: null` (explicit null) in packages.yml should not raise TypeError.""" |
| HIGH | tests/functional/primary_keys/fixtures.py | 58 | combination_of_columns: [null] |
| HIGH | tests/functional/sources/test_source_configs.py | 359 | """Regression test: `tables: null` (explicit null) should not raise TypeError.""" |
| HIGH | tests/functional/functions/test_overloaded_udfs.py | 167 | SELECT val || val |
| HIGH | tests/functional/functions/test_overloaded_udfs.py | 177 | SELECT val || ANOTHER_BAD_COL |
| HIGH | tests/functional/unit_testing/test_sql_format.py | 80 | and accepted_email_domains.tld is not null, |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | core/dbt/compilation.py | 256 | # This function implements a rough approximation of the behavior just |
| MEDIUM | core/dbt/compilation.py | 532 | """This method is called by the 'compile_node' method. Starting |
| MEDIUM | core/dbt/compilation.py | 752 | # Create a file containing basic information about graph structure, |
| MEDIUM | core/dbt/context/providers.py | 265 | # Create the column object |
| MEDIUM | core/dbt/context/providers.py | 2210 | # This class is currently used by the schema parser in order |
| MEDIUM | core/dbt/context/macros.py | 103 | # Create a dictionary of [package name][macro name] = |
| MEDIUM | core/dbt/config/project.py | 624 | # Create a PartialProject |
| MEDIUM | core/dbt/contracts/results.py | 3 | # This file is temporary, in order to not break various adapter tests, etc, until |
| MEDIUM | core/dbt/parser/schema_yaml_readers.py | 1191 | # Create a metric for each measure with `create_metric = True` |
| MEDIUM | core/dbt/parser/manifest.py | 1104 | # Create a FileHash of vars string, profile name and target name |
| MEDIUM | core/dbt/parser/manifest.py | 1137 | # Create a FileHash of the env_vars in the project |
| MEDIUM | core/dbt/parser/manifest.py | 1145 | # Create a hash of the connection_info, which user has access to in |
| MEDIUM | core/dbt/parser/manifest.py | 1158 | # Create a FileHashes for dbt_project for all dependencies |
| MEDIUM | core/dbt/parser/manifest.py | 1165 | # Create the ManifestStateCheck object |
| MEDIUM | core/dbt/parser/partial.py | 1354 | # Create a list of file_ids for source_files that need to be reparsed, and |
| MEDIUM | core/dbt/task/run.py | 819 | """This method is really only to be used when the execution of a microbatch model is halted before all batches h |
| MEDIUM | core/dbt/task/init.py | 39 | # This file is not needed for the starter project but exists for finding the resource path |
| MEDIUM | core/dbt/task/init.py | 147 | # Create the profile directory if it doesn't exist |
| MEDIUM | core/dbt/task/init.py | 354 | # Create the profile after creating the project to avoid leaving a random profile |
| MEDIUM | tests/unit/context/test_providers.py | 85 | # Create a mock target with columns |
| MEDIUM | tests/unit/context/test_providers.py | 146 | # Create a mock target with different columns |
| MEDIUM | tests/unit/context/test_providers.py | 182 | # Create a mock target without columns |
| MEDIUM | tests/unit/context/test_providers.py | 202 | # Create a mock target without quoting |
| MEDIUM | tests/unit/contracts/graph/test_manifest.py | 546 | # Create a unit test for the events model |
| MEDIUM | tests/unit/contracts/graph/test_semantic_manifest.py | 75 | # Create a metricflow_time_spine model with HOUR granularity |
| MEDIUM | tests/unit/graph/test_selector.py | 283 | # Create the selector and get the queue |
| MEDIUM | tests/unit/deps/test_deps.py | 923 | # Create a mock DepsTask with minimal setup |
| MEDIUM | tests/functional/basic/test_jaffle_shop.py | 16 | # Create the data from seeds |
| MEDIUM | tests/functional/basic/test_jaffle_shop.py | 27 | # Create the data from seeds |
| MEDIUM | tests/functional/schema_tests/test_schema_v2_tests.py | 692 | # Create the uppercase SQL file |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/dbt/compilation.py | 772 | except Exception as e: # This is non-essential information, so merely note failures. |
| LOW | core/dbt/compilation.py | 878 | except Exception as e: |
| LOW | core/dbt/tracking.py | 226 | except Exception: |
| LOW | core/dbt/tracking.py | 483 | except Exception: |
| LOW | core/dbt/tracking.py | 506 | except Exception: |
| LOW | core/dbt/tracking.py | 525 | except Exception: |
| LOW | core/dbt/event_time/sample_window.py | 44 | except Exception: |
| LOW | core/dbt/event_time/sample_window.py | 50 | except Exception: |
| LOW | core/dbt/context/providers.py | 1270 | except Exception: |
| LOW | core/dbt/config/renderer.py | 208 | except Exception as ex: |
| LOW | core/dbt/config/project.py | 894 | except Exception: |
| LOW | core/dbt/auth/resolvers.py | 335 | except Exception: |
| LOW | core/dbt/plugins/manager.py | 82 | except Exception: |
| LOW | core/dbt/plugins/manager.py | 125 | except Exception as e: |
| LOW | core/dbt/plugins/manager.py | 145 | except Exception as e: |
| MEDIUM | core/dbt/plugins/manager.py | 122 | def inner(*args, **kwargs): |
| LOW | core/dbt/graph/selector_methods.py | 535 | except Exception as exc: |
| LOW | core/dbt/utils/artifact_upload.py | 103 | except Exception as e: |
| LOW | core/dbt/utils/utils.py | 405 | except Exception: |
| LOW | core/dbt/docs/source/_ext/dbt_click.py | 63 | except Exception: # noqa |
| LOW | core/dbt/cli/requires.py | 213 | except Exception as e: |
| LOW | core/dbt/cli/option_types.py | 161 | except Exception as e: |
| LOW | core/dbt/parser/manifest.py | 576 | except Exception as exc: |
| LOW | core/dbt/parser/manifest.py | 929 | except Exception: |
| LOW | core/dbt/parser/manifest.py | 1065 | except Exception as exc: |
| LOW | core/dbt/parser/manifest.py | 1574 | except Exception: |
| LOW | core/dbt/parser/osi.py | 140 | except Exception as exc: |
| LOW | core/dbt/parser/macros.py | 117 | except Exception: |
| MEDIUM | core/dbt/parser/macros.py | 114 | def _extract_args(self, macro) -> List[MacroArgument]: |
| LOW | core/dbt/parser/fusion.py | 284 | except Exception as e: |
| LOW | core/dbt/parser/unit_tests.py | 286 | except Exception: |
| LOW | core/dbt/task/freshness.py | 313 | except Exception as e: |
| LOW | core/dbt/task/run.py | 133 | except Exception as exc: |
| LOW | core/dbt/task/run.py | 669 | except Exception as e: |
| LOW | core/dbt/task/run_operation.py | 147 | except Exception as exc: |
| LOW | core/dbt/task/debug.py | 284 | except Exception as exc: |
| LOW | core/dbt/task/debug.py | 444 | except Exception as exc: |
| MEDIUM | core/dbt/task/debug.py | 387 | def test_git(self) -> SubtaskStatus: |
| LOW | core/dbt/task/sql.py | 98 | except Exception as exc: |
| LOW | core/dbt/task/sql.py | 126 | except Exception as e: |
| MEDIUM | core/dbt/task/sql.py | 95 | def _safe_release_connection(self) -> None: |
| LOW | core/dbt/task/init.py | 261 | except Exception: |
| LOW | core/dbt/task/init.py | 297 | except Exception: |
| LOW | core/dbt/task/runnable.py | 277 | except Exception as e: |
| LOW | core/dbt/task/runnable.py | 289 | except Exception as e: |
| LOW | core/dbt/task/base.py | 389 | except Exception as e: |
| LOW | core/dbt/task/base.py | 418 | except Exception as exc: |
| LOW | core/dbt/task/function.py | 161 | except Exception as e: |
| LOW | tests/unit/test_functions.py | 80 | except Exception as exc: |
| LOW | tests/unit/test_events.py | 576 | except Exception as e: |
| LOW | tests/unit/test_events.py | 583 | except Exception as e: |
| LOW | tests/unit/test_events.py | 588 | except Exception as e: |
| LOW | tests/unit/event_time/test_sample_mode.py | 162 | except Exception as e: |
| LOW | tests/unit/context/test_base.py | 14 | except Exception as e: |
| LOW | tests/unit/context/test_base.py | 22 | except Exception as e: |
| LOW | tests/unit/cli/test_option_types.py | 66 | except Exception as e: |
| LOW | tests/functional/artifacts/test_docs_generate_defer.py | 41 | except Exception: |
| LOW | tests/functional/cli/test_env_var_deprecations.py | 57 | except Exception as e: |
| LOW | …/functional/cli/test_option_interaction_validations.py | 26 | except Exception as e: |
| LOW | …/functional/cli/test_option_interaction_validations.py | 46 | except Exception as e: |
| 5 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/dbt/compilation.py | 241 | self.add_test_edges_2(manifest) |
| LOW | core/dbt/compilation.py | 261 | # case, if we are not careful, we will introduce cycles. That seems to |
| LOW | core/dbt/compilation.py | 281 | # implementation by ensuring both resulting graphs have the same transitive |
| LOW | core/dbt/compilation.py | 341 | graph: nx.DiGraph, manifest: Manifest |
| LOW | core/dbt/compilation.py | 401 | executable_nodes: Set[UniqueID], |
| LOW | core/dbt/plugins/manager.py | 181 | class PluginManager: |
| LOW | core/dbt/contracts/files.py | 281 | # Probably not needed, but for safety sake, convert the |
| LOW | core/dbt/contracts/selection.py | 21 | # @dataclass |
| LOW | core/dbt/contracts/graph/nodes.py | 121 | # manifest contains "macros", "sources", "metrics", "exposures", "docs", |
| LOW | core/dbt/graph/selector.py | 281 | # |
| LOW | core/dbt/tests/util.py | 21 | from dbt_common.events.functions import ( |
| LOW | core/dbt/tests/util.py | 41 | # update_config_file |
| LOW | core/dbt/tests/util.py | 61 | # AnyFloat |
| LOW | core/dbt/parser/models.py | 281 | super().render_update(node, config) |
| LOW | core/dbt/parser/schemas.py | 101 | # The SchemaParser is a subclass of the SimpleParser from base.py, as is |
| LOW | core/dbt/parser/fusion.py | 241 | |
| LOW | core/dbt/parser/partial.py | 1021 | # If the latest version has changed, a version has been removed, or a version has been added, |
| LOW | core/dbt/events/types.py | 21 | from dbt_common.ui import error_tag, green, line_wrap_message, red, warning_tag, yellow |
| LOW | tests/unit/test_env_vars.py | 41 | # 2. we've identified, and added, an existing but previously unknown engine env var to the _ADDITIONAL_ENGINE_ENV_VA |
| LOW | tests/functional/__init__.py | 1 | # Functional tests focus on the business requirements of an application. They |
| LOW | …ts/functional/artifacts/test_previous_version_state.py | 241 | """ |
| LOW | …ctional/semantic_models/test_semantic_model_parsing.py | 281 | # def models(self): |
| LOW | .github/dbt-postgres-testing.yml | 121 | # POSTGRES_TEST_HOST: ${{ vars.POSTGRES_TEST_HOST }} |
| LOW | .github/dbt-postgres-testing.yml | 141 | # uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # actions/checkout@v4 |
| LOW | .github/dbt-postgres-testing.yml | 161 | # PGUSER: postgres |
| LOW | .github/workflows/release.yml | 1 | # **what?** |
| LOW | .github/workflows/backport.yml | 1 | # **what?** |
| LOW | .github/workflows/changelog-existence.yml | 1 | # **what?** |
| LOW | .github/workflows/update-test-durations.yml | 1 | # **what?** |
| LOW | .github/workflows/sync-1-latest.yml | 1 | # **what?** |
| LOW | .github/workflows/nightly-release.yml | 1 | # **what?** |
| LOW | .github/workflows/release-branch-tests.yml | 1 | # **what?** |
| LOW | .github/workflows/cut-release-branch.yml | 1 | # **what?** |
| LOW | .github/workflows/schema-check.yml | 1 | # **what?** |
| LOW | .github/workflows/repository-cleanup.yml | 1 | # **what?** |
| LOW | .github/workflows/bot-changelog.yml | 1 | # **what?** |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/dbt/context/providers.py | 256 | # Check if config has event_time attribute |
| LOW | core/dbt/utils/artifact_upload.py | 88 | # Check if there are artifacts to upload for this command |
| LOW | core/dbt/cli/flags.py | 257 | # Set deprecated_env_var_warnings to be fired later after events have been init. |
| LOW | core/dbt/parser/manifest.py | 1300 | # Check if this node has been modified in this parsing run |
| LOW | core/dbt/parser/schemas.py | 1372 | # Check if this overload was already claimed by another root function |
| LOW | core/dbt/parser/unit_tests.py | 488 | # Check if all values in the row are not None |
| LOW | core/dbt/parser/partial.py | 442 | # Check if this file was absorbed as a function overload. |
| LOW | core/dbt/parser/base.py | 537 | # Set it to None in case it changed with a config update |
| LOW | core/dbt/task/run.py | 929 | # Check if the pool was closed, because if it was, then the main thread is trying to exit. |
| LOW | core/dbt/task/deps.py | 179 | # Check if any variant of the package name appears in the identifier |
| LOW | …al/defer_state/test_modified_state_schema_evolution.py | 17 | # Set dbt_version to PREVIOUS to trigger manifest upgrades on state:modified |
| LOW | .github/workflows/auto-respond-bug-reports.yml | 2 | # Check if the an issue is opened near or during an extended holiday period. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/dbt/clients/registry.py | 150 | # if the user doesn't care about installing compatible versions, just return them all |
| LOW | core/dbt/clients/jinja.py | 124 | # string, we can just return the input. Fall back to jinja if the type is |
| LOW | core/dbt/context/secret.py | 28 | # if this is a 'secret' env var, just return the name of the env var |
| LOW | core/dbt/config/project.py | 490 | # It would be nice to just pass along a Quoting here, but that would |
| MEDIUM | tests/unit/parser/test_parser.py | 2083 | # generic tests in the test-paths directory currently leverage the macro parser |
| LOW | tests/functional/defer_state/test_defer_state.py | 200 | # but this should work since we just use the old happy model |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …sts/functional/configs/test_configs_in_schema_files.py | 36 | owner: 'John Doe' |
| LOW | …sts/functional/configs/test_configs_in_schema_files.py | 247 | expected_meta = {"owner": "John Doe"} |
| LOW | tests/functional/partial_parsing/test_pp_vars.py | 168 | os.environ["ENV_VAR_OWNER"] = "John Doe" |
| LOW | tests/functional/partial_parsing/test_pp_vars.py | 178 | "ENV_VAR_OWNER": "John Doe", |
| LOW | tests/functional/partial_parsing/test_pp_vars.py | 201 | "ENV_VAR_OWNER": "John Doe", |
| LOW | tests/functional/partial_parsing/test_pp_vars.py | 298 | os.environ["ENV_VAR_NAME"] = "Jane Doe" |
| LOW | tests/functional/partial_parsing/test_pp_vars.py | 303 | assert model.config.meta["meta_name"] == "Jane Doe" |
| LOW | …sts/functional/partial_parsing/test_partial_parsing.py | 639 | assert manifest.macros["macro.test.bar"].description == "Lorem ipsum." |
| LOW | tests/functional/partial_parsing/fixtures.py | 1341 | description: Lorem ipsum. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/dbt/utils/artifact_upload.py | 119 | # Step 1: Create ingest request with retry |
| LOW | core/dbt/utils/artifact_upload.py | 129 | # Step 2: Upload the zip file to the provided URL with retry |
| LOW | core/dbt/utils/artifact_upload.py | 139 | # Step 3: Mark the ingest as successful with retry |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/functional/configs/test_disabled_configs.py | 15 | # make sure you can do this and get an int out |
| LOW | tests/functional/configs/test_disabled_configs.py | 26 | # make sure you can do this and get an int out |
| LOW | …al/defer_state/test_modified_state_schema_evolution.py | 31 | # make sure to update state off of main so that the functional changes of the |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | CONTRIBUTING.md | 275 | 5. You can also add `{{ debug() }}` statements, which will drop you into some auto-generated code that the macro wrote. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | core/dbt/utils/artifact_upload.py | 53 | Execute a function with exponential backoff retry logic. Args: operation_name: Name of the operation for er |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/functional/auth/conftest.py | 52 | def handle_request(self): |