AI Slop Code RIsk Monitor

apache/airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows

24.6 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for apache/airflow, a Python project with 47,139 GitHub stars. SynthScan examined 2,379,215 lines of code across 11326 source files, recording 53062 pattern matches distributed across 26 syntactic categories. The legacy adjusted pattern signal is 24.6 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

24.6
Adjusted Signal
24.6
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
47.1K
Stars
Python
Language
2.4M
Lines of Code
11.3K
Files
53.1K
Pattern Hits
2026-10-12
Scan Date
0.11
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 56.7/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 42161 finding(s).

Hallucinated Dependency & Supply Chain Risk 20.4/100 · LOW

Are imports declared and package/API names verified? 7718 finding(s).

Agent Over-Engineering Ratio 53.0/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 34112 finding(s).

PR Review Velocity Impact 73.1/100 · HIGH

Which changes need focused human review? 53062 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 292HIGH 915MEDIUM 1117LOW 50738

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 53062 distinct pattern matches across 26 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers30190 hits · 27444 pts
SeverityFileLineSnippetContext
LOWclients/python/README.md297def get_airflow_client_access_token(CODE
LOW…/java-test-bundle/src/resources/dags/java_test_dags.py25def missing_no_arg_constructor(): ...CODE
LOW⚡airflow-e2e-tests/tests/airflow_e2e_tests/conftest.py722def _build_ts_sdk_example_bundle(*, native=False):CODE
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py100def _copy_elasticsearch_files(tmp_dir):CODE
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py126def _setup_elasticsearch_integration(dot_env_file, tmp_dir):CODE
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py141def _setup_opensearch_integration(dot_env_file, tmp_dir):CODE
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py172def _write_providers_mount_override(tmp_dir: Path, providers: list[str]) -> list[str]:CODE
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py200def _setup_event_driven_integration(dot_env_file, tmp_dir):CODE
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py249def _setup_xcom_object_storage_integration(dot_env_file, tmp_dir):CODE
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py390def _setup_java_sdk_integration(dot_env_file, tmp_dir):CODE
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py624def _setup_go_sdk_integration(dot_env_file, tmp_dir):CODE
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py703def _setup_openlineage_integration(dot_env_file, tmp_dir, compose_file_names):CODE
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py768def _setup_ts_sdk_integration(dot_env_file, tmp_dir):CODE
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py815def spin_up_airflow_environment(tmp_path_factory: pytest.TempPathFactory):CODE
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py931def pytest_runtest_makereport(item, call):CODE
LOW…2e_tests/e2e_test_utils/base_remote_log_search_test.py112 def test_remote_logging_error_detail(self):CODE
LOW…ests/tests/airflow_e2e_tests/e2e_test_utils/clients.py47def create_request_session_with_retries(status_forcelist: list[int]):CODE
LOW…/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py154def _trigger_and_wait_for_dag(dag_id: str, timeout: int) -> _CompletedRun:CODE
LOW…/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py211 def test_java_tasks_execute_successfully(self, annotation_example_run: _CompletedRun):CODE
LOW…/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py222 def test_transform_xcom_is_numeric_timestamp(self, annotation_example_run: _CompletedRun):CODE
LOW…/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py232 def test_report_binds_keyword_arguments_by_folded_name(self, annotation_example_run: _CompletedRun):CODE
LOW…/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py245 def test_concurrent_client_calls_succeed(self, annotation_example_run: _CompletedRun):CODE
LOW…/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py256 def test_load_retried_then_succeeded(self, annotation_example_run: _CompletedRun):CODE
LOW…/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py276 def test_application_logs_preserve_their_level(self, annotation_example_run: _CompletedRun):CODE
LOW…/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py330 def test_uninstantiable_task_fails_with_actionable_error(self, task_id: str, expected_task_class: str):CODE
LOW…/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py373 def test_variable_written_by_java_task_is_readable(self, variable_write_run: _CompletedRun):CODE
LOW…/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py391 def test_scratch_variable_deleted_by_java_task_is_gone(self, variable_write_run: _CompletedRun):CODE
LOW…/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py412 def test_input_tasks_receive_their_bound_arguments(self, interface_example_run: _CompletedRun):CODE
LOW…/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py430 def test_numeric_xcom_casting(self, xcom_casting_example_run: _CompletedRun):CODE
LOW…ests/tests/airflow_e2e_tests/dags/example_xcom_test.py56def pull_value_from_bash_push(ti=None):CODE
LOW…e2e_tests/go_sdk_tests/test_go_sdk_taskflow_binding.py120def test_upstream_xcoms_keep_their_shapes(completed_run: _CompletedRun):CODE
LOW…e2e_tests/go_sdk_tests/test_go_sdk_taskflow_binding.py131def test_via_flat_args_summary_reflects_bound_arguments(completed_run: _CompletedRun):CODE
LOW…e2e_tests/go_sdk_tests/test_go_sdk_taskflow_binding.py147def test_via_struct_no_tags_reflects_bound_arguments(completed_run: _CompletedRun):CODE
LOW…e2e_tests/go_sdk_tests/test_go_sdk_taskflow_binding.py159def test_via_struct_arg_tag_reflects_bound_arguments(completed_run: _CompletedRun):CODE
LOW…e2e_tests/go_sdk_tests/test_go_sdk_taskflow_binding.py170def test_via_struct_default_arg_tolerates_unclaimed_default(completed_run: _CompletedRun):CODE
LOW…e2e_tests/go_sdk_tests/test_go_sdk_taskflow_binding.py177def test_via_struct_more_args_warns_and_runs(completed_run: _CompletedRun):CODE
LOW…e2e_tests/go_sdk_tests/test_go_sdk_taskflow_binding.py188def test_via_struct_fewer_args_warns_and_runs(completed_run: _CompletedRun):CODE
LOW⚡…e2e_tests/go_sdk_tests/test_go_sdk_taskflow_binding.py205def test_via_flat_map_decodes_single_dict_whole(completed_run: _CompletedRun):CODE
LOW⚡…e2e_tests/go_sdk_tests/test_go_sdk_taskflow_binding.py211def test_via_struct_map_binds_single_dict_onto_map_field(completed_run: _CompletedRun):CODE
LOW⚡…e2e_tests/go_sdk_tests/test_go_sdk_taskflow_binding.py219def test_via_plain_map_decodes_dict_into_a_typed_map(completed_run: _CompletedRun):CODE
LOW…_e2e_tests/go_sdk_tests/test_go_sdk_concurrent_xcom.py77def test_concurrent_faster_than_sequential(completed_run: _CompletedRun):CODE
LOW⚡…rflow_e2e_tests/go_sdk_tests/test_go_sdk_task_state.py76def test_value_written_by_go_task_is_readable(completed_run: _CompletedRun):CODE
LOW⚡…rflow_e2e_tests/go_sdk_tests/test_go_sdk_task_state.py83def test_never_expire_key_has_null_expiry(completed_run: _CompletedRun):CODE
LOW⚡…rflow_e2e_tests/go_sdk_tests/test_go_sdk_task_state.py89def test_structured_value_roundtrips(completed_run: _CompletedRun):CODE
LOW…rflow_e2e_tests/go_sdk_tests/test_go_sdk_task_state.py105def test_default_retention_applied(completed_run: _CompletedRun):CODE
LOW…ests/airflow_e2e_tests/go_sdk_tests/test_go_sdk_dag.py161def test_load_retried_then_succeeded(completed_run: _CompletedRun):CODE
LOW…ests/airflow_e2e_tests/go_sdk_tests/test_go_sdk_dag.py187def test_extract_xcom_has_go_version_and_int_timestamp(completed_run: _CompletedRun):CODE
LOW⚡…ests/airflow_e2e_tests/go_sdk_tests/test_go_sdk_dag.py203def test_xcom_crosses_go_to_python(completed_run: _CompletedRun):CODE
LOW⚡…ests/airflow_e2e_tests/go_sdk_tests/test_go_sdk_dag.py208def test_extract_logs_show_beep_loop(completed_run: _CompletedRun):CODE
LOW⚡…ests/airflow_e2e_tests/go_sdk_tests/test_go_sdk_dag.py216def test_extract_logs_show_runtime_context(completed_run: _CompletedRun):CODE
LOW…ests/airflow_e2e_tests/go_sdk_tests/test_go_sdk_dag.py259def test_transform_logs_show_variable_read(completed_run: _CompletedRun):CODE
LOW…rflow_e2e_tests/go_sdk_tests/test_go_sdk_native_dag.py112def test_the_dags_the_binary_parsed_are_registered(parsed_dags: AirflowClient):CODE
LOW…rflow_e2e_tests/go_sdk_tests/test_go_sdk_native_dag.py120def test_the_graph_carries_every_construct(parsed_dags: AirflowClient):CODE
LOW…rflow_e2e_tests/go_sdk_tests/test_go_sdk_native_dag.py143def test_the_taken_branches_ran_and_the_others_skipped(completed_run: _CompletedRun):CODE
LOW⚡…rflow_e2e_tests/go_sdk_tests/test_go_sdk_native_dag.py165def test_xcoms_flow_between_go_tasks(completed_run: _CompletedRun):CODE
LOW⚡…rflow_e2e_tests/go_sdk_tests/test_go_sdk_native_dag.py173def test_the_decisions_are_recorded(completed_run: _CompletedRun):CODE
LOW⚡…rflow_e2e_tests/go_sdk_tests/test_go_sdk_native_dag.py179def test_the_variable_and_connection_reached_the_go_task(completed_run: _CompletedRun):CODE
LOW⚡…rflow_e2e_tests/go_sdk_tests/test_go_sdk_native_dag.py184def test_a_task_pulls_the_xcom_another_pushed_under_its_own_key(completed_run: _CompletedRun):CODE
LOW⚡…rflow_e2e_tests/go_sdk_tests/test_go_sdk_native_dag.py190def test_the_dag_source_is_the_file_that_declares_the_dag(parsed_dags: AirflowClient):CODE
LOW…rflow_e2e_tests/go_sdk_tests/test_go_sdk_native_dag.py201def test_the_trigger_started_the_report_run(parsed_dags: AirflowClient):CODE
30130 more matches not shown…
Over-Commented Block9202 hits · 8956 pts
SeverityFileLineSnippetContext
LOW.asf.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.asf.yaml81 # cap how many PRs a user without write access may have open at onceCOMMENT
LOWcodecov.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.pre-commit-config.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.hadolint.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpyproject.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpyproject.toml1421#COMMENT
LOWpyproject.toml1441COMMENT
LOWpyproject.toml1461required-version = ">=0.11.8"COMMENT
LOWpyproject.toml1621apache-airflow-shared-state = falseCOMMENT
LOW.readthedocs.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.gitpod.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWyamllint-config.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.markdownlint.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.cherry_picker.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWclients/python/pyproject.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWclients/python/test_python_client.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWclients/python/test_python_client.py41except ImportError:COMMENT
LOWairflow-e2e-tests/.pre-commit-config.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWairflow-e2e-tests/pyproject.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWairflow-e2e-tests/docker/kafka.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWairflow-e2e-tests/docker/openlineage-compat-db.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWairflow-e2e-tests/docker/go.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWairflow-e2e-tests/docker/localstack.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWairflow-e2e-tests/docker/Dockerfile.java1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWairflow-e2e-tests/docker/java.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWairflow-e2e-tests/docker/openlineage.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWairflow-e2e-tests/docker/openlineage.yml21# openlineage_tests/prepare_dags.py (conftest._setup_openlineage_integration). They emit through theCOMMENT
LOWairflow-e2e-tests/docker/openlineage.yml41 AIRFLOW__OPENLINEAGE__EXECUTION_TIMEOUT: '60'COMMENT
LOWairflow-e2e-tests/docker/opensearch.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWairflow-e2e-tests/docker/elasticsearch.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWairflow-e2e-tests/docker/ts.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWairflow-e2e-tests/docker/kafka/update_run.sh1#!/bin/shCOMMENT
LOW…/java-test-bundle/src/resources/dags/java_test_dags.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py401 # The example, scala_spark_example, and java-test-bundle are independentCOMMENT
LOWairflow-e2e-tests/tests/airflow_e2e_tests/constants.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWairflow-e2e-tests/tests/airflow_e2e_tests/constants.py101# Far from the supervisor's own 30-day config fallback, so the e2e test can tell aCOMMENT
LOWairflow-e2e-tests/tests/airflow_e2e_tests/__init__.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…2e_tests/e2e_test_utils/base_remote_log_search_test.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…sts/tests/airflow_e2e_tests/e2e_test_utils/__init__.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…ests/tests/airflow_e2e_tests/e2e_test_utils/clients.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…sts/tests/airflow_e2e_tests/java_sdk_tests/__init__.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…s/tests/airflow_e2e_tests/dags/example_event_driven.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…s/tests/airflow_e2e_tests/dags/example_event_driven.py41# "extra": {COMMENT
LOW…ests/tests/airflow_e2e_tests/dags/example_xcom_test.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…asticsearch_tests/test_remote_logging_elasticsearch.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…w_e2e_tests/remote_log_elasticsearch_tests/__init__.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…e2e_tests/go_sdk_tests/test_go_sdk_taskflow_binding.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…_e2e_tests/go_sdk_tests/test_go_sdk_concurrent_xcom.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…tests/tests/airflow_e2e_tests/go_sdk_tests/__init__.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…rflow_e2e_tests/go_sdk_tests/test_go_sdk_task_state.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…ests/airflow_e2e_tests/go_sdk_tests/test_go_sdk_dag.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…rflow_e2e_tests/go_sdk_tests/test_go_sdk_native_dag.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…w_e2e_tests/go_sdk_tests/test_go_sdk_variable_write.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…ject_storage_tests/test_xcom_object_storage_backend.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…irflow_e2e_tests/xcom_object_storage_tests/__init__.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…s/tests/airflow_e2e_tests/remote_log_tests/__init__.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…flow_e2e_tests/remote_log_tests/test_remote_logging.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
9142 more matches not shown…
Unused Imports6937 hits · 6524 pts
SeverityFileLineSnippetContext
LOWclients/python/test_python_client.py27CODE
LOW…/java-test-bundle/src/resources/dags/java_test_dags.py19CODE
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py17CODE
LOWairflow-e2e-tests/tests/airflow_e2e_tests/constants.py17CODE
LOW…2e_tests/e2e_test_utils/base_remote_log_search_test.py17CODE
LOW…ests/tests/airflow_e2e_tests/e2e_test_utils/clients.py17CODE
LOW…/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py68CODE
LOW…s/tests/airflow_e2e_tests/dags/example_event_driven.py18CODE
LOW…ests/tests/airflow_e2e_tests/dags/example_xcom_test.py19CODE
LOW…asticsearch_tests/test_remote_logging_elasticsearch.py17CODE
LOW…e2e_tests/go_sdk_tests/test_go_sdk_taskflow_binding.py27CODE
LOW…_e2e_tests/go_sdk_tests/test_go_sdk_concurrent_xcom.py24CODE
LOW…rflow_e2e_tests/go_sdk_tests/test_go_sdk_task_state.py23CODE
LOW…ests/airflow_e2e_tests/go_sdk_tests/test_go_sdk_dag.py66CODE
LOW…rflow_e2e_tests/go_sdk_tests/test_go_sdk_native_dag.py34CODE
LOW…w_e2e_tests/go_sdk_tests/test_go_sdk_variable_write.py24CODE
LOW…ject_storage_tests/test_xcom_object_storage_backend.py17CODE
LOW…flow_e2e_tests/remote_log_tests/test_remote_logging.py17CODE
LOW…sts/airflow_e2e_tests/ts_sdk_tests/test_ts_sdk_hitl.py51CODE
LOW…ests/airflow_e2e_tests/ts_sdk_tests/test_ts_sdk_dag.py37CODE
LOW…ow_e2e_tests/openlineage_tests/test_openlineage_e2e.py17CODE
LOW…s/tests/airflow_e2e_tests/openlineage_tests/harness.py26CODE
LOW…ts/airflow_e2e_tests/openlineage_tests/prepare_dags.py31CODE
LOW…tests/airflow_e2e_tests/openlineage_tests/task_logs.py26CODE
LOW…openlineage_tests/dags_extra/openlineage_warmup_dag.py24CODE
LOW…s/openlineage_tests/dags_extra/e2e_versioned_bundle.py31CODE
LOW…flow_e2e_tests/event_driven_tests/test_event_driven.py24CODE
LOW…log_opensearch_tests/test_remote_logging_opensearch.py17CODE
LOW…sts/airflow_e2e_tests/basic_tests/test_example_dags.py18CODE
LOW…low_e2e_tests/basic_tests/test_basic_dag_operations.py17CODE
LOWts-sdk/example/dags/typescript_taskflow_example.py31CODE
LOWts-sdk/example/dags/typescript_example.py18CODE
LOWts-sdk/scripts/ci/prek/ts_sdk_lint.py18CODE
LOWts-sdk/scripts/ci/prek/check_supervisor_schema.py18CODE
LOWts-sdk/scripts/ci/prek/compile_ts_sdk.py18CODE
LOWts-sdk/scripts/ci/prek/check_dag_schema.py18CODE
LOWts-sdk/scripts/ci/prek/verify_ts_sdk_package.py18CODE
LOW…sdk/scripts/ci/prek/check_serialization_conformance.py20CODE
LOWkubernetes-tests/lang_sdk/stage_artifacts.py41CODE
LOWkubernetes-tests/lang_sdk/dags/lang_sdk_combined.py37CODE
LOW…sts/tests/kubernetes_tests/test_kubernetes_executor.py17CODE
LOWkubernetes-tests/tests/kubernetes_tests/conftest.py17CODE
LOW…s-tests/tests/kubernetes_tests/test_other_executors.py17CODE
LOW…tests/kubernetes_tests/test_kubernetes_pod_operator.py17CODE
LOW…kubernetes_tests/test_lang_sdk_coordinator_executor.py30CODE
LOWkubernetes-tests/tests/kubernetes_tests/test_base.py17CODE
LOWairflow-ctl/tests/conftest.py18CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py18CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_client.py18CODE
LOW…w-ctl/tests/airflow_ctl/ctl/test_console_formatting.py17CODE
LOWairflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py18CODE
LOW…ests/airflow_ctl/ctl/commands/test_variable_command.py17CODE
LOW…tl/tests/airflow_ctl/ctl/commands/test_pool_command.py19CODE
LOW…s/airflow_ctl/ctl/commands/test_connections_command.py17CODE
LOW…/tests/airflow_ctl/ctl/commands/test_config_command.py17CODE
LOW…tests/airflow_ctl/ctl/commands/test_version_command.py17CODE
LOW…ctl/tests/airflow_ctl/ctl/commands/test_dag_command.py17CODE
LOW…tl/tests/airflow_ctl/ctl/commands/test_jobs_command.py17CODE
LOW…tl/tests/airflow_ctl/ctl/commands/test_task_command.py17CODE
LOW…tl/tests/airflow_ctl/ctl/commands/test_auth_command.py17CODE
6877 more matches not shown…
Hallucination Indicators292 hits · 3050 pts
SeverityFileLineSnippetContext
CRITICALairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py272# This mirrors org.apache.spark.launcher.JavaModuleOptions.defaultModuleOptions()COMMENT
CRITICALairflow-ctl/src/airflowctl/ctl/cli_parser.py45from airflowctl.utils.helpers import partitionCODE
CRITICAL…tableau/src/airflow/providers/tableau/hooks/tableau.py25from airflow.utils.helpers import exactly_oneCODE
CRITICAL…unit/amazon/aws/triggers/test_opensearch_serverless.py31from airflow.utils.helpers import prune_dictCODE
CRITICAL…sts/unit/amazon/aws/transfers/test_hive_to_dynamodb.py71 operator = airflow.providers.amazon.aws.transfers.hive_to_dynamodb.HiveToDynamoDBOperator(CODE
CRITICAL…sts/unit/amazon/aws/transfers/test_hive_to_dynamodb.py101 operator = airflow.providers.amazon.aws.transfers.hive_to_dynamodb.HiveToDynamoDBOperator(CODE
CRITICAL…sts/unit/amazon/aws/transfers/test_hive_to_dynamodb.py140 operator = airflow.providers.amazon.aws.transfers.hive_to_dynamodb.HiveToDynamoDBOperator(CODE
CRITICAL…sts/unit/amazon/aws/executors/ecs/test_ecs_executor.py56from airflow.utils.helpers import convert_camel_to_snakeCODE
CRITICAL…unit/amazon/aws/executors/batch/test_batch_executor.py47from airflow.utils.helpers import convert_camel_to_snakeCODE
CRITICAL⚡…ders/amazon/tests/unit/amazon/aws/hooks/test_athena.py195 mock_conn.return_value.get_paginator.return_value.paginate.assert_called_with(**expected_call_params)CODE
CRITICAL⚡…ders/amazon/tests/unit/amazon/aws/hooks/test_athena.py214 mock_conn.return_value.get_paginator.return_value.paginate.assert_called_with(**expected_call_params)CODE
CRITICAL⚡…oviders/amazon/tests/unit/amazon/aws/hooks/test_dms.py452 mock_conn.return_value.get_waiter.return_value.wait.assert_called_with(**expected_waiter_call_params)CODE
CRITICAL…oviders/amazon/tests/unit/amazon/aws/hooks/test_eks.py102 from moto.core.exceptions import AWSErrorCODE
CRITICAL…rs/amazon/tests/unit/amazon/aws/hooks/test_base_aws.py446 user_agent_dict = dict(tag.split("/") for tag in executor.ecs.meta.config.user_agent.split(" "))CODE
CRITICAL⚡…unit/amazon/aws/hooks/test_sagemaker_unified_studio.py113 self.hook._sagemaker_studio.execution_client.start_execution.assert_called_once()CODE
CRITICAL⚡…unit/amazon/aws/hooks/test_sagemaker_unified_studio.py124 self.hook._sagemaker_studio.execution_client.get_execution.assert_called()CODE
CRITICALproviders/amazon/tests/unit/amazon/aws/hooks/test_s3.py356 hook.get_conn.return_value.get_paginator.return_value.paginate.assert_called_with(CODE
CRITICALproviders/amazon/tests/unit/amazon/aws/hooks/test_s3.py411 hook.get_conn.return_value.get_paginator.return_value.paginate.assert_called_with(CODE
CRITICALproviders/amazon/tests/unit/amazon/aws/hooks/test_s3.py454 hook.get_conn.return_value.get_paginator.return_value.paginate.assert_called_with(CODE
CRITICALproviders/amazon/tests/unit/amazon/aws/hooks/test_s3.py511 hook.resource.Object.return_value.load.assert_called_with(CODE
CRITICAL…/tests/unit/amazon/aws/auth_manager/avp/test_facade.py30from airflow.utils.helpers import prune_dictCODE
CRITICALproviders/amazon/tests/system/amazon/aws/utils/k8s.py19from airflow.utils.helpers import exactly_oneCODE
CRITICAL…/providers/amazon/aws/sensors/opensearch_serverless.py29from airflow.utils.helpers import exactly_oneCODE
CRITICAL…c/airflow/providers/amazon/aws/operators/s3_vectors.py27from airflow.utils.helpers import prune_dictCODE
CRITICAL…azon/src/airflow/providers/amazon/aws/operators/rds.py38from airflow.utils.helpers import prune_dictCODE
CRITICAL…azon/src/airflow/providers/amazon/aws/operators/emr.py69from airflow.utils.helpers import exactly_one, prune_dictCODE
CRITICAL…low/providers/amazon/aws/operators/redshift_cluster.py40from airflow.utils.helpers import prune_dictCODE
CRITICAL…airflow/providers/amazon/aws/operators/glue_catalog.py28from airflow.utils.helpers import prune_dictCODE
CRITICAL…/airflow/providers/amazon/aws/operators/eventbridge.py26from airflow.utils.helpers import prune_dictCODE
CRITICAL…flow/providers/amazon/aws/operators/mwaa_serverless.py28from airflow.utils.helpers import prune_dictCODE
CRITICAL…rc/airflow/providers/amazon/aws/operators/sagemaker.py50from airflow.utils.helpers import prune_dictCODE
CRITICAL…roviders/amazon/aws/operators/opensearch_serverless.py29from airflow.utils.helpers import prune_dictCODE
CRITICAL…rc/airflow/providers/amazon/aws/operators/s3_tables.py31from airflow.utils.helpers import prune_dictCODE
CRITICAL…azon/src/airflow/providers/amazon/aws/operators/ecr.py25from airflow.utils.helpers import prune_dictCODE
CRITICAL…mazon/src/airflow/providers/amazon/aws/operators/s3.py35from airflow.utils.helpers import exactly_oneCODE
CRITICAL…/src/airflow/providers/amazon/aws/operators/bedrock.py47from airflow.utils.helpers import prune_dictCODE
CRITICAL…azon/src/airflow/providers/amazon/aws/operators/ecs.py43from airflow.utils.helpers import prune_dictCODE
CRITICAL…mazon/src/airflow/providers/amazon/aws/triggers/eks.py32from airflow.utils.helpers import prune_dictCODE
CRITICAL…providers/amazon/aws/triggers/opensearch_serverless.py23from airflow.utils.helpers import exactly_oneCODE
CRITICAL…azon/src/airflow/providers/amazon/aws/triggers/base.py27from airflow.utils.helpers import prune_dictCODE
CRITICAL…zon/src/airflow/providers/amazon/aws/utils/__init__.py31from airflow.utils.helpers import prune_dictCODE
CRITICAL…rflow/providers/amazon/aws/transfers/dynamodb_to_s3.py36from airflow.utils.helpers import prune_dictCODE
CRITICAL…viders/amazon/aws/executors/ecs/ecs_executor_config.py46from airflow.utils.helpers import prune_dictCODE
CRITICAL…low/providers/amazon/aws/executors/ecs/ecs_executor.py58from airflow.utils.helpers import merge_dicts, prune_dictCODE
CRITICAL…providers/amazon/aws/executors/batch/batch_executor.py43from airflow.utils.helpers import merge_dicts, prune_dictCODE
CRITICAL…rs/amazon/aws/executors/batch/batch_executor_config.py42from airflow.utils.helpers import prune_dictCODE
CRITICAL…ers/amazon/aws/executors/aws_lambda/lambda_executor.py52from airflow.utils.helpers import prune_dictCODE
CRITICAL…s/amazon/src/airflow/providers/amazon/aws/links/emr.py26from airflow.utils.helpers import exactly_oneCODE
CRITICAL…s/amazon/src/airflow/providers/amazon/aws/hooks/sqs.py23from airflow.utils.helpers import prune_dictCODE
CRITICAL…/src/airflow/providers/amazon/aws/hooks/eventbridge.py22from airflow.utils.helpers import prune_dictCODE
CRITICAL…/amazon/src/airflow/providers/amazon/aws/hooks/logs.py27from airflow.utils.helpers import prune_dictCODE
CRITICAL…zon/src/airflow/providers/amazon/aws/hooks/base_aws.py60from airflow.utils.helpers import exactly_oneCODE
CRITICAL…rs/amazon/src/airflow/providers/amazon/aws/hooks/s3.py66from airflow.utils.helpers import chunksCODE
CRITICAL…s/amazon/src/airflow/providers/amazon/aws/hooks/sns.py25from airflow.utils.helpers import prune_dictCODE
CRITICAL…irflow/providers/amazon/aws/auth_manager/avp/facade.py34from airflow.utils.helpers import prune_dictCODE
CRITICAL…/src/airflow/providers/amazon/aws/notifications/ses.py26from airflow.utils.helpers import prune_dictCODE
CRITICAL…s/hashicorp/tests/unit/hashicorp/secrets/test_vault.py176 mock_client.secrets.kv.v2.read_secret_version.assert_has_calls(CODE
CRITICAL…s/hashicorp/tests/unit/hashicorp/secrets/test_vault.py207 mock_client.secrets.kv.v2.read_secret_version.assert_has_calls(CODE
CRITICAL…s/hashicorp/tests/unit/hashicorp/secrets/test_vault.py288 mock_client.secrets.kv.v2.read_secret_version.assert_not_called()CODE
CRITICAL…s/hashicorp/tests/unit/hashicorp/secrets/test_vault.py368 mock_client.secrets.kv.v2.read_secret_version.assert_has_calls(CODE
232 more matches not shown…
Cross-File Repetition610 hits · 3050 pts
SeverityFileLineSnippetContext
HIGHairflow-ctl/src/airflowctl/utils/helpers.py0use a predicate to partition entries into false entries and true entriesSTRING
HIGHairflow-core/src/airflow/utils/helpers.py0use a predicate to partition entries into false entries and true entriesSTRING
HIGHdevel-common/src/docs/build_docs.py0use a predicate to partition entries into false entries and true entriesSTRING
HIGHairflow-ctl/src/airflowctl/api/datamodels/generated.py0all possible states that a dagrun can be in. these are "shared" with taskinstancestate in some parts of the code, so pleSTRING
HIGHtask-sdk/src/airflow/sdk/api/datamodels/_generated.py0all possible states that a dagrun can be in. these are "shared" with taskinstancestate in some parts of the code, so pleSTRING
HIGHairflow-core/src/airflow/utils/state.py0all possible states that a dagrun can be in. these are "shared" with taskinstancestate in some parts of the code, so pleSTRING
HIGHairflow-ctl/src/airflowctl/api/datamodels/generated.py0all possible states that a task instance can be in. note that none is also allowed, so always use this in a type hint wiSTRING
HIGHtask-sdk/src/airflow/sdk/api/datamodels/_generated.py0all possible states that a task instance can be in. note that none is also allowed, so always use this in a type hint wiSTRING
HIGHairflow-core/src/airflow/utils/state.py0all possible states that a task instance can be in. note that none is also allowed, so always use this in a type hint wiSTRING
HIGHairflow-ctl/src/airflowctl/api/datamodels/generated.py0request body for setting an asset state store value.STRING
HIGHtask-sdk/src/airflow/sdk/api/datamodels/_generated.py0request body for setting an asset state store value.STRING
HIGH…_fastapi/execution_api/datamodels/asset_state_store.py0request body for setting an asset state store value.STRING
HIGH…w/api_fastapi/core_api/datamodels/asset_state_store.py0request body for setting an asset state store value.STRING
HIGHairflow-ctl/src/airflowctl/api/datamodels/generated.py0task instance collection response supporting both offset and cursor pagination. a single flat model is used instead of aSTRING
HIGH…src/airflow/api_fastapi/core_api/datamodels/dag_run.py0task instance collection response supporting both offset and cursor pagination. a single flat model is used instead of aSTRING
HIGH…flow/api_fastapi/core_api/datamodels/task_instances.py0task instance collection response supporting both offset and cursor pagination. a single flat model is used instead of aSTRING
HIGHairflow-ctl/src/airflowctl/ctl/utils/yaml.py0use libyaml for yaml dump/load operations where possible. if libyaml is available we will use it -- it is significantly STRING
HIGHairflow-core/src/airflow/utils/yaml.py0use libyaml for yaml dump/load operations where possible. if libyaml is available we will use it -- it is significantly STRING
HIGHtask-sdk/src/airflow/sdk/yaml.py0use libyaml for yaml dump/load operations where possible. if libyaml is available we will use it -- it is significantly STRING
HIGHairflow-ctl/src/airflowctl/ctl/utils/yaml.py0like yaml.safe_load, but use the c libyaml for speed where we can.STRING
HIGHtask-sdk/src/airflow/sdk/yaml.py0like yaml.safe_load, but use the c libyaml for speed where we can.STRING
HIGHairflow-core/src/airflow/utils/yaml.py0like yaml.safe_load, but use the c libyaml for speed where we can.STRING
HIGHairflow-ctl/src/airflowctl/ctl/utils/yaml.py0like yaml.safe_dump, but use the c libyaml for speed where we can.STRING
HIGHtask-sdk/src/airflow/sdk/yaml.py0like yaml.safe_dump, but use the c libyaml for speed where we can.STRING
HIGHairflow-core/src/airflow/utils/yaml.py0like yaml.safe_dump, but use the c libyaml for speed where we can.STRING
HIGHtask-sdk/tests/task_sdk/bases/test_operator.py0class for testing purpose: allows to create objects with custom attributes in one single statement.STRING
HIGH…elery/tests/integration/celery/test_celery_executor.py0class for testing purpose: allows to create objects with custom attributes in one single statement.STRING
HIGH…ore/tests/unit/serialization/test_dag_serialization.py0class for testing purpose: allows to create objects with custom attributes in one single statement.STRING
HIGHairflow-core/tests/unit/models/test_renderedtifields.py0class for testing purpose: allows to create objects with custom attributes in one single statement.STRING
HIGHtask-sdk/tests/task_sdk/definitions/test_callback.py0used in a number of tests to confirm that deadlines and deadlinealerts function correctly.STRING
HIGH…re/tests/unit/serialization/test_serialized_objects.py0used in a number of tests to confirm that deadlines and deadlinealerts function correctly.STRING
HIGHairflow-core/tests/unit/models/test_dag.py0used in a number of tests to confirm that deadlines and deadlinealerts function correctly.STRING
HIGHairflow-core/tests/unit/models/test_deadline.py0used in a number of tests to confirm that deadlines and deadlinealerts function correctly.STRING
HIGHairflow-core/tests/unit/models/test_serialized_dag.py0used in a number of tests to confirm that deadlines and deadlinealerts function correctly.STRING
HIGHairflow-core/tests/unit/models/test_dagrun.py0used in a number of tests to confirm that deadlines and deadlinealerts function correctly.STRING
HIGHtask-sdk/src/airflow/sdk/bases/notifier.py0template all attributes listed in *self.template_fields*. this mutates the attributes in-place and is irreversible. :parSTRING
HIGHtask-sdk/src/airflow/sdk/bases/operator.py0template all attributes listed in *self.template_fields*. this mutates the attributes in-place and is irreversible. :parSTRING
HIGHairflow-core/src/airflow/triggers/base.py0template all attributes listed in *self.template_fields*. this mutates the attributes in-place and is irreversible. :parSTRING
HIGHtask-sdk/src/airflow/sdk/bases/hook.py0return dbapihook for this connection id. :param conn_id: connection id :param hook_params: hook parameters :return: dbapSTRING
HIGH…/sql/src/airflow/providers/common/sql/operators/sql.py0return dbapihook for this connection id. :param conn_id: connection id :param hook_params: hook parameters :return: dbapSTRING
HIGH…low/providers/common/sql/operators/generic_transfer.py0return dbapihook for this connection id. :param conn_id: connection id :param hook_params: hook parameters :return: dbapSTRING
HIGHtask-sdk/src/airflow/sdk/execution_time/task_runner.py0get the previous dag run before the given logical date, optionally filtered by state.STRING
HIGHtask-sdk/src/airflow/sdk/api/client.py0get the previous dag run before the given logical date, optionally filtered by state.STRING
HIGH…c/airflow/api_fastapi/execution_api/routes/dag_runs.py0get the previous dag run before the given logical date, optionally filtered by state.STRING
HIGHtask-sdk/src/airflow/sdk/definitions/deadline.py0a deadline that calculates the average runtime from past dag runs.STRING
HIGH…core/src/airflow/serialization/definitions/deadline.py0a deadline that calculates the average runtime from past dag runs.STRING
HIGHairflow-core/src/airflow/models/deadline.py0a deadline that calculates the average runtime from past dag runs.STRING
HIGH…/airflow/sdk/definitions/_internal/abstractoperator.py0return mapped task groups this task belongs to. groups are returned from the innermost to the outmost. :meta private:STRING
HIGH…rc/airflow/serialization/definitions/mappedoperator.py0return mapped task groups this task belongs to. groups are returned from the innermost to the outmost. :meta private:STRING
HIGH…/src/airflow/serialization/definitions/baseoperator.py0return mapped task groups this task belongs to. groups are returned from the innermost to the outmost. :meta private:STRING
HIGH…/airflow/sdk/definitions/_internal/abstractoperator.py0get the mapped task group "closest" to this task in the dag. :meta private:STRING
HIGH…rc/airflow/serialization/definitions/mappedoperator.py0get the mapped task group "closest" to this task in the dag. :meta private:STRING
HIGH…/src/airflow/serialization/definitions/baseoperator.py0get the mapped task group "closest" to this task in the dag. :meta private:STRING
HIGH…/airflow/sdk/definitions/_internal/abstractoperator.py0return true if the task is mappedoperator or is in a mapped task group. :meta private:STRING
HIGH…rc/airflow/serialization/definitions/mappedoperator.py0return true if the task is mappedoperator or is in a mapped task group. :meta private:STRING
HIGH…/src/airflow/serialization/definitions/baseoperator.py0return true if the task is mappedoperator or is in a mapped task group. :meta private:STRING
HIGHtask-sdk/src/airflow/sdk/serde/__init__.py0return true if the class is a pydantic.main.basemodel. checking is done by attributes as it is significantly faster thanSTRING
HIGHtask-sdk/src/airflow/sdk/serde/typing.py0return true if the class is a pydantic.main.basemodel. checking is done by attributes as it is significantly faster thanSTRING
HIGHairflow-core/src/airflow/serialization/typing.py0return true if the class is a pydantic.main.basemodel. checking is done by attributes as it is significantly faster thanSTRING
HIGHproviders/ftp/src/airflow/providers/ftp/assets/ftp.py0translate asset with valid aip-60 uri to openlineage with assistance from the hook.STRING
550 more matches not shown…
Decorative Section Separators668 hits · 2239 pts
SeverityFileLineSnippetContext
MEDIUM⚡…sk-sdk/tests/task_sdk/definitions/test_retry_policy.py65# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…sk-sdk/tests/task_sdk/definitions/test_retry_policy.py67# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…sk-sdk/tests/task_sdk/definitions/test_retry_policy.py171# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…sk-sdk/tests/task_sdk/definitions/test_retry_policy.py173# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…sk-sdk/tests/task_sdk/definitions/test_retry_policy.py473# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…sk-sdk/tests/task_sdk/definitions/test_retry_policy.py475# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…sk-sdk/tests/task_sdk/definitions/test_retry_policy.py492# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…sk-sdk/tests/task_sdk/definitions/test_retry_policy.py494# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…sk-sdk/tests/task_sdk/definitions/test_retry_policy.py560# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…sk-sdk/tests/task_sdk/definitions/test_retry_policy.py562# ---------------------------------------------------------------------------COMMENT
MEDIUM…sk-sdk/tests/task_sdk/definitions/test_retry_policy.py42# ---------------------------------------------------------------------------COMMENT
MEDIUM…sk-sdk/tests/task_sdk/definitions/test_retry_policy.py44# ---------------------------------------------------------------------------COMMENT
MEDIUM…sk-sdk/tests/task_sdk/definitions/test_retry_policy.py227# ---------------------------------------------------------------------------COMMENT
MEDIUM…sk-sdk/tests/task_sdk/definitions/test_retry_policy.py229# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ests/unit/amazon/aws/auth_manager/routes/test_login.py250 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…ests/unit/amazon/aws/auth_manager/routes/test_login.py252 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…ests/unit/amazon/aws/auth_manager/routes/test_login.py393 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…ests/unit/amazon/aws/auth_manager/routes/test_login.py395 # ------------------------------------------------------------------COMMENT
MEDIUM…low/providers/amazon/aws/executors/ecs/ecs_executor.py693 # ── Back-compat shims for renamed methods/attrs ────────────────────────COMMENT
MEDIUM…ders/google/tests/unit/google/cloud/links/test_base.py24# ---------------------------------------------------------------------------COMMENT
MEDIUM…ders/google/tests/unit/google/cloud/links/test_base.py26# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…es/tests/unit/cncf/kubernetes/hooks/test_kubernetes.py2125 # -------------------------------------------------------------------------COMMENT
MEDIUM⚡…es/tests/unit/cncf/kubernetes/hooks/test_kubernetes.py2127 # -------------------------------------------------------------------------COMMENT
MEDIUM⚡…ft/winrm/tests/system/microsoft/winrm/example_winrm.py24# --------------------------------------------------------------------------------COMMENT
MEDIUM⚡…ft/winrm/tests/system/microsoft/winrm/example_winrm.py26# --------------------------------------------------------------------------------COMMENT
MEDIUM⚡…ft/winrm/tests/system/microsoft/winrm/example_winrm.py34# --------------------------------------------------------------------------------COMMENT
MEDIUM⚡…ft/winrm/tests/system/microsoft/winrm/example_winrm.py37# --------------------------------------------------------------------------------COMMENT
MEDIUM⚡…azure/tests/unit/microsoft/azure/hooks/test_compute.py206 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…azure/tests/unit/microsoft/azure/hooks/test_compute.py208 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…src/airflow/providers/microsoft/azure/hooks/compute.py172 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…src/airflow/providers/microsoft/azure/hooks/compute.py174 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…viders/ibm/db2/tests/unit/ibm/db2/dialects/test_db2.py50 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…viders/ibm/db2/tests/unit/ibm/db2/dialects/test_db2.py52 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…viders/ibm/db2/tests/unit/ibm/db2/dialects/test_db2.py118 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…viders/ibm/db2/tests/unit/ibm/db2/dialects/test_db2.py120 # ------------------------------------------------------------------COMMENT
MEDIUM…compat/tests/unit/common/compat/sqlalchemy/test_orm.py45# ----------------------------------------------------------------------COMMENT
MEDIUM…compat/tests/unit/common/compat/sqlalchemy/test_orm.py47# ----------------------------------------------------------------------COMMENT
MEDIUM⚡…compat/tests/unit/common/compat/sqlalchemy/test_orm.py72# ----------------------------------------------------------------------COMMENT
MEDIUM⚡…compat/tests/unit/common/compat/sqlalchemy/test_orm.py74# ----------------------------------------------------------------------COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py160 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py162 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py164 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py166 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py182 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py184 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py188 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py190 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py192 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py194 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py205 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py207 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py217 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py219 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py223 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py225 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py227 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py229 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py231 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py233 # ============================================================================COMMENT
MEDIUM⚡…mmon/compat/src/airflow/providers/common/compat/sdk.py237 # ============================================================================COMMENT
608 more matches not shown…
Excessive Try-Catch Wrapping1288 hits · 1339 pts
SeverityFileLineSnippetContext
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py901 except Exception:CODE
LOW…/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py164 except Exception as error:CODE
LOW…ject_storage_tests/test_xcom_object_storage_backend.py65 except Exception as e:CODE
LOWkubernetes-tests/tests/kubernetes_tests/test_base.py163 except Exception:CODE
LOWkubernetes-tests/tests/kubernetes_tests/test_base.py198 except Exception as e:CODE
LOWairflow-ctl/src/airflowctl/ctl/commands/auth_command.py85 except Exception as e:CODE
LOWairflow-ctl/src/airflowctl/ctl/commands/auth_command.py119 except Exception as e:CODE
LOWairflow-ctl/src/airflowctl/ctl/commands/auth_command.py183 except Exception as e:CODE
LOW…-ctl/src/airflowctl/ctl/commands/connection_command.py46 except Exception as e:CODE
LOW…-ctl/src/airflowctl/ctl/commands/connection_command.py73 except Exception as e:CODE
LOWairflow-ctl/src/airflowctl/ctl/commands/pool_command.py82 except Exception as e:CODE
LOW…flow-ctl/src/airflowctl/ctl/commands/config_command.py840 except Exception as e:CODE
LOWairflow-ctl-tests/tests/airflowctl_tests/conftest.py306 except Exception as e:CODE
LOWairflow-ctl-tests/tests/airflowctl_tests/conftest.py313 except Exception as e:CODE
LOWairflow-ctl-tests/tests/airflowctl_tests/conftest.py343 except Exception as e:CODE
LOWairflow-ctl-tests/tests/airflowctl_tests/conftest.py398 except Exception:CODE
LOW…_sdk/execution_time/test_connection_test_supervisor.py244 except Exception as e:CODE
MEDIUM…_sdk/execution_time/test_connection_test_supervisor.py241def capture():CODE
LOW…k-sdk/tests/task_sdk/execution_time/test_supervisor.py2055 except Exception as e:CODE
LOWtask-sdk/tests/task_sdk/execution_time/test_comms.py167 except Exception as e:CODE
MEDIUMtask-sdk/tests/task_sdk/execution_time/test_comms.py163def send_and_store(idx):CODE
LOWtask-sdk/src/airflow/sdk/configuration.py159 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/log.py248 except Exception:CODE
LOWtask-sdk/src/airflow/sdk/providers_manager_runtime.py106 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/providers_manager_runtime.py667 except Exception:CODE
LOWtask-sdk/src/airflow/sdk/plugins_manager.py98 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/lineage.py203 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/timezone.py38except Exception:CODE
LOWtask-sdk/src/airflow/sdk/coordinators/_subprocess.py446 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/coordinators/_subprocess.py636 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/coordinators/_subprocess.py647 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/coordinators/_subprocess.py686 except Exception as e:CODE
LOW…sdk/src/airflow/sdk/coordinators/java/_dag_importer.py66 except Exception:CODE
LOW…sdk/src/airflow/sdk/coordinators/java/_dag_importer.py72 except Exception:CODE
LOWtask-sdk/src/airflow/sdk/importers/python_importer.py163 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/importers/python_importer.py189 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/importers/zip_importer.py184 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/importers/zip_importer.py202 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/importers/base.py465 except Exception:CODE
LOWtask-sdk/src/airflow/sdk/importers/base.py474 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/importers/base.py608 except Exception as err:CODE
MEDIUMtask-sdk/src/airflow/sdk/importers/base.py114def freshness_token(self) -> str:CODE
LOWtask-sdk/src/airflow/sdk/io/path.py162 except Exception:CODE
LOWtask-sdk/src/airflow/sdk/bases/sensor.py220 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/bases/notifier.py139 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/bases/notifier.py153 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/execution_time/coordinator.py359 except Exception:CODE
LOWtask-sdk/src/airflow/sdk/execution_time/comms.py406 except Exception:CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py412 except Exception:CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py503 except Exception:CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py578 except Exception:CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py590 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py673 except Exception:CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py1132 except Exception:CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py1166 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py1292 except Exception:CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py1497 except Exception:CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py1707 except Exception as e:CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py1864 except Exception:CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py1883 except Exception:CODE
1228 more matches not shown…
Cross-Language Confusion162 hits · 931 pts
SeverityFileLineSnippetContext
HIGH⚡airflow-e2e-tests/tests/airflow_e2e_tests/conftest.py724 "pnpm install --frozen-lockfile && pnpm run build && cd example && pnpm install"CODE
HIGH⚡airflow-e2e-tests/tests/airflow_e2e_tests/conftest.py725 " && pnpm run build && pnpm run build:ai-approval"CODE
HIGH…tests/kubernetes_tests/test_kubernetes_pod_operator.py546 'echo "retrieved from mount" > /tmp/test_volume/test.txt && cat /tmp/test_volume/test.txt'CODE
HIGH⚡task-sdk/tests/task_sdk/api/test_client.py826 # Return None (null) when no previous TI foundCOMMENT
HIGH⚡task-sdk/tests/task_sdk/api/test_client.py1810 # Return None (null) when no previous Dag run foundCOMMENT
HIGHtask-sdk/tests/task_sdk/serde/test_serializers.py294 assert i.equals(d)CODE
HIGHtask-sdk/tests/task_sdk/serde/test_serializers.py313 assert i.equals(d)CODE
HIGHtask-sdk/src/airflow/sdk/bases/operator.py1555 DagContext.push(None)CODE
HIGHtask-sdk/src/airflow/sdk/definitions/dag.py757 DagContext.push(self)CODE
HIGHtask-sdk/src/airflow/sdk/definitions/taskgroup.py401 TaskGroupContext.push(self)CODE
HIGH…azon/tests/unit/amazon/aws/transfers/test_sql_to_s3.py142 assert read_df.equals(test_df)CODE
HIGH⚡…azon/tests/unit/amazon/aws/transfers/test_sql_to_s3.py246 assert df.equals(CODE
HIGH⚡…azon/tests/unit/amazon/aws/transfers/test_sql_to_s3.py256 assert df.equals(CODE
HIGH…azon/tests/unit/amazon/aws/transfers/test_sql_to_s3.py298 assert df.equals(CODE
HIGH…azon/tests/unit/amazon/aws/transfers/test_sql_to_s3.py340 assert df.equals(CODE
HIGH…azon/tests/unit/amazon/aws/transfers/test_sql_to_s3.py350 assert df.equals(CODE
HIGH…ts/unit/amazon/aws/log/test_cloudwatch_task_handler.py602 '{"datetime": "2023-01-01T00:00:00+00:00", "customObject": null}',STRING
HIGH…ts/unit/amazon/aws/log/test_cloudwatch_task_handler.py612 '{"datetime": "2023-01-01T00:00:00+00:00", "customObject": null}',STRING
HIGH⚡providers/amazon/tests/system/amazon/aws/example_ssm.py59 if command -v yum &> /dev/null; thenCODE
HIGH⚡providers/amazon/tests/system/amazon/aws/example_ssm.py61 elif command -v dnf &> /dev/null; thenCODE
HIGH⚡providers/amazon/tests/system/amazon/aws/example_ssm.py69 if ! command -v amazon-ssm-agent &> /dev/null; thenCODE
HIGH⚡…irflow/providers/amazon/aws/secrets/systems_manager.py44 backend_kwargs = {"connections_prefix": "/airflow/connections", "profile_name": null}STRING
HIGH⚡…irflow/providers/amazon/aws/secrets/systems_manager.py52 If set to None (null), requests for connections will not be sent to AWS SSM Parameter Store.STRING
HIGH⚡…irflow/providers/amazon/aws/secrets/systems_manager.py58 If set to None (null), requests for variables will not be sent to AWS SSM Parameter Store.STRING
HIGH⚡…irflow/providers/amazon/aws/secrets/systems_manager.py64 If set to None (null), requests for configurations will not be sent to AWS SSM Parameter Store.STRING
HIGH…mazon/src/airflow/providers/amazon/aws/hooks/duckdb.py97 whether the key is present, so ``{"aws_conn_id": null}`` selects the ambient AWS environment.STRING
HIGH…mazon/src/airflow/providers/amazon/aws/hooks/duckdb.py148 valid choice here and not the absence of one: ``{"aws_conn_id": null}`` in the ``extra``STRING
HIGH…mazon/src/airflow/providers/amazon/aws/hooks/athena.py266 self.log.error("Invalid Query state (null). Query execution id: %s", query_execution_id)CODE
HIGH⚡…s/teradata/tests/unit/teradata/utils/test_bteq_util.py94 ssh_client.exec_command.assert_called_once_with("uname || ver")CODE
HIGH…s/teradata/tests/unit/teradata/utils/test_bteq_util.py52 ssh_client.exec_command.assert_called_once_with("uname || ver")CODE
HIGH…s/teradata/tests/unit/teradata/utils/test_bteq_util.py66 ssh_client.exec_command.assert_called_once_with("uname || ver")CODE
HIGH…s/teradata/tests/unit/teradata/utils/test_bteq_util.py80 ssh_client.exec_command.assert_called_once_with("uname || ver")CODE
HIGH⚡…data/src/airflow/providers/teradata/utils/bteq_util.py32 stdin, stdout, stderr = ssh_client.exec_command("uname || ver")CODE
HIGH⚡…adata/src/airflow/providers/teradata/utils/tpt_util.py134 f"count=$(($(stat -c '%s' {shlex.quote(file_path)})/4096+1)) 2>/dev/null; "CODE
HIGH⚡…icorp/src/airflow/providers/hashicorp/secrets/vault.py55 (default: 'connections'). If set to None (null), requests for connections will not be sent to Vault.STRING
HIGH⚡…icorp/src/airflow/providers/hashicorp/secrets/vault.py58 (default: 'variables'). If set to None (null), requests for variables will not be sent to Vault.STRING
HIGH⚡…icorp/src/airflow/providers/hashicorp/secrets/vault.py61 (default: 'config'). If set to None (null), requests for configurations will not be sent to Vault.STRING
HIGH…ts/unit/google/cloud/transfers/test_postgres_to_gcs.py47 b'{"some_json": {"firtname": "John", "lastname": "Smith", "nested_dict": {"a": null, "b": "something"}}, "some_num":CODE
HIGH…ts/unit/google/cloud/transfers/test_postgres_to_gcs.py132 "nested_dict": {"a": null, "b": "something"}}',CODE
HIGH…tests/unit/google/cloud/transfers/test_mssql_to_gcs.py298 assert schema.field("some_binary").type.equals(pyarrow.bool_())CODE
HIGH…tests/unit/google/cloud/transfers/test_mssql_to_gcs.py299 assert schema.field("some_bit").type.equals(pyarrow.bool_())CODE
HIGH…e/tests/unit/google/cloud/transfers/test_sql_to_gcs.py398 assert df.equals(OUTPUT_DF)CODE
HIGH…e/tests/unit/google/cloud/transfers/test_sql_to_gcs.py420 assert df.equals(OUTPUT_DF)CODE
HIGH…e/tests/unit/google/cloud/transfers/test_sql_to_gcs.py442 assert df.equals(OUTPUT_DF)CODE
HIGH…e/tests/unit/google/cloud/transfers/test_sql_to_gcs.py472 assert df.equals(output_df)CODE
HIGH…e/tests/unit/google/cloud/transfers/test_sql_to_gcs.py501 assert df.equals(OUTPUT_DF_WITH_EXCLUDE_COLUMNS)CODE
HIGH…e/tests/unit/google/cloud/transfers/test_sql_to_gcs.py529 assert concat_df.equals(OUTPUT_DF)CODE
HIGH⚡…system/google/cloud/cloud_build/example_cloud_build.py69 "steps": [{"name": "ubuntu", "entrypoint": "bash", "args": ["-c", "echo Hello world && sleep 200"]}],CODE
HIGH⚡…system/google/cloud/cloud_build/example_cloud_build.py76 "steps": [{"name": "ubuntu", "entrypoint": "bash", "args": ["-c", "echo Hello world && sleep 200"]}],CODE
HIGH⚡…system/google/cloud/cloud_build/example_cloud_build.py82 "steps": [{"name": "ubuntu", "entrypoint": "bash", "args": ["-c", "echo Hello world && sleep 300"]}],CODE
HIGH…oogle/tests/system/google/cloud/ray/example_ray_job.py93 entrypoint="echo hi && sleep 105 && echo hi2",CODE
HIGH…s/google/src/airflow/providers/google/ads/hooks/ads.py57 "json_key_file_path": null,STRING
HIGH⚡…rflow/providers/google/cloud/secrets/secret_manager.py68 If set to None (null), requests for connections will not be sent to GCP Secrets ManagerSTRING
HIGH⚡…rflow/providers/google/cloud/secrets/secret_manager.py70 If set to None (null), requests for variables will not be sent to GCP Secrets ManagerSTRING
HIGH⚡…rflow/providers/google/cloud/secrets/secret_manager.py73 If set to None (null), requests for configurations will not be sent to GCP Secrets ManagerSTRING
HIGH⚡…airflow/providers/microsoft/azure/secrets/key_vault.py72 If set to None (null), requests for connections will not be sent to Azure Key VaultSTRING
HIGH⚡…airflow/providers/microsoft/azure/secrets/key_vault.py74 If set to None (null), requests for variables will not be sent to Azure Key VaultSTRING
HIGH⚡…airflow/providers/microsoft/azure/secrets/key_vault.py76 If set to None (null), requests for configurations will not be sent to Azure Key VaultSTRING
HIGH…s/standard/tests/unit/standard/decorators/test_bash.py150 assert bash_task.operator.bash_command == "echo hello world && echo 2"CODE
HIGH…s/standard/tests/unit/standard/decorators/test_bash.py153 self.validate_bash_command_rtif(ti, "echo hello world && echo 2")CODE
102 more matches not shown…
Deep Nesting1033 hits · 874 pts
SeverityFileLineSnippetContext
LOWairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py815CODE
LOWkubernetes-tests/tests/kubernetes_tests/test_base.py245CODE
LOWairflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py227CODE
LOWairflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py689CODE
LOWairflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py921CODE
LOWairflow-ctl/src/airflowctl/api/client.py200CODE
LOWairflow-ctl/src/airflowctl/api/client.py249CODE
LOWairflow-ctl/src/airflowctl/api/operations.py173CODE
LOWairflow-ctl/src/airflowctl/ctl/cli_config.py1013CODE
LOWairflow-ctl/src/airflowctl/ctl/cli_config.py543CODE
LOWairflow-ctl/src/airflowctl/ctl/cli_config.py750CODE
LOWairflow-ctl/src/airflowctl/ctl/cli_config.py846CODE
LOWairflow-ctl/src/airflowctl/ctl/cli_config.py850CODE
LOWairflow-ctl/src/airflowctl/ctl/commands/auth_command.py124CODE
LOW…flow-ctl/src/airflowctl/ctl/commands/config_command.py736CODE
LOW…flow-ctl/src/airflowctl/ctl/commands/config_command.py105CODE
LOWtask-sdk/tests/conftest.py188CODE
LOW…k-sdk/tests/task_sdk/test_providers_manager_runtime.py317CODE
LOWtask-sdk/tests/task_sdk/execution_time/test_tracing.py131CODE
LOW…k-sdk/tests/task_sdk/execution_time/test_supervisor.py4958CODE
LOWtask-sdk/tests/task_sdk/definitions/test_taskgroup.py218CODE
LOWtask-sdk/tests/task_sdk/definitions/test_taskgroup.py567CODE
LOWtask-sdk/tests/task_sdk/definitions/test_taskgroup.py993CODE
LOWtask-sdk/tests/task_sdk/definitions/test_taskgroup.py1006CODE
LOWtask-sdk/tests/task_sdk/definitions/test_taskgroup.py1010CODE
LOW…-sdk/tests/task_sdk/definitions/test_mappedoperator.py462CODE
LOW…-sdk/tests/task_sdk/definitions/test_mappedoperator.py517CODE
LOW…-sdk/tests/task_sdk/definitions/test_mappedoperator.py631CODE
LOW…-sdk/tests/task_sdk/definitions/test_mappedoperator.py484CODE
LOW…-sdk/tests/task_sdk/definitions/test_mappedoperator.py536CODE
LOW…-sdk/tests/task_sdk/definitions/test_mappedoperator.py671CODE
LOWtask-sdk/src/airflow/sdk/configuration.py211CODE
LOWtask-sdk/src/airflow/sdk/providers_manager_runtime.py251CODE
LOWtask-sdk/src/airflow/sdk/providers_manager_runtime.py305CODE
LOWtask-sdk/src/airflow/sdk/coordinators/_subprocess.py81CODE
LOWtask-sdk/src/airflow/sdk/coordinators/_subprocess.py204CODE
LOWtask-sdk/src/airflow/sdk/importers/zip_importer.py85CODE
LOWtask-sdk/src/airflow/sdk/importers/zip_importer.py121CODE
LOWtask-sdk/src/airflow/sdk/importers/zip_importer.py167CODE
LOWtask-sdk/src/airflow/sdk/io/fs.py52CODE
LOWtask-sdk/src/airflow/sdk/bases/sensor.py183CODE
LOWtask-sdk/src/airflow/sdk/bases/resumablejobmixin.py103CODE
LOWtask-sdk/src/airflow/sdk/bases/decorator.py311CODE
LOWtask-sdk/src/airflow/sdk/bases/operator.py2027CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py863CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py1266CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py1306CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py1429CODE
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py1806CODE
LOWtask-sdk/src/airflow/sdk/execution_time/task_runner.py988CODE
LOWtask-sdk/src/airflow/sdk/execution_time/task_runner.py1380CODE
LOWtask-sdk/src/airflow/sdk/execution_time/task_runner.py1393CODE
LOWtask-sdk/src/airflow/sdk/execution_time/task_runner.py1529CODE
LOWtask-sdk/src/airflow/sdk/execution_time/task_runner.py1692CODE
LOWtask-sdk/src/airflow/sdk/execution_time/task_runner.py2330CODE
LOWtask-sdk/src/airflow/sdk/execution_time/task_runner.py2425CODE
LOW…/src/airflow/sdk/execution_time/callback_supervisor.py350CODE
LOWtask-sdk/src/airflow/sdk/execution_time/context.py264CODE
LOWtask-sdk/src/airflow/sdk/execution_time/context.py1640CODE
LOWtask-sdk/src/airflow/sdk/execution_time/context.py1068CODE
973 more matches not shown…
Self-Referential Comments270 hits · 811 pts
SeverityFileLineSnippetContext
MEDIUMclients/python/test_python_client.py108 # Create a DAGRun object (no dag_id should be specified because it is read-only property of DAGRun)COMMENT
MEDIUM…s/tests/airflow_e2e_tests/dags/example_event_driven.py107# Define a trigger that listens to an external message queue (Apache Kafka in this case)COMMENT
MEDIUM…s/tests/airflow_e2e_tests/dags/example_event_driven.py118# Define an asset that watches for messages on the queueCOMMENT
MEDIUMairflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py241 # Create a temporary fileCOMMENT
MEDIUM…tl/tests/airflow_ctl/ctl/commands/test_pool_command.py146 # Create a proper pool object with dictionary attributes instead of MagicMockCOMMENT
MEDIUM…tl/tests/airflow_ctl/ctl/commands/test_pool_command.py159 # Create a mock response with proper dictionary attributesCOMMENT
MEDIUM⚡…tl/tests/airflow_ctl/ctl/commands/test_auth_command.py341 # Create a config fileCOMMENT
MEDIUM⚡…tl/tests/airflow_ctl/ctl/commands/test_auth_command.py358 # Create a config fileCOMMENT
MEDIUM⚡…tl/tests/airflow_ctl/ctl/commands/test_auth_command.py375 # Create a config fileCOMMENT
MEDIUM⚡…tl/tests/airflow_ctl/ctl/commands/test_auth_command.py394 # Create a config fileCOMMENT
MEDIUM⚡…tl/tests/airflow_ctl/ctl/commands/test_auth_command.py411 # Create a config fileCOMMENT
MEDIUM⚡…tl/tests/airflow_ctl/ctl/commands/test_auth_command.py428 # Create a corrupted config fileCOMMENT
MEDIUM⚡…tl/tests/airflow_ctl/ctl/commands/test_auth_command.py442 # Create a config fileCOMMENT
MEDIUM…tl/tests/airflow_ctl/ctl/commands/test_auth_command.py293 # Create a config fileCOMMENT
MEDIUMtask-sdk/tests/task_sdk/test_lineage.py722 # Create a large valueCOMMENT
MEDIUMtask-sdk/tests/task_sdk/test_lineage.py778 # Create a non-serializable objectCOMMENT
MEDIUM…k-sdk/tests/task_sdk/execution_time/test_supervisor.py1042 # Create a mock client to assert calls to the clientCOMMENT
MEDIUM…k-sdk/tests/task_sdk/execution_time/test_supervisor.py1794 # Create a fake placeholder in the open socket weakrefCOMMENT
MEDIUM…k-sdk/tests/task_sdk/execution_time/test_supervisor.py4898 # Create a simple TaskInstance datamodel to pass to the supervisorCOMMENT
MEDIUMtask-sdk/tests/task_sdk/definitions/test_dag.py347 # Create a linear chain: t1 -> t2 -> t3 -> t4 -> t5COMMENT
MEDIUMtask-sdk/tests/task_sdk/definitions/test_dag.py382 # Create a diamond pattern:COMMENT
MEDIUM…-sdk/tests/task_sdk/definitions/test_mappedoperator.py831 # Create a mapped task within the task groupCOMMENT
MEDIUMtask-sdk/dev/datamodel_code_formatter.py109 # Create a replacement for 'Tasks' -> 'tuple[str, int]'COMMENT
MEDIUMtask-sdk/src/airflow/sdk/execution_time/supervisor.py2596 # Create a socketpair preemptively, in case the task process runs VirtualEnv operator or run_as_userCOMMENT
MEDIUMtask-sdk/src/airflow/sdk/execution_time/supervisor.py2654 # Create a minimal supervisor instance for trigger executionCOMMENT
MEDIUM…sdk/src/airflow/sdk/execution_time/execute_workload.py66 # Create a mutually exclusive group to ensure that only one of the flags is setCOMMENT
MEDIUMtask-sdk/src/airflow/sdk/api/client.py330 # Create a deferred state payload from msgCOMMENT
MEDIUMtask-sdk/src/airflow/sdk/api/client.py342 # Create a reschedule state payload from msgCOMMENT
MEDIUMproviders-summary-docs/conf.py26# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUM…ders/presto/tests/unit/presto/hooks/test_presto_sql.py149 # Create a real Airflow connectionCOMMENT
MEDIUM…it/amazon/aws/sensors/test_sagemaker_unified_studio.py91 # Create the sensorCOMMENT
MEDIUM…ers/amazon/tests/unit/amazon/aws/operators/test_eks.py1160 # Create a temporary credentials fileCOMMENT
MEDIUM…ers/amazon/tests/unit/amazon/aws/operators/test_eks.py1219 # Create a temporary credentials fileCOMMENT
MEDIUM…/amazon/aws/operators/test_sagemaker_unified_studio.py141 # Create the operatorCOMMENT
MEDIUM…/amazon/aws/operators/test_sagemaker_unified_studio.py189 # Create the operator with wait_for_completion set to TrueCOMMENT
MEDIUM…/amazon/aws/operators/test_sagemaker_unified_studio.py239 # Create the operator with wait_for_completion set to FalseCOMMENT
MEDIUM…zon/tests/unit/amazon/aws/transfers/test_sftp_to_s3.py186 # Create a test file remotelyCOMMENT
MEDIUM…sts/unit/amazon/aws/executors/ecs/test_ecs_executor.py193 # Create a new Collection and verify it is empty.COMMENT
MEDIUM…sts/unit/amazon/aws/executors/ecs/test_ecs_executor.py285 # Create a new Collection and add a two tasks.COMMENT
MEDIUM…mazon/aws/executors/aws_lambda/test_lambda_executor.py1255 # Create a team-specific executor.COMMENT
MEDIUM…ts/unit/amazon/aws/log/test_cloudwatch_task_handler.py209 # Create the local log file structureCOMMENT
MEDIUM…ts/unit/amazon/aws/log/test_cloudwatch_task_handler.py256 # Create a logger factory and pass in the file path we want it to useCOMMENT
MEDIUM…viders/amazon/tests/unit/amazon/aws/bundles/test_s3.py195 # Create a pytest Call object to compare against the call_args_list of the _log.debug mockCOMMENT
MEDIUM…ders/amazon/tests/system/amazon/aws/example_bedrock.py65# Creating a custom model takes nearly two hours. If SKIP_LONG_TASKSCOMMENT
MEDIUM…tests/system/amazon/aws/example_eks_with_nodegroups.py93 # Create an Amazon EKS Cluster control plane without attaching compute service.COMMENT
MEDIUM…ers/amazon/tests/system/amazon/aws/example_datasync.py184 # Create a task (the task does not exist)COMMENT
MEDIUM…/system/amazon/aws/example_eks_with_fargate_profile.py76 # Create an Amazon EKS Cluster control plane without attaching a compute service.COMMENT
MEDIUM…m/amazon/aws/example_eks_with_nodegroup_in_one_step.py91 # Create an Amazon EKS cluster control plane and an EKS nodegroup compute platform in one step.COMMENT
MEDIUMproviders/amazon/tests/system/amazon/aws/example_ec2.py62 # Creating the key takes a very short but measurable time, preventing race condition:COMMENT
MEDIUM…azon/tests/system/amazon/aws/example_dms_serverless.py154 # Create the Table.COMMENT
MEDIUM…azon/tests/system/amazon/aws/example_step_functions.py57 # Create a Step Functions State Machine and return the ARN for use byCOMMENT
MEDIUM…iders/amazon/tests/system/amazon/aws/example_lambda.py63# Create a zip file containing one file "lambda_function.py" to deploy to the lambda functionSTRING
MEDIUM…tem/amazon/aws/example_eks_with_fargate_in_one_step.py73 # Create an Amazon EKS cluster control plane and an AWS Fargate compute platform in one step.COMMENT
MEDIUM…mazon/tests/system/amazon/aws/example_eks_templated.py66 # Create an Amazon EKS Cluster control plane without attaching a compute service.COMMENT
MEDIUMproviders/amazon/tests/system/amazon/aws/example_dms.py221 # Create the Table.COMMENT
MEDIUMproviders/amazon/tests/system/amazon/aws/utils/ec2.py164 # Create the requested number of subnets.COMMENT
MEDIUM…ow/providers/amazon/aws/operators/neptune_analytics.py921 # Create the console linkCOMMENT
MEDIUM…src/airflow/providers/amazon/aws/operators/datasync.py368 # Create a task execution:COMMENT
MEDIUM…src/airflow/providers/amazon/aws/operators/datasync.py373 # Create the execution extra linkCOMMENT
MEDIUM…/providers/amazon/aws/auth_manager/cli/avp_commands.py49 # Create the policy store if neededCOMMENT
210 more matches not shown…
AI Structural Patterns739 hits · 686 pts
SeverityFileLineSnippetContext
LOW…ests/tests/airflow_e2e_tests/e2e_test_utils/clients.py272CODE
LOWairflow-ctl/src/airflowctl/api/operations.py562CODE
LOWairflow-ctl/src/airflowctl/api/operations.py633CODE
LOWairflow-ctl/src/airflowctl/ctl/cli_config.py138CODE
LOWtask-sdk/tests/conftest.py230CODE
LOWtask-sdk/tests/conftest.py250CODE
LOWtask-sdk/tests/conftest.py273CODE
LOWtask-sdk/tests/conftest.py318CODE
LOW…s/task_sdk/coordinators/executable/test_coordinator.py73CODE
LOW…task_sdk/coordinators/executable/_bundle_test_utils.py37CODE
LOW…tests/task_sdk/coordinators/node/_bundle_test_utils.py85CODE
LOW…-sdk/tests/task_sdk/execution_time/test_task_runner.py4522CODE
LOW…dk/tests/task_sdk/execution_time/test_email_backend.py30CODE
LOWtask-sdk/dev/datamodel_code_formatter.py144CODE
LOWtask-sdk/src/airflow/sdk/io/path.py62CODE
LOWtask-sdk/src/airflow/sdk/bases/sensor.py115CODE
LOWtask-sdk/src/airflow/sdk/bases/decorator.py478CODE
LOWtask-sdk/src/airflow/sdk/bases/operator.py297CODE
LOWtask-sdk/src/airflow/sdk/bases/operator.py1051CODE
LOWtask-sdk/src/airflow/sdk/api/client.py888CODE
LOWtask-sdk/src/airflow/sdk/definitions/dag.py1595CODE
LOWtask-sdk/src/airflow/sdk/definitions/connection.py130CODE
LOW…k/src/airflow/sdk/definitions/decorators/task_group.py194CODE
LOW…src/airflow/providers/papermill/operators/papermill.py75CODE
LOW…ocker/src/airflow/providers/docker/operators/docker.py228CODE
LOW…src/airflow/providers/docker/operators/docker_swarm.py133CODE
LOW…src/airflow/providers/discord/hooks/discord_webhook.py186CODE
LOW…src/airflow/providers/discord/hooks/discord_webhook.py287CODE
LOW…eau/src/airflow/providers/tableau/operators/tableau.py100CODE
LOW…ests/unit/amazon/aws/auth_manager/routes/test_login.py148CODE
LOW…amazon/src/airflow/providers/amazon/aws/sensors/sqs.py95CODE
LOW…amazon/src/airflow/providers/amazon/aws/sensors/sqs.py183CODE
LOW…azon/src/airflow/providers/amazon/aws/operators/rds.py187CODE
LOW…azon/src/airflow/providers/amazon/aws/operators/dms.py180CODE
LOW…azon/src/airflow/providers/amazon/aws/operators/dms.py914CODE
LOW…iders/amazon/aws/operators/sagemaker_unified_studio.py115CODE
LOW…azon/src/airflow/providers/amazon/aws/operators/ses.py82CODE
LOW…azon/src/airflow/providers/amazon/aws/operators/emr.py127CODE
LOW…azon/src/airflow/providers/amazon/aws/operators/emr.py310CODE
LOW…azon/src/airflow/providers/amazon/aws/operators/emr.py563CODE
LOW…azon/src/airflow/providers/amazon/aws/operators/emr.py780CODE
LOW…azon/src/airflow/providers/amazon/aws/operators/emr.py1335CODE
LOW…low/providers/amazon/aws/operators/redshift_cluster.py160CODE
LOW…azon/src/airflow/providers/amazon/aws/operators/eks.py84CODE
LOW…azon/src/airflow/providers/amazon/aws/operators/eks.py276CODE
LOW…azon/src/airflow/providers/amazon/aws/operators/eks.py536CODE
LOW…on/src/airflow/providers/amazon/aws/operators/batch.py149CODE
LOW…airflow/providers/amazon/aws/operators/athena_spark.py65CODE
LOW…ow/providers/amazon/aws/operators/neptune_analytics.py103CODE
LOW…ow/providers/amazon/aws/operators/neptune_analytics.py624CODE
LOW…ow/providers/amazon/aws/operators/neptune_analytics.py867CODE
LOW…zon/src/airflow/providers/amazon/aws/operators/mwaa.py89CODE
LOW…zon/src/airflow/providers/amazon/aws/operators/glue.py185CODE
LOW…zon/src/airflow/providers/amazon/aws/operators/glue.py684CODE
LOW…zon/src/airflow/providers/amazon/aws/operators/glue.py849CODE
LOW…rc/airflow/providers/amazon/aws/operators/sagemaker.py281CODE
LOW…rc/airflow/providers/amazon/aws/operators/sagemaker.py788CODE
LOW…rc/airflow/providers/amazon/aws/operators/sagemaker.py1224CODE
LOW…zon/aws/operators/sagemaker_unified_studio_notebook.py108CODE
LOW…src/airflow/providers/amazon/aws/operators/datasync.py147CODE
679 more matches not shown…
Empty Error Handlers128 hits · 640 pts
SeverityFileLineSnippetContext
HIGHkubernetes-tests/tests/kubernetes_tests/test_base.py337except (MaxRetryError, RetryError):CODE
HIGHairflow-ctl/src/airflowctl/ctl/cli_config.py187except ValueError:CODE
HIGHtask-sdk/tests/conftest.py224except (ImportError, AttributeError):CODE
HIGHtask-sdk/src/airflow/sdk/configuration.py176except ImportError:CODE
HIGHtask-sdk/src/airflow/sdk/coordinators/_subprocess.py96except ValueError:CODE
HIGHtask-sdk/src/airflow/sdk/bases/operator.py220except RuntimeError:CODE
HIGHtask-sdk/src/airflow/sdk/execution_time/supervisor.py2925except (ImportError, AttributeError):CODE
HIGHtask-sdk/src/airflow/sdk/execution_time/supervisor.py1262except (ProcessLookupError, PermissionError):CODE
HIGHtask-sdk/src/airflow/sdk/execution_time/context.py235except SecretCache.NotPresentException:CODE
HIGHtask-sdk/src/airflow/sdk/execution_time/context.py283except SecretCache.NotPresentException:CODE
HIGHtask-sdk/src/airflow/sdk/execution_time/context.py374except SecretCache.NotPresentException:CODE
HIGHtask-sdk/src/airflow/sdk/execution_time/context.py413except SecretCache.NotPresentException:CODE
HIGHtask-sdk/src/airflow/sdk/api/client.py144except OSError:CODE
HIGH…ers/neo4j/src/airflow/providers/neo4j/sensors/neo4j.py89except Exception:CODE
HIGH…rc/airflow/providers/amazon/aws/operators/sagemaker.py2237except (ValueError, TypeError):CODE
HIGH…rc/airflow/providers/amazon/aws/operators/sagemaker.py2241except (ValueError, TypeError):CODE
HIGH…airflow/providers/amazon/aws/utils/task_log_fetcher.py69except (json.JSONDecodeError, AttributeError):CODE
HIGH…rc/airflow/providers/amazon/aws/transfers/sql_to_s3.py276except ImportError:CODE
HIGH…on/src/airflow/providers/amazon/aws/hooks/sagemaker.py605except logs_conn.exceptions.ResourceNotFoundException:CODE
HIGH…viders/edge3/src/airflow/providers/edge3/cli/worker.py249except RuntimeError:CODE
HIGH…ogle/tests/unit/google/cloud/triggers/test_bigquery.py260except (asyncio.CancelledError, StopAsyncIteration):CODE
HIGH…ers/google/marketing_platform/operators/bid_manager.py378except FileNotFoundError:CODE
HIGH…c/airflow/providers/google/cloud/sensors/datafusion.py118except HTTPError:CODE
HIGH…e/src/airflow/providers/google/cloud/hooks/bigquery.py1261except NotFound:CODE
HIGH…gle/src/airflow/providers/google/cloud/hooks/pubsub.py177except ValueError:CODE
HIGH…src/airflow/providers/google/cloud/hooks/datafusion.py136except (HTTPError, KeyError):CODE
HIGH…netes/tests/unit/cncf/kubernetes/operators/test_pod.py218except ImportError:CODE
HIGH…/cncf/kubernetes/decorators/test_kubernetes_commons.py125except ImportError:CODE
HIGH…irflow/providers/cncf/kubernetes/template_rendering.py47except (ImportError, AttributeError):CODE
HIGH…oviders/cncf/kubernetes/kubernetes_helper_functions.py92except ValueError:CODE
HIGH…src/airflow/providers/microsoft/azure/hooks/msgraph.py1022except RuntimeError:CODE
HIGH…low/providers/databricks/operators/databricks_repos.py116except ValueError:CODE
HIGH…/airflow/providers/databricks/hooks/databricks_base.py1467except JSONDecodeError:CODE
HIGH…/unit/fab/auth_manager/cli_commands/test_db_command.py165except (ModuleNotFoundError, ImportError):CODE
HIGH…ders/fab/tests/unit/fab/auth_manager/models/test_db.py397except ModuleNotFoundError:CODE
HIGH…roviders/fab/auth_manager/security_manager/override.py2672except (ValueError, AttributeError):CODE
HIGHproviders/sftp/tests/unit/sftp/hooks/test_sftp.py77except Exception:CODE
HIGHproviders/ibm/mq/tests/conftest.py39except ImportError:CODE
HIGH…rflow/providers/common/ai/operators/document_loader.py247except FileNotFoundError:CODE
HIGH…mmon/ai/src/airflow/providers/common/ai/utils/usage.py129except ValueError:CODE
HIGH…src/airflow/providers/common/ai/utils/file_analysis.py273except FileNotFoundError:CODE
HIGH…ers/common/ai/example_dags/example_llm_retry_policy.py173except ImportError:CODE
HIGH…mmon/ai/src/airflow/providers/common/ai/sandbox/sbx.py554except subprocess.TimeoutExpired:CODE
HIGH…on/ai/src/airflow/providers/common/ai/sandbox/modal.py544except modal.exception.NotFoundError:CODE
HIGH…mmon/sql/src/airflow/providers/common/sql/hooks/sql.py399except (ArgumentError, NoSuchModuleError, ValueError):CODE
HIGH…h/src/airflow/providers/ssh/triggers/ssh_remote_job.py146except Exception:CODE
HIGH…ess/src/airflow/providers/akeyless/secrets/akeyless.py296except (json.JSONDecodeError, TypeError):CODE
HIGH…ess/src/airflow/providers/akeyless/secrets/akeyless.py313except (json.JSONDecodeError, TypeError):CODE
HIGH…ineage/tests/unit/openlineage/plugins/test_listener.py132except Exception:CODE
HIGH…iders/openlineage/tests/system/openlineage/operator.py54except Exception:CODE
HIGH…iders/openlineage/tests/system/openlineage/operator.py63except Exception:CODE
HIGH…iders/openlineage/tests/system/openlineage/operator.py72except Exception:CODE
HIGH…iders/openlineage/tests/system/openlineage/operator.py81except Exception:CODE
HIGH…ery/src/airflow/providers/celery/cli/celery_command.py300except sqlalchemy.exc.IntegrityError:CODE
HIGH…irflow/providers/keycloak/auth_manager/cli/commands.py1049except KeycloakError:CODE
HIGH…viate/src/airflow/providers/weaviate/hooks/weaviate.py79except ImportError:CODE
HIGH…nfiguration/src/airflow_shared/configuration/parser.py2078except JSONDecodeError:CODE
HIGH…lity/src/airflow_shared/observability/metrics/stats.py211except TypeError:CODE
HIGH…rc/airflow_shared/observability/metrics/otel_logger.py526except (ImportError, AttributeError):CODE
HIGH…ared/logging/src/airflow_shared/logging/_noncaching.py34except Exception:CODE
68 more matches not shown…
Modern Structural Boilerplate466 hits · 465 pts
SeverityFileLineSnippetContext
LOWairflow-ctl/src/airflowctl/api/client.py84__all__ = [CODE
LOWairflow-ctl-tests/tests/airflowctl_tests/__init__.py24__all__ = ["console"]CODE
LOWtask-sdk/src/airflow/sdk/__init__.py21__all__ = [CODE
LOWtask-sdk/src/airflow/sdk/types.py28__all__ = ["TaskInstance", "TaskInstanceKey"]CODE
LOWtask-sdk/src/airflow/sdk/types.py184 def update_dagrun_note(self, note: str | None) -> None: ...CODE
LOWtask-sdk/src/airflow/sdk/timezone.py41__all__ = [CODE
LOWtask-sdk/src/airflow/sdk/listener.py45__all__ = ["get_listener_manager", "ListenerManager"]CODE
LOWtask-sdk/src/airflow/sdk/coordinators/_subprocess.py178def _set_close_on_exec_above_stderr() -> None:CODE
LOW…dk/src/airflow/sdk/coordinators/executable/__init__.py23__all__ = ["ExecutableCoordinator", "__version__"]CODE
LOWtask-sdk/src/airflow/sdk/coordinators/java/__init__.py27__all__ = ["JavaCoordinator"]CODE
LOWtask-sdk/src/airflow/sdk/coordinators/node/__init__.py28__all__ = ["NodeCoordinator"]CODE
LOWtask-sdk/src/airflow/sdk/importers/__init__.py39__all__ = [CODE
LOWtask-sdk/src/airflow/sdk/io/__init__.py25__all__ = ["ObjectStoragePath", "attach", "get_fs", "has_fs", "Properties"]CODE
LOWtask-sdk/src/airflow/sdk/bases/operator.py106__all__ = [CODE
LOW⚡task-sdk/src/airflow/sdk/bases/operator.py1455 def _set_xcomargs_dependencies(self) -> None:CODE
LOW⚡task-sdk/src/airflow/sdk/bases/operator.py1463 def _set_xcomargs_dependency(self, field: str, newvalue: Any) -> None:CODE
LOWtask-sdk/src/airflow/sdk/observability/__init__.py21__all__ = ["trace"]CODE
LOWtask-sdk/src/airflow/sdk/observability/stats.py33__all__ = [CODE
LOWtask-sdk/src/airflow/sdk/execution_time/coordinator.py58__all__ = [CODE
LOWtask-sdk/src/airflow/sdk/execution_time/bundles.py39__all__ = ["initialize_ti_bundle", "verify_bundle_access"]CODE
LOW⚡task-sdk/src/airflow/sdk/execution_time/supervisor.py275__all__ = [CODE
LOWtask-sdk/src/airflow/sdk/execution_time/task_runner.py720 def update_dagrun_note(self, note: str | None) -> None:CODE
LOW…/src/airflow/sdk/execution_time/callback_supervisor.py74__all__ = ["CallbackSubprocess", "supervise_callback"]CODE
LOW…rflow/sdk/execution_time/connection_test_supervisor.py35__all__ = ["supervise_connection_test"]CODE
LOWtask-sdk/src/airflow/sdk/execution_time/context.py495def _set_variable(key: str, value: Any, description: str | None = None, serialize_json: bool = False) -> None:CODE
LOW…sdk/src/airflow/sdk/execution_time/secrets/__init__.py24__all__ = ["ExecutionAPISecretsBackend", "DEFAULT_SECRETS_SEARCH_PATH_WORKERS"]CODE
LOW…-sdk/src/airflow/sdk/execution_time/schema/__init__.py133__all__ = [CODE
LOW…-sdk/src/airflow/sdk/execution_time/schema/migrator.py220__all__ = ["SchemaVersionMigrator", "get_schema_version_migrator"]CODE
LOW…-sdk/src/airflow/sdk/execution_time/sentry/__init__.py23__all__ = ["Sentry"]CODE
LOWtask-sdk/src/airflow/sdk/api/client.py185__all__ = [CODE
LOWtask-sdk/src/airflow/sdk/definitions/dag.py90__all__ = [CODE
LOWtask-sdk/src/airflow/sdk/definitions/param.py35logger = logging.getLogger(__name__)CODE
LOWtask-sdk/src/airflow/sdk/definitions/retry_policy.py41__all__ = [CODE
LOWtask-sdk/src/airflow/sdk/definitions/deadline.py36logger = logging.getLogger(__name__)CODE
LOW…rc/airflow/sdk/definitions/_internal/contextmanager.py33__all__ = ["DagContext", "TaskGroupContext"]CODE
LOWtask-sdk/src/airflow/sdk/definitions/_internal/types.py29__all__ = [CODE
LOWtask-sdk/src/airflow/sdk/definitions/asset/metadata.py29__all__ = ["Metadata"]CODE
LOWtask-sdk/src/airflow/sdk/definitions/asset/__init__.py49__all__ = [CODE
LOW…sdk/src/airflow/sdk/definitions/decorators/__init__.py35__all__ = [CODE
LOW…dk/src/airflow/sdk/definitions/decorators/condition.py36__all__ = ["run_if", "skip_if"]CODE
LOW…rs/neo4j/src/airflow/providers/neo4j/version_compat.py37__all__ = [CODE
LOWproviders/neo4j/src/airflow/providers/neo4j/__init__.py30__all__ = ["__version__"]CODE
LOW…/cohere/src/airflow/providers/cohere/version_compat.py33__all__ = [CODE
LOW…viders/cohere/src/airflow/providers/cohere/__init__.py30__all__ = ["__version__"]CODE
LOW…rs/cohere/src/airflow/providers/cohere/hooks/cohere.py35logger = logging.getLogger(__name__)CODE
LOW…viders/ftp/src/airflow/providers/ftp/version_compat.py38__all__ = ["AIRFLOW_V_3_0_PLUS", "AIRFLOW_V_3_1_PLUS"]CODE
LOWproviders/ftp/src/airflow/providers/ftp/__init__.py30__all__ = ["__version__"]CODE
LOWproviders/ftp/src/airflow/providers/ftp/hooks/ftp.py28logger = logging.getLogger(__name__)CODE
LOW…/presto/src/airflow/providers/presto/version_compat.py37__all__ = [CODE
LOW…viders/presto/src/airflow/providers/presto/__init__.py30__all__ = ["__version__"]CODE
LOW…mill/src/airflow/providers/papermill/version_compat.py33__all__ = [CODE
LOW…/papermill/src/airflow/providers/papermill/__init__.py30__all__ = ["__version__"]CODE
LOW…/docker/src/airflow/providers/docker/version_compat.py48__all__ = [CODE
LOW…viders/docker/src/airflow/providers/docker/__init__.py30__all__ = ["__version__"]CODE
LOW…ders/imap/src/airflow/providers/imap/version_compat.py38__all__ = [CODE
LOWproviders/imap/src/airflow/providers/imap/__init__.py30__all__ = ["__version__"]CODE
LOW…iscord/src/airflow/providers/discord/version_compat.py39__all__ = [CODE
LOW…ders/discord/src/airflow/providers/discord/__init__.py30__all__ = ["__version__"]CODE
LOW…ableau/src/airflow/providers/tableau/version_compat.py38__all__ = ["AIRFLOW_V_3_0_PLUS", "AIRFLOW_V_3_1_PLUS"]CODE
LOW…ders/tableau/src/airflow/providers/tableau/__init__.py30__all__ = ["__version__"]CODE
406 more matches not shown…
Fake / Example Data327 hits · 332 pts
SeverityFileLineSnippetContext
LOWts-sdk/example/src/main.ts82 await store.set(JOB_ID_KEY, "placeholder");CODE
LOW⚡…-sdk/tests/task_sdk/execution_time/test_task_runner.py4068 secret2 = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore eCODE
LOW⚡…-sdk/tests/task_sdk/execution_time/test_task_runner.py4068 secret2 = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore eCODE
LOWproviders/neo4j/tests/unit/neo4j/sensors/test_neo4j.py237 cypher = "MATCH (n:Person{id:'John Doe'}) RETURN n.first_name AS first_name, n.last_name AS last_name"CODE
LOWproviders/neo4j/tests/unit/neo4j/sensors/test_neo4j.py252 cypher = "MATCH (n:Person{id:'John Doe'}) RETURN n.first_name AS first_name, n.last_name AS last_name"CODE
LOWproviders/neo4j/tests/unit/neo4j/sensors/test_neo4j.py268 cypher = "MATCH (n:Person{id:'John Doe'}) RETURN n.first_name AS first_name, n.last_name AS last_name"CODE
LOWproviders/docker/provider.yaml149 extra: '{"reauth": false, "email": "Jane.Doe@example.org"}'CODE
LOW…cker/src/airflow/providers/docker/get_provider_info.py69 "placeholders": {"extra": '{"reauth": false, "email": "Jane.Doe@example.org"}'},CODE
LOW…rs/docker/src/airflow/providers/docker/hooks/docker.py229 "email": "Jane.Doe@example.org",CODE
LOW…/tests/unit/amazon/aws/auth_manager/avp/test_facade.py92 "dummy_id",CODE
LOW…/tests/unit/amazon/aws/auth_manager/avp/test_facade.py131 "dummy_id",CODE
LOW…/teradata/tests/system/teradata/example_remote_bteq.py87 INSERT INTO {{params.DB_TABLE_NAME}} VALUES (1, 'John Doe', 'IT');CODE
LOWproviders/teradata/tests/system/teradata/script.sql26INSERT INTO {{params.TABLE_NAME}} VALUES (1, 'John Doe', 'IT');CODE
LOW…oviders/teradata/tests/system/teradata/example_bteq.py87 INSERT INTO {{params.DB_TABLE_NAME}} VALUES (1, 'John Doe', 'IT');CODE
LOW…ers/sendgrid/tests/unit/sendgrid/utils/test_emailer.py45 "from": {"email": "foo@bar.com"},CODE
LOW⚡…ers/sendgrid/tests/unit/sendgrid/utils/test_emailer.py58 "email": "foo@bar.com",CODE
LOW⚡…ers/sendgrid/tests/unit/sendgrid/utils/test_emailer.py68 @mock.patch.dict("os.environ", SENDGRID_MAIL_FROM="foo@bar.com")CODE
LOW…ers/sendgrid/tests/unit/sendgrid/utils/test_emailer.py100 @mock.patch.dict("os.environ", SENDGRID_MAIL_FROM="foo@bar.com", SENDGRID_MAIL_SENDER="Foo")CODE
LOW…/edge3/tests/unit/edge3/worker_api/routes/test_logs.py62 log_chunk_data="This is Lorem Ipsum log data", log_chunk_time=timezone.utcnow()CODE
LOW…/edge3/tests/unit/edge3/worker_api/routes/test_logs.py81 assert "Lorem Ipsum" in logs[0].log_chunk_dataCODE
LOWproviders/trino/tests/unit/trino/hooks/test_trino.py580 {"login": "user@example.com", "password": "p@ss:word", "host": "localhost", "schema": "hive"},CODE
LOW…ogle/tests/unit/google/cloud/hooks/test_compute_ssh.py73 return_value="test-example@example.org"CODE
LOW…ogle/tests/unit/google/cloud/hooks/test_compute_ssh.py98 user="test-example@example.org",CODE
LOW…ogle/tests/unit/google/cloud/hooks/test_compute_ssh.py145 return_value="test-example@example.org"CODE
LOW…/system/google/cloud/dataflow/example_dataflow_yaml.py83 "('John Doe', 900, 'USA'), "CODE
LOW…ts/unit/cncf/kubernetes/cli/test_kubernetes_command.py309 pods.metadata._continue = "dummy-token"CODE
LOW…ts/unit/cncf/kubernetes/cli/test_kubernetes_command.py324 _continue="dummy-token",CODE
LOW…ers/pgvector/tests/system/pgvector/example_pgvector.py62 f"VALUES ('John Doe', 123, '[1.0, 2.0, 3.0]')",CODE
LOW…ector/tests/system/pgvector/example_pgvector_openai.py75 f"VALUES ('John Doe', '123' ,'{embedd_query.output}')",CODE
LOW⚡…azure/tests/unit/microsoft/azure/hooks/test_msgraph.py1177 "toRecipients": [{"emailAddress": {"address": "user@example.com"}}],CODE
LOW⚡…azure/tests/unit/microsoft/azure/hooks/test_msgraph.py1190 to="user@example.com",CODE
LOW⚡…azure/tests/unit/microsoft/azure/hooks/test_msgraph.py1203 to="user@example.com",CODE
LOW⚡…azure/tests/unit/microsoft/azure/hooks/test_msgraph.py1231 to="user@example.com",CODE
LOW⚡…azure/tests/unit/microsoft/azure/hooks/test_msgraph.py1248 to="user@example.com",CODE
LOW⚡…azure/tests/unit/microsoft/azure/hooks/test_msgraph.py1260 to="user@example.com",CODE
LOW⚡…azure/tests/unit/microsoft/azure/hooks/test_msgraph.py1270 to="user@example.com",CODE
LOW⚡…azure/tests/unit/microsoft/azure/hooks/test_msgraph.py1280 to="user@example.com",CODE
LOW⚡…azure/tests/unit/microsoft/azure/hooks/test_msgraph.py1295 to="user@example.com",CODE
LOW⚡…azure/tests/unit/microsoft/azure/hooks/test_msgraph.py1307 send_email(to="user@example.com", subject="Airflow alert", html_content="Something happened")CODE
LOW⚡…azure/tests/unit/microsoft/azure/hooks/test_msgraph.py1314 to="user@example.com",CODE
LOW…azure/tests/unit/microsoft/azure/hooks/test_msgraph.py1160 to="user@example.com",CODE
LOW…sts/unit/microsoft/azure/notifications/test_msgraph.py34TO_EMAIL = "user@example.com"CODE
LOW…cks/tests/unit/databricks/operators/test_databricks.py176 "name": "John Doe",CODE
LOWproviders/fab/tests/unit/fab/auth_manager/test_utils.py54 email=email or f"{username}@example.org",CODE
LOW⚡…unit/fab/auth_manager/api_fastapi/routes/test_login.py33 dummy_token = LoginResponse(access_token="DUMMY_TOKEN")CODE
LOW⚡…unit/fab/auth_manager/api_fastapi/routes/test_login.py38 mock_fab_auth_manager_login.create_token.return_value = self.dummy_tokenCODE
LOW⚡…unit/fab/auth_manager/api_fastapi/routes/test_login.py46 assert response.json()["access_token"] == self.dummy_token.access_tokenCODE
LOW…unit/fab/auth_manager/api_fastapi/routes/test_login.py59 assert response.json()["access_token"] == self.dummy_token.access_tokenCODE
LOW⚡…it/fab/auth_manager/api_fastapi/services/test_login.py46 self.dummy_token = "DUMMY_TOKEN"CODE
LOW⚡…it/fab/auth_manager/api_fastapi/services/test_login.py50 auth_manager.generate_jwt.return_value = self.dummy_tokenCODE
LOW⚡…it/fab/auth_manager/api_fastapi/services/test_login.py58 assert result.access_token == self.dummy_tokenCODE
LOW…/tests/unit/fab/auth_manager/models/test_user_model.py45 assert user.get_display_name() == "Jane Doe"CODE
LOW…viders/fab/src/airflow/providers/fab/cli/definition.py164 " --email admin@example.org"CODE
LOW⚡…snowflake/tests/unit/snowflake/hooks/test_snowflake.py1552 assert token == "dummy_token"CODE
LOW⚡…snowflake/tests/unit/snowflake/hooks/test_snowflake.py1567 json=lambda: {"access_token": "dummy_token", "expires_in": 600},CODE
LOW…snowflake/tests/unit/snowflake/hooks/test_snowflake.py1530 json=lambda: {"access_token": "dummy_token", "expires_in": 600},CODE
LOW…snowflake/tests/unit/snowflake/hooks/test_snowflake.py1584 assert token == "dummy_token"CODE
LOWproviders/jdbc/tests/unit/jdbc/hooks/test_jdbc.py294 "placeholder": "?",CODE
LOW⚡…mpat/tests/unit/common/compat/lineage/test_entities.py48 (User, ("user@example.com",)),CODE
LOW⚡…mpat/tests/unit/common/compat/lineage/test_entities.py73 user = User(email="user@example.com")CODE
267 more matches not shown…
Redundant / Tautological Comments215 hits · 316 pts
SeverityFileLineSnippetContext
LOWairflow-ctl/src/airflowctl/ctl/commands/auth_command.py129 # Check if directory existsCOMMENT
LOWairflow-ctl/src/airflowctl/ctl/commands/auth_command.py201 # Display resultsCOMMENT
LOW…-sdk/tests/task_sdk/execution_time/test_task_runner.py2592 # Assign task to DagCOMMENT
LOWtask-sdk/dev/datamodel_code_formatter.py102 # Check if the target is 'tasks'COMMENT
LOWtask-sdk/src/airflow/sdk/bases/decorator.py223 # Check if args conflict with names in kwargs.COMMENT
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py1426 # Check if the subprocess has exitedCOMMENT
LOWtask-sdk/src/airflow/sdk/definitions/taskgroup.py385 # Check if the current TaskGroup is emptyCOMMENT
LOW…/airflow/sdk/definitions/_internal/abstractoperator.py242 # Check if the operator has an explicit native rendering preferenceCOMMENT
LOWtask-sdk/src/airflow/sdk/serde/typing.py32 # Check if it is not a dataclass to prevent detecting pydantic dataclasses as pydantic modelsCOMMENT
LOW…ers/amazon/tests/unit/amazon/aws/operators/test_eks.py1267 # Set status to None so define_container_state returns UNDEFINED (not terminal)COMMENT
LOW…zon/tests/unit/amazon/aws/transfers/test_s3_to_sftp.py104 # Check if object was created in s3COMMENT
LOW…zon/tests/unit/amazon/aws/transfers/test_s3_to_sftp.py177 # Check if object was created in s3COMMENT
LOW…zon/tests/unit/amazon/aws/transfers/test_s3_to_sftp.py235 # Check if object was created in s3COMMENT
LOW…zon/tests/unit/amazon/aws/transfers/test_s3_to_sftp.py293 # Check if object was created in s3COMMENT
LOW…zon/tests/unit/amazon/aws/transfers/test_sftp_to_s3.py127 # Check if object was created in s3COMMENT
LOW…zon/tests/unit/amazon/aws/transfers/test_sftp_to_s3.py218 # Check if object was created in s3COMMENT
LOW⚡providers/amazon/tests/system/amazon/aws/example_s3.py172 # Check if a file existsSTRING
LOW⚡providers/amazon/tests/system/amazon/aws/example_s3.py181 # Check if both files existSTRING
LOW⚡providers/amazon/tests/system/amazon/aws/example_s3.py190 # Check if a file existsSTRING
LOW⚡providers/amazon/tests/system/amazon/aws/example_s3.py200 # Check if both files existSTRING
LOW⚡providers/amazon/tests/system/amazon/aws/example_s3.py210 # Check if a file exists and match a certain pattern defined in check_fnSTRING
LOWproviders/amazon/tests/system/amazon/aws/example_s3.py221 # Check if a file exists and match a certain regular expression patternSTRING
LOWproviders/amazon/tests/system/amazon/aws/example_s3.py232 # Check if a file exists and match a certain pattern defined in check_fnSTRING
LOWproviders/amazon/tests/system/amazon/aws/example_s3.py242 # Check if a file exists and match a certain regular expression patternSTRING
LOWproviders/amazon/tests/system/amazon/aws/example_emr.py92 # Set KeepJobFlowAliveWhenNoSteps to False to avoid the cluster from being torn down prematurely.COMMENT
LOW…amazon/src/airflow/providers/amazon/aws/sensors/ssm.py118 # Check if we should tolerate this failureCOMMENT
LOW…rc/airflow/providers/amazon/aws/operators/sagemaker.py347 # Set wait_for_completion to False so that it waits for the status in the deferred task.COMMENT
LOW…rc/airflow/providers/amazon/aws/operators/sagemaker.py881 # Set wait_for_completion to False so that it waits for the status in the deferred task.COMMENT
LOW…rc/airflow/providers/amazon/aws/operators/sagemaker.py1288 # Set wait_for_completion to False so that it waits for the status in the deferred task.COMMENT
LOW…rflow/providers/amazon/aws/transfers/glacier_to_gcs.py105 # Read the file content in chunks using StreamingBodyCOMMENT
LOW…low/providers/amazon/aws/executors/ecs/ecs_executor.py128 # Check if self has the ExecutorConf set on the self.conf attribute, and if not, set it to the globalCOMMENT
LOW…providers/amazon/aws/executors/batch/batch_executor.py118 # Check if self has the ExecutorConf set on the self.conf attribute, and if not, set it to the globalCOMMENT
LOW…ers/amazon/aws/executors/aws_lambda/lambda_executor.py99 # Check if self has the ExecutorConf set on the self.conf attribute, and if not, set it to the globalCOMMENT
LOW…zon/src/airflow/providers/amazon/aws/hooks/base_aws.py581 # Check if we can find an executorCOMMENT
LOW…ers/teradata/tests/unit/teradata/operators/test_tpt.py292 # Set hook to NoneCOMMENT
LOW…ers/teradata/tests/unit/teradata/operators/test_tpt.py708 # Set hooks to NoneCOMMENT
LOW⚡…rs/teradata/tests/unit/teradata/utils/test_tpt_util.py554 # Check if permissions were set correctlyCOMMENT
LOW…adata/src/airflow/providers/teradata/operators/bteq.py44 # Check if the parameter contains Jinja templating syntaxCOMMENT
LOW⚡…data/src/airflow/providers/teradata/utils/bteq_util.py50 # Check if zsh exists firstCOMMENT
LOW…adata/src/airflow/providers/teradata/utils/tpt_util.py78 # Check if shred is availableCOMMENT
LOW…adata/src/airflow/providers/teradata/utils/tpt_util.py111 # Check if shred is available on remote system (UNIX/Linux)COMMENT
LOW…dbt/cloud/src/airflow/providers/dbt/cloud/hooks/dbt.py62 # Check if ``account_id`` was not included in the function signature or, if it is, the value is notCOMMENT
LOW…dbt/cloud/src/airflow/providers/dbt/cloud/hooks/dbt.py954 # Check if the job-run duration has exceeded the ``timeout`` configured.COMMENT
LOW…irflow/providers/edge3/plugins/edge_executor_plugin.py58# Check if EdgeExecutor is actually loadedCOMMENT
LOW…src/airflow/providers/edge3/executors/edge_executor.py94 # Check if self has the ExecutorConf set on the self.conf attribute with all required methods.COMMENT
LOW…src/airflow/providers/edge3/executors/edge_executor.py172 # Check if job already exists with same dag_id, task_id, run_id, map_index, try_numberCOMMENT
LOW…e3/src/airflow/providers/edge3/worker_api/routes/ui.py291 # Check if worker exists firstCOMMENT
LOW…ider_resource_cleanup/commands/cmd_list_asset_types.py97 # Check if this is the last item in the listCOMMENT
LOW…/providers/google/common/utils/id_token_credentials.py151 # Check if application default credentials exist.COMMENT
LOW…viders/google/cloud/sensors/vertex_ai/feature_store.py85 # Check if the sync has completed by verifying end_time existsCOMMENT
LOW…c/airflow/providers/google/cloud/operators/dataproc.py982 # Check if cluster is not in ERROR state.COMMENT
LOW…airflow/providers/google/cloud/transfers/gcs_to_gcs.py302 # Check if prefix contains wildcardCOMMENT
LOW…e/src/airflow/providers/google/cloud/hooks/bigquery.py321 # Check if tableReference is present and is validCOMMENT
LOW…e/src/airflow/providers/google/cloud/hooks/bigquery.py328 # Check if value is already present if no use the provided oneCOMMENT
LOW⚡…c/airflow/providers/google/cloud/openlineage/mixins.py507 # Verify if the output table id from the parse result matches the BQ job output tableCOMMENT
LOW⚡…c/airflow/providers/google/cloud/openlineage/mixins.py516 # Verify if all columns from parse results are present in the output dataset schemaCOMMENT
LOW⚡…c/airflow/providers/google/cloud/openlineage/mixins.py525 # Verify if all datasets from parse results are present in bq job input datasetsCOMMENT
LOW⚡…c/airflow/providers/google/cloud/openlineage/mixins.py529 # Verify if all columns from parse results are present in their respective bq job input datasetsCOMMENT
LOW…rc/airflow/providers/google/cloud/openlineage/utils.py133 # Check if the `InputField` class supports the `transformations` attribute (since OL client 1.17.1)COMMENT
LOW…ogle/src/airflow/providers/google/suite/hooks/drive.py125 # Check if there are directories to processSTRING
155 more matches not shown…
Overly Generic Function Names240 hits · 168 pts
SeverityFileLineSnippetContext
LOWairflow-ctl/tests/conftest.py65 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py480 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py491 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py502 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py511 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py521 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py670 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py679 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py688 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py698 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py708 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py864 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py881 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py957 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py974 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1255 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1264 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1273 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1282 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1291 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1300 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1309 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1318 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1329 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1338 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1347 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1435 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1445 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1786 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1795 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1804 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1813 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1822 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1831 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py1841 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py2086 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py2095 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py2104 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py2113 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py2122 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py2131 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW⚡airflow-ctl/tests/airflow_ctl/api/test_operations.py2142 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py398 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py407 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py421 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py435 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py460 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py469 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py532 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py547 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py558 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py576 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py589 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py599 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py657 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py737 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py753 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py777 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py842 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOWairflow-ctl/tests/airflow_ctl/api/test_operations.py853 def handle_request(request: httpx.Request) -> httpx.Response:CODE
180 more matches not shown…
Verbosity Indicators80 hits · 118 pts
SeverityFileLineSnippetContext
LOW⚡airflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py760 # Step 1: Simulate CLI args being parsed (logical_date=None)COMMENT
LOW⚡airflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py785 # Step 3: Create the Pydantic model (what happens in the actual code)COMMENT
LOW⚡airflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py788 # Step 4: Verify logical_date was set to nowCOMMENT
LOWairflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py774 # Step 2: Apply the defaulting logic (from cli_config.py lines 622-630)COMMENT
LOW⚡…-sdk/tests/task_sdk/execution_time/test_task_runner.py682 # Step 1: create the dag run span and capture its carrier.COMMENT
LOW⚡…-sdk/tests/task_sdk/execution_time/test_task_runner.py689 # Step 2: derive the parent task span carrier (child of dag run), as the scheduler does.COMMENT
LOW⚡…-sdk/tests/task_sdk/execution_time/test_task_runner.py699 # Step 3: build StartupDetails with ti.context_carrier = ti_carrier.COMMENT
LOW⚡…-sdk/tests/task_sdk/execution_time/test_task_runner.py718 # Step 4: emit the worker span (task runner side).COMMENT
LOW⚡…-sdk/tests/task_sdk/execution_time/test_task_runner.py724 # Step 5: emit the parent task span (API server side, as happens on task completion).COMMENT
LOWtask-sdk/src/airflow/sdk/bases/decorator.py133 # We need to check if we are in the context of TaskGroup as the task_id mayCOMMENT
LOW…google/cloud/compute/example_compute_recreate_drift.py91 # Step 1: Create with machine type A.COMMENT
LOW…google/cloud/compute/example_compute_recreate_drift.py102 # Step 2: Re-run with different machine type and recreate recreate_if_machine_type_different=True.COMMENT
LOW⚡…google/cloud/compute/example_compute_recreate_drift.py114 # Step 3: Validate new machine type.COMMENT
LOW⚡…google/cloud/compute/example_compute_recreate_drift.py120 # Step 4: Cleanup.COMMENT
LOW…iders/cncf/kubernetes/executors/kubernetes_executor.py1125 # therefore, we need to check if the TIs are already adopted by the first attempt and remove them.COMMENT
LOW⚡…s/common/ai/example_dags/example_llm_survey_agentic.py164 # Step 1: Decompose the high-level question into sub-questions,COMMENT
LOW⚡…s/common/ai/example_dags/example_llm_survey_agentic.py193 # Step 2: Generate SQL for each sub-question in parallel.COMMENT
LOW⚡…s/common/ai/example_dags/example_llm_survey_agentic.py207 # Step 3: Wrap each SQL string into a single-element list.COMMENT
LOW⚡…s/common/ai/example_dags/example_llm_survey_agentic.py218 # Step 4: Execute each SQL against the survey CSV via DataFusion.COMMENT
LOW⚡…s/common/ai/example_dags/example_llm_survey_agentic.py229 # Step 5: Collect all four JSON results and label them by dimension.COMMENT
LOW⚡…s/common/ai/example_dags/example_llm_survey_agentic.py248 # Step 6: Synthesize the four labeled result sets into a narrative.COMMENT
LOW⚡…s/common/ai/example_dags/example_llm_survey_agentic.py267 # Step 7: Human reviews the synthesized narrative before the DAG ends.COMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py408 # Step 1: Analyst submits the comparison question via HITL.COMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py443 # Step 2: LLM decomposes the question into company-specificCOMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py473 # Step 3: Map sub-questions to retrieval kwargs.COMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py490 # Step 4: Retrieve relevant chunks for each sub-question.COMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py526 # Step 5: Collect all retrieval results into a single context.COMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py541 # Step 6: Synthesize a structured comparison report.COMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py567 # Step 7: Format the structured report into readable text for theCOMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py599 # Step 8: Analyst reviews the report before it reaches theCOMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py447 # Step 1: Build the AIP list from the registry, using Confluence pageCOMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py481 # Step 2: Fetch the repo file tree from GitHub once, shared acrossCOMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py518 # Step 3: Gather evidence from Confluence, GitHub, and the file tree.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py628 # Step 4: Format the gathered evidence into an LLM analysis prompt.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py654 # Step 5: Analyze each AIP with a structured LLM call.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py670 # Step 6: Collect all per-AIP analyses into a combined context.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py687 # Step 7: Format the structured analyses as readable markdown.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py738 # Step 8: Synthesize a cross-AIP progress report.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py764 # Step 9: AI-powered hallucination validation.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py796 # Step 10: Apply validation corrections deterministically.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py876 # Step 11: Build the review body for the human reviewer, showingCOMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py915 # Step 12: A maintainer reviews the corrected report. The DAGCOMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py365 # Step 1: Analyst submits the comparison question via HITL.COMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py400 # Step 2: LLM decomposes the question into company-specificCOMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py430 # Step 3: Map sub-questions to LlamaIndexRetrievalOperator kwargs.COMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py446 # Step 4: Retrieve relevant chunks for each sub-question.COMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py460 # Step 5: Collect all retrieval results into a single context.COMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py478 # Step 6: Synthesize a structured comparison report.COMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py504 # Step 7: Format the structured report into readable text for theCOMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py536 # Step 8: Analyst reviews the report before it reaches theCOMMENT
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py317 # Step 4: SQL generation -- LLM translates the fixed question.COMMENT
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py329 # Step 5: SQL execution via Apache DataFusion.COMMENT
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py339 # Step 6: Extract data rows from the JSON result.COMMENT
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py351 # Step 7: Send result via email if SMTP is configured, otherwise log.COMMENT
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py175 # Step 1: Prompt confirmation -- review or edit the question.STRING
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py191 # Step 2: SQL generation -- LLM translates the confirmed question.STRING
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py202 # Step 3: SQL execution via Apache DataFusion.STRING
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py212 # Step 4: Extract data rows from the JSON result.STRING
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py225 # Step 5: Result confirmation -- approve or reject the query result.STRING
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py271 # Step 1: Download the survey CSV from the Airflow website.STRING
20 more matches not shown…
Structural Annotation Overuse78 hits · 115 pts
SeverityFileLineSnippetContext
LOW⚡airflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py760 # Step 1: Simulate CLI args being parsed (logical_date=None)COMMENT
LOW⚡airflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py785 # Step 3: Create the Pydantic model (what happens in the actual code)COMMENT
LOW⚡airflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py788 # Step 4: Verify logical_date was set to nowCOMMENT
LOWairflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py774 # Step 2: Apply the defaulting logic (from cli_config.py lines 622-630)COMMENT
LOW⚡…-sdk/tests/task_sdk/execution_time/test_task_runner.py682 # Step 1: create the dag run span and capture its carrier.COMMENT
LOW⚡…-sdk/tests/task_sdk/execution_time/test_task_runner.py689 # Step 2: derive the parent task span carrier (child of dag run), as the scheduler does.COMMENT
LOW⚡…-sdk/tests/task_sdk/execution_time/test_task_runner.py699 # Step 3: build StartupDetails with ti.context_carrier = ti_carrier.COMMENT
LOW⚡…-sdk/tests/task_sdk/execution_time/test_task_runner.py718 # Step 4: emit the worker span (task runner side).COMMENT
LOW⚡…-sdk/tests/task_sdk/execution_time/test_task_runner.py724 # Step 5: emit the parent task span (API server side, as happens on task completion).COMMENT
LOW…google/cloud/compute/example_compute_recreate_drift.py91 # Step 1: Create with machine type A.COMMENT
LOW…google/cloud/compute/example_compute_recreate_drift.py102 # Step 2: Re-run with different machine type and recreate recreate_if_machine_type_different=True.COMMENT
LOW⚡…google/cloud/compute/example_compute_recreate_drift.py114 # Step 3: Validate new machine type.COMMENT
LOW⚡…google/cloud/compute/example_compute_recreate_drift.py120 # Step 4: Cleanup.COMMENT
LOW⚡…s/common/ai/example_dags/example_llm_survey_agentic.py164 # Step 1: Decompose the high-level question into sub-questions,COMMENT
LOW⚡…s/common/ai/example_dags/example_llm_survey_agentic.py193 # Step 2: Generate SQL for each sub-question in parallel.COMMENT
LOW⚡…s/common/ai/example_dags/example_llm_survey_agentic.py207 # Step 3: Wrap each SQL string into a single-element list.COMMENT
LOW⚡…s/common/ai/example_dags/example_llm_survey_agentic.py218 # Step 4: Execute each SQL against the survey CSV via DataFusion.COMMENT
LOW⚡…s/common/ai/example_dags/example_llm_survey_agentic.py229 # Step 5: Collect all four JSON results and label them by dimension.COMMENT
LOW⚡…s/common/ai/example_dags/example_llm_survey_agentic.py248 # Step 6: Synthesize the four labeled result sets into a narrative.COMMENT
LOW⚡…s/common/ai/example_dags/example_llm_survey_agentic.py267 # Step 7: Human reviews the synthesized narrative before the DAG ends.COMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py408 # Step 1: Analyst submits the comparison question via HITL.COMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py443 # Step 2: LLM decomposes the question into company-specificCOMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py473 # Step 3: Map sub-questions to retrieval kwargs.COMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py490 # Step 4: Retrieve relevant chunks for each sub-question.COMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py526 # Step 5: Collect all retrieval results into a single context.COMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py541 # Step 6: Synthesize a structured comparison report.COMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py567 # Step 7: Format the structured report into readable text for theCOMMENT
LOW⚡…viders/common/ai/example_dags/example_langchain_10k.py599 # Step 8: Analyst reviews the report before it reaches theCOMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py447 # Step 1: Build the AIP list from the registry, using Confluence pageCOMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py481 # Step 2: Fetch the repo file tree from GitHub once, shared acrossCOMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py518 # Step 3: Gather evidence from Confluence, GitHub, and the file tree.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py628 # Step 4: Format the gathered evidence into an LLM analysis prompt.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py654 # Step 5: Analyze each AIP with a structured LLM call.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py670 # Step 6: Collect all per-AIP analyses into a combined context.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py687 # Step 7: Format the structured analyses as readable markdown.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py738 # Step 8: Synthesize a cross-AIP progress report.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py764 # Step 9: AI-powered hallucination validation.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py796 # Step 10: Apply validation corrections deterministically.COMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py876 # Step 11: Build the review body for the human reviewer, showingCOMMENT
LOW⚡…common/ai/example_dags/example_aip_progress_tracker.py915 # Step 12: A maintainer reviews the corrected report. The DAGCOMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py365 # Step 1: Analyst submits the comparison question via HITL.COMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py400 # Step 2: LLM decomposes the question into company-specificCOMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py430 # Step 3: Map sub-questions to LlamaIndexRetrievalOperator kwargs.COMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py446 # Step 4: Retrieve relevant chunks for each sub-question.COMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py460 # Step 5: Collect all retrieval results into a single context.COMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py478 # Step 6: Synthesize a structured comparison report.COMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py504 # Step 7: Format the structured report into readable text for theCOMMENT
LOW⚡…iders/common/ai/example_dags/example_llamaindex_10k.py536 # Step 8: Analyst reviews the report before it reaches theCOMMENT
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py317 # Step 4: SQL generation -- LLM translates the fixed question.COMMENT
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py329 # Step 5: SQL execution via Apache DataFusion.COMMENT
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py339 # Step 6: Extract data rows from the JSON result.COMMENT
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py351 # Step 7: Send result via email if SMTP is configured, otherwise log.COMMENT
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py175 # Step 1: Prompt confirmation -- review or edit the question.STRING
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py191 # Step 2: SQL generation -- LLM translates the confirmed question.STRING
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py202 # Step 3: SQL execution via Apache DataFusion.STRING
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py212 # Step 4: Extract data rows from the JSON result.STRING
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py225 # Step 5: Result confirmation -- approve or reject the query result.STRING
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py271 # Step 1: Download the survey CSV from the Airflow website.STRING
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py283 # Step 2: Write the downloaded CSV to disk and generate a referenceSTRING
LOW⚡…/common/ai/example_dags/example_llm_survey_analysis.py302 # Step 3: Compare the downloaded CSV schema against the reference.STRING
18 more matches not shown…
AI Slop Vocabulary46 hits · 103 pts
SeverityFileLineSnippetContext
MEDIUM.pre-commit-config.yaml420 # check when the shared harness or Airflow's serializer changes, which that project cannot see.COMMENT
MEDIUMairflow-e2e-tests/docker/openlineage.yml27 # These DAGs are the only ones the harness drives; keep the stock example DAGs out of the way.COMMENT
MEDIUMairflow-e2e-tests/tests/airflow_e2e_tests/conftest.py832 # so it must not also load the stock e2e dags, since the harness triggers every dag it finds.COMMENT
MEDIUM…ts/airflow_e2e_tests/openlineage_tests/prepare_dags.py45# The marker after which everything is Airflow's in-process test harness (pytest-only).COMMENT
MEDIUMtask-sdk/tests/task_sdk/bases/test_operator.py86# Essentially similar to airflow.models.baseoperator.BaseOperatorCOMMENT
LOWtask-sdk/src/airflow/sdk/execution_time/comms.py236 # `__class_getitem__`, but that's a lot of code the one subclass we've got currently. So we'll just use aCOMMENT
LOWtask-sdk/src/airflow/sdk/execution_time/supervisor.py2728# and it doesn't contain a new line character, `.readline()` will just return the chunk as is.COMMENT
LOW…rs/amazon/tests/unit/amazon/aws/hooks/test_datasync.py43# mock_get_conn. We then override it to just return the locally created self.client instead ofCOMMENT
LOW…/amazon/src/airflow/providers/amazon/aws/sensors/s3.py182 # Otherwise, just pass the filesCOMMENT
LOW…irflow/providers/amazon/aws/operators/redshift_data.py268 # case, pull each of the sub-statement ID's, and grab the results. Otherwise, just use statement_idCOMMENT
MEDIUM…viders/edge3/src/airflow/providers/edge3/cli/worker.py547 # Technically safer and more robust, but with more overheadCOMMENT
MEDIUM…irflow/providers/google/cloud/utils/field_validator.py350 # Certainly down from here the field is present (value is not None)COMMENT
LOW…w/providers/google/cloud/utils/credentials_provider.py495 # if it's already a dict, just return itCOMMENT
MEDIUM…rc/airflow/providers/google/cloud/hooks/compute_ssh.py42# TODO:(potiuk) We should add test harness detecting such cases shortlyCOMMENT
LOW…e/src/airflow/providers/snowflake/utils/openlineage.py107 # else - its new hostname, just return itCOMMENT
MEDIUMproviders/common/ai/pyproject.toml114# pydantic-ai-harness is pre-1.0; an opt-in extra so its churn never breaks theCOMMENT
MEDIUM⚡…common/ai/tests/unit/common/ai/operators/test_agent.py1287 # touch the harness root, whose CodeMode export would raise ImportError here.COMMENT
LOW…lineage/tests/unit/openlineage/extractors/test_base.py454 # just return empty OperatorLineageCOMMENT
MEDIUM…ders/openlineage/tests/system/openlineage/constants.py25# Overridable via env var — the e2e harness runs every DAG in the same deployment and wants aCOMMENT
LOW…lineage/src/airflow/providers/openlineage/utils/sql.py203 # Don't iterate over tables hierarchy, just pass it to query single information schema tableCOMMENT
LOW…e/src/airflow/providers/salesforce/hooks/salesforce.py252 # just return the original column untouchedCOMMENT
MEDIUM…openai/src/airflow/providers/openai/triggers/openai.py88 # Measure elapsed time with time.monotonic() so the timeout is robustCOMMENT
MEDIUMchart/values.yaml31# For now this is an opt-in switch for backwards compatibility to leverage the standard naming conventionCOMMENT
MEDIUMchart/values.yaml324# Specify executors in a prioritized list to leverage multiple execution environments as needed:COMMENT
MEDIUMchart/files/statsd-mappings.yml21# instead utilize `statsd.extraMappings` or `statsd.overrideMappings` in your environment,COMMENT
LOW…nfiguration/src/airflow_shared/configuration/parser.py1524 # have these types is with `fallback=` was specified. So just return it.COMMENT
LOW…ared/logging/src/airflow_shared/logging/_noncaching.py36 # we should simply return the wrapper retrieved by FileHandler's open methodCOMMENT
LOW⚡airflow-core/tests/unit/cli/test_hot_reload.py63 # Should just call the callback directlyCOMMENT
LOW…/src/airflow/api_fastapi/execution_api/routes/xcoms.py408# TODO: once we have JWT tokens, then remove dag_id/run_id/task_id from the URL and just use the info inCOMMENT
MEDIUM⚡…c/airflow/config_templates/default_webserver_config.py111# in order to fully utilize the theme. (or use that property in conjunction with theme)COMMENT
MEDIUM⚡…c/airflow/config_templates/default_webserver_config.py111# in order to fully utilize the theme. (or use that property in conjunction with theme)COMMENT
LOWairflow-core/src/airflow/timetables/trigger.py289 # values, so we can just use the first to represent them.COMMENT
MEDIUM⚡airflow-core/src/airflow/triggers/base.py505 """Yield this event in order to end the task successfully."""STRING
MEDIUM⚡airflow-core/src/airflow/triggers/base.py511 """Yield this event in order to end the task with failure."""STRING
MEDIUM⚡airflow-core/src/airflow/triggers/base.py517 """Yield this event in order to end the task with status 'skipped'."""STRING
LOWairflow-core/src/airflow/serialization/encoders.py421 # values, so we can just use the first to represent them.COMMENT
LOWairflow-core/src/airflow/utils/db.py1533 # Older version before we added that function, it only has a single migration so we can just create the tablesCOMMENT
LOWairflow-core/src/airflow/utils/dot_renderer.py241 # (we can just use the maybe-None label variable directly)COMMENT
LOWairflow-core/src/airflow/utils/sqlalchemy.py372 # below is the only line we change, and we just add default=None for getattrCOMMENT
LOW…core/src/airflow/utils/log/non_caching_file_handler.py31 # we should simply return the wrapper retrieved by FileHandler's open methodCOMMENT
LOWairflow-core/src/airflow/cli/commands/db_command.py66 # Exact match found, we can just return itCOMMENT
MEDIUMdev/breeze/src/airflow_breeze/utils/selective_checks.py523 # Airflow's serializer and schema, and the shared harness.COMMENT
MEDIUMdev/breeze/src/airflow_breeze/utils/selective_checks.py1297 # matrix: the shared e2e harness (conftest / constants) or the compat Dockerfile. The compatCOMMENT
MEDIUMdev/breeze/src/airflow_breeze/utils/selective_checks.py1957 # harness changed. Those last do not force full_tests_needed, so they need their own group.COMMENT
LOWdev/breeze/src/airflow_breeze/params/shell_params.py534 # Socket is something different (TCP?) just pass it through as DOCKER_HOST variableCOMMENT
MEDIUM…airflow_breeze/commands/release_management_commands.py2275 """Cleans up the old airflow providers artifacts in order to maintainSTRING
Slop Phrases28 hits · 68 pts
SeverityFileLineSnippetContext
LOWclients/python/test_python_client.py53# auth manager for instance AwsAuthManagerUser or SimpleAuthManager make sure to generate the token withCOMMENT
LOWairflow-ctl/src/airflowctl/api/client.py114 # If you are updating here don't forget to update the airflow-ctl-testsCOMMENT
LOWairflow-ctl/src/airflowctl/api/client.py114 # If you are updating here don't forget to update the airflow-ctl-testsCOMMENT
LOW…mazon/tests/system/amazon/aws/example_mwaa_airflow2.py58 # If creating the environment using the AWS console, make sure to have a VPC withCOMMENT
LOW…oviders/amazon/tests/system/amazon/aws/example_mwaa.py59 # If creating the environment using the AWS console, make sure to have a VPC withCOMMENT
MEDIUM…adata/src/airflow/providers/teradata/hooks/teradata.py84 # Optionally, you can replace the original value in the query_band_textCOMMENT
MEDIUM…stem/google/cloud/dataplex/example_dataplex_catalog.py80 "description": "A simple AspectType for demonstration purposes.",CODE
MEDIUM…ers/pgvector/tests/system/pgvector/example_pgvector.py22# If you only need Airflow 3+, you can use: from airflow.sdk import dag, taskCOMMENT
MEDIUM…ector/tests/system/pgvector/example_pgvector_openai.py22# If you only need Airflow 3+, you can use: from airflow.sdk import dag, task, teardownCOMMENT
MEDIUM…ineage/tests/unit/openlineage/plugins/test_listener.py415 # Now you can use listener and task_instance in your tests to simulate their interaction.STRING
MEDIUM…ineage/tests/unit/openlineage/plugins/test_listener.py1290 # Now you can use listener and task_instance in your tests to simulate their interaction.STRING
MEDIUM…airbyte/src/airflow/providers/airbyte/hooks/airbyte.py70 # Intentionally left the password out, you can modify the log to print it out if you are doing testing.COMMENT
MEDIUM…irflow/providers/apache/tinkerpop/operators/gremlin.py50 # If you prefer, you can add an alias run_query = run in your hook.COMMENT
MEDIUMproviders/openai/tests/system/openai/example_openai.py23# If you only need Airflow 3+, you can use: from airflow.sdk import dag, taskCOMMENT
MEDIUMchart/values.yaml490 # or, you can use a different database like:COMMENT
MEDIUMchart/values.yaml590 # This is an example config showing how you can use templating and how "example" configCOMMENT
LOW⚡…art/tests/helm_tests/airflow_aux/test_chart_quality.py53 # we don't forget to update the schema if we add a new propertyCOMMENT
LOW⚡…art/tests/helm_tests/airflow_aux/test_chart_quality.py53 # we don't forget to update the schema if we add a new propertyCOMMENT
MEDIUM…low-core/docs/howto/docker-compose/docker-compose.yaml45# Feel free to modify this file to suit your needs.COMMENT
MEDIUM…low-core/docs/howto/docker-compose/docker-compose.yaml49 # In order to add custom dependencies or upgrade provider distributions you can use your extended image.COMMENT
MEDIUM⚡…c/airflow/config_templates/default_webserver_config.py108# that you can use for Apache Airflow.COMMENT
LOW⚡…c/airflow/config_templates/default_webserver_config.py110# Please make sure to remove "navbar_color" configuration from airflow.cfgCOMMENT
MEDIUM…src/airflow/example_dags/example_params_ui_tutorial.py63 # Therefore you can add the "section" attribute.COMMENT
MEDIUM…src/airflow/example_dags/example_params_ui_tutorial.py65 # Note if you can add any Markdown formatting to the description, you need to use the description_mdCOMMENT
MEDIUM…src/airflow/example_dags/example_params_ui_tutorial.py80 # If you want to have a selection list box then you can use the enum feature of JSON schemaCOMMENT
MEDIUM…src/airflow/example_dags/example_params_ui_tutorial.py192 # then you can use the examples feature of JSON schemaCOMMENT
MEDIUM…src/airflow/example_dags/example_params_ui_tutorial.py312 # then you can use the JSON schema option of passing constant values. These parametersCOMMENT
LOWscripts/ci/prek/check_integrations_list.py201 "[yellow]Regenerating documentation table. Don't forget to review and commit possible changes.[/]"CODE
Modern AI Meta-Vocabulary20 hits · 64 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml760# FastAPI dependency injection uses function calls in argument defaults intentionally.COMMENT
MEDIUMpyproject.toml836# Annotated is central for FastAPI dependency injection, skipping rules for FastAPI folders.COMMENT
MEDIUM.apache-magpie-overrides/project.md25[`docs/setup/agentic-overrides.md`](https://github.com/apache/magpie/blob/main/docs/setup/agentic-overrides.md).CODE
MEDIUM.apache-magpie-overrides/README.md30[`docs/setup/agentic-overrides.md`](https://github.com/apache/magpie/blob/main/docs/setup/agentic-overrides.md)CODE
MEDIUM…e-magpie-overrides/pr-management-quick-merge-config.md36 - [Note on automated merge (Agentic Autonomous)](#note-on-automated-merge-agentic-autonomous)CODE
MEDIUM…viders/amazon/tests/system/amazon/aws/utils/bedrock.py68 # RAG may not support yet, and picks the same one on every run.COMMENT
MEDIUM…viders/amazon/tests/system/amazon/aws/utils/bedrock.py85 # Haiku has some version dependency issues: RAG only supports 3.5 but batch only supports 4.5COMMENT
MEDIUM⚡…/google/tests/system/google/cloud/gen_ai/llm_models.py44# embedding model with text supportCOMMENT
MEDIUM…compat/src/airflow/providers/common/compat/triggers.py29# Airflow 3.0 added BaseEventTrigger to mark triggers usable as event-driven scheduling sources.COMMENT
MEDIUM…/unit/common/ai/operators/test_llamaindex_retrieval.py89 # The retrieval-time embedding model is passed directly (no Settings mutation).COMMENT
MEDIUM…common/ai/tests/unit/common/ai/hooks/test_langchain.py101 # extra placeholder shows both chat and embedding model keysCOMMENT
MEDIUM…src/airflow/providers/common/ai/utils/query_results.py47# unaffected, small enough that no single tool result can dominate the context window.COMMENT
MEDIUM⚡…common/ai/example_dags/example_langchain_tool_agent.py217 # re-initialising the embedding model on every call would be wasteful.COMMENT
MEDIUM⚡…s/common/ai/example_dags/example_agent_capabilities.py120# 4. Input guardrails: reject unsafe input before the agent run startsCOMMENT
MEDIUM⚡…iders/common/ai/example_dags/example_llamaindex_rag.py41# 1. Full RAG pipeline: load -> embed -> retrieve -> answerCOMMENT
MEDIUM⚡…iders/common/ai/example_dags/example_llamaindex_rag.py192# 3. Multi-source RAG: combine CSV product data with text documentationCOMMENT
MEDIUM⚡…common/ai/example_dags/example_aip_progress_tracker.py764 # Step 9: AI-powered hallucination validation.COMMENT
MEDIUM…irflow/providers/common/ai/example_dags/example_llm.py138 # tokens, or 1_000 output tokens. Useful for guardrails on sharedCOMMENT
MEDIUMairflow-core/src/airflow/models/trigger.py460 # It prioritizes callbacks, then DAGs over event driven scheduling which is fairCOMMENT
MEDIUM…c/adr/0017-use-uvx-to-run-breeze-from-local-sources.md102# so each worktree (e.g. parallel agentic runs) gets its own environment tied toCOMMENT
Docstring Block Structure12 hits · 60 pts
SeverityFileLineSnippetContext
HIGH…radata/src/airflow/providers/teradata/operators/tpt.py177 Normalize error_list parameter to a list of integers. Args: error_list: An integer, list oSTRING
HIGH…radata/src/airflow/providers/teradata/operators/tpt.py581 Handle execution using a local job variable file. Args: file_path: Path to the local job vSTRING
HIGH…s/teradata/src/airflow/providers/teradata/hooks/tpt.py86 Execute a DDL statement using TPT. Args: tpt_script: TPT script content as string or list STRING
HIGH…s/teradata/src/airflow/providers/teradata/hooks/tpt.py247 Execute a tdload operation using the tdload command-line utility. Args: remote_working_dirSTRING
HIGH…rc/airflow/providers/google/cloud/openlineage/utils.py63 Merge multiple column lineage facets into a single consolidated facet. Specifically, it aggregates input fieldSTRING
HIGH…rc/airflow/providers/google/cloud/openlineage/utils.py163 Extract and process the dataset name from a given path. Args: path: The path to process e.g. of a gcs STRING
HIGH…rc/airflow/providers/google/cloud/openlineage/utils.py276 Get column lineage facet for identity transformations. This function generates a simple column lineage facet, STRING
HIGH…rc/airflow/providers/google/cloud/openlineage/utils.py418 Replace the properties of a specific job type in a Dataproc job definition. Args: job: The original DaSTRING
HIGH…ndard/src/airflow/providers/standard/operators/hitl.py315 Generate a URL link to the "required actions" page for a specific task instance. This URL includes queSTRING
HIGH…e/tests/system/openlineage/expected_events/__init__.py31 Retrieve the file path to the OpenLineage expected events JSON file for a given DAG ID, taking into account theSTRING
HIGH…c/airflow/api_fastapi/core_api/services/ui/calendar.py301 Get database-specific time truncation expression for SQLAlchemy. We want to return always timestamp foSTRING
HIGH…sdk-integration-tests/tests/task_sdk_tests/conftest.py436 Utility to set up a DAG run and create an SDK client. This function handles the common pattern of: 1. GettSTRING
Dead Code23 hits · 46 pts
SeverityFileLineSnippetContext
MEDIUM…ts/unit/amazon/aws/log/test_cloudwatch_task_handler.py578CODE
MEDIUM…ts/unit/amazon/aws/log/test_cloudwatch_task_handler.py591CODE
MEDIUM…es/tests/unit/cncf/kubernetes/hooks/test_kubernetes.py1568CODE
MEDIUM…es/tests/unit/cncf/kubernetes/hooks/test_kubernetes.py1762CODE
MEDIUM…ers/standard/tests/unit/standard/triggers/test_file.py260CODE
MEDIUM…s/common/ai/tests/unit/common/ai/tools/test_strands.py59CODE
MEDIUM…erg/tests/unit/apache/iceberg/triggers/test_iceberg.py89CODE
MEDIUM…rflow/providers/apache/kafka/triggers/shared_stream.py403CODE
MEDIUMairflow-core/tests/unit/triggers/test_shared_stream.py192CODE
MEDIUMairflow-core/tests/unit/triggers/test_shared_stream.py2552CODE
MEDIUMairflow-core/tests/unit/models/test_mappedoperator.py1257CODE
MEDIUMairflow-core/tests/unit/models/test_mappedoperator.py651CODE
MEDIUMairflow-core/tests/unit/models/test_mappedoperator.py722CODE
MEDIUMairflow-core/tests/unit/models/test_mappedoperator.py738CODE
MEDIUMairflow-core/tests/unit/models/test_mappedoperator.py764CODE
MEDIUMairflow-core/tests/unit/models/test_mappedoperator.py937CODE
MEDIUMairflow-core/tests/unit/models/test_mappedoperator.py954CODE
MEDIUMairflow-core/tests/unit/models/test_mappedoperator.py1295CODE
MEDIUMairflow-core/tests/unit/models/test_mappedoperator.py1342CODE
MEDIUMairflow-core/tests/unit/models/test_dagrun.py4212CODE
MEDIUMairflow-core/src/airflow/triggers/base.py197CODE
MEDIUMairflow-core/src/airflow/triggers/base.py402CODE
MEDIUMairflow-core/src/airflow/triggers/base.py445CODE
Synthetic Comment Markers2 hits · 8 pts
SeverityFileLineSnippetContext
HIGH…rc/airflow/providers/edge3/example_dags/win_notepad.py72 "This is a text as proposal generated by Airflow DAG. Change it and save and it will get to XCom.",CODE
HIGH…cncf/kubernetes/executors/kubernetes_executor_utils.py937 :param kube_config: The KubeConfig class generated by airflow that contains all kube metadataSTRING
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWproviders/informatica/dev/docker-compose.yml20# Usage:COMMENT
LOWjava-sdk/scripts/ci/verify-source-release.sh22# Usage:COMMENT
LOWjava-sdk/scripts/ci/smoke-test-staged-binaries.sh25# Usage:COMMENT
LOWdev/prune_old_dirs.py22# Usage:COMMENT
LOWdev/sync_fork.sh28# Usage:COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…src/airflow/example_dags/example_params_ui_tutorial.py152 # In this example we have no default valueCOMMENT