AI Slop Code Risk Monitor

langflow-ai/langflow

SlopCodeMonitor badge for langflow-ai/langflow Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Langflow is a powerful tool for building and deploying AI-powered agents and workflows.

27.8 Elevated pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for langflow-ai/langflow, a Python project with 156,181 GitHub stars. SynthScan examined 1,898,955 lines of code across 9745 source files, recording 44906 pattern matches distributed across 29 syntactic categories. The legacy adjusted pattern signal is 27.8 (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.

27.8
Adjusted Signal
27.8
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
156.2K
Stars
Python
Language
1.9M
Lines of Code
9.7K
Files
44.9K
Pattern Hits
2026-10-31
Scan Date
0.08
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 55.4/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 20.7/100 · LOW

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

Agent Over-Engineering Ratio 63.8/100 · HIGH

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

PR Review Velocity Impact 76.8/100 · CRITICAL

Which changes need focused human review? 44906 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 9HIGH 815MEDIUM 3240LOW 40842

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 44906 distinct pattern matches across 29 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 Identifiers26660 hits · 25097 pts
SeverityFileLineSnippetContext
LOWBUNDLE_API.md329 def select_integration_capabilities(self, capability_ids: tuple[str, ...]) -> tuple[str, ...]:CODE
LOWdocs/docs/Lfx/samples/connections/env_resolver_host.py90async def resolve_from_process_environment(CODE
LOWdocs/docs/Lfx/samples/connections/env_resolver_host.py104async def resolve_with_request_scope(CODE
LOWdocs/openapi/generate_openapi.py50def _collect_and_rewrite_defs(node: Any, collected: dict[str, Any]) -> None:CODE
LOW⚡docs/static/files/Conversational_Notion_Agent.json3035 "value": "from typing import Any, cast\n\nfrom langflow.custom import Component\nfrom langflow.inputs imCODE
LOWdocs/static/files/Conversational_Notion_Agent.json453 "value": "import json\nfrom typing import Dict, Any, Union\nfrom markdown import markdown\nfrom bs4 impoCODE
LOWdocs/static/files/Conversational_Notion_Agent.json741 "value": "import requests\nfrom typing import Dict, Union\nfrom pydantic import BaseModel, Field\nfrom lCODE
LOWdocs/static/files/Meeting_Notes_Agent.json2096 "value": "import json\nfrom typing import Dict, Any, Union\nfrom markdown import markdowCODE
LOWdocs/static/files/Meeting_Notes_Agent.json2377 "value": "import requests\nfrom typing import Dict, Union\nfrom pydantic import BaseModeCODE
LOWdocs/static/files/AssemblyAI_Flow.json743 "value": "import assemblyai as aai\n\nfrom langflow.custom import Component\nfrom langflCODE
LOW…on-1.13.0/Lfx/samples/connections/env_resolver_host.py90async def resolve_from_process_environment(CODE
LOW…on-1.13.0/Lfx/samples/connections/env_resolver_host.py104async def resolve_with_request_scope(CODE
LOWdocs/src/plugins/segment/data-attribute-tracking.js37function initializeDataAttributeTracking() {CODE
LOWdocs/src/components/CopyPageButton.tsx118async function copyCurrentPageAsMarkdown(): Promise<boolean> {CODE
LOWdocs/src/theme/SearchBar/index.js24function importDocSearchModalIfNeeded() {CODE
LOWdocs/src/theme/SearchBar/index.js74function useResultsFooterComponent({ closeModal }) {CODE
LOWscripts/check_changes_filter.py76def get_changed_files_from_stdin() -> list[str]:STRING
LOWscripts/migrate_secret_key.py133def read_secret_key_from_file(config_dir: Path) -> str | None:CODE
LOWscripts/migrate_secret_key.py250def decrypt_sso_secret_with_key(envelope: str, key: str) -> str:CODE
LOWscripts/migrate_secret_key.py257def encrypt_sso_secret_with_key(plaintext: str, key: str) -> str:CODE
LOW⚡scripts/migrate_secret_key.py468def ensure_no_pending_encrypted_work(conn) -> None:CODE
LOWscripts/build_component_index.py16async def _load_components_for_index() -> dict:CODE
LOWscripts/build_component_index.py35def _normalize_for_determinism(obj):CODE
LOWscripts/ci/test_pypi_nightly_tag.py82def test_main_and_base_return_identical_version_given_offset_histories():CODE
LOWscripts/ci/test_pypi_nightly_tag.py92def test_aligned_histories_increment_by_one():CODE
LOW⚡scripts/ci/test_pypi_nightly_tag.py104def test_first_ever_nightly_both_absent():CODE
LOW⚡scripts/ci/test_pypi_nightly_tag.py108def test_base_version_bump_resets_counter():CODE
LOW⚡scripts/ci/test_pypi_nightly_tag.py114def test_base_version_bump_with_some_new_series_releases():CODE
LOWscripts/ci/test_pypi_nightly_tag.py125def test_final_release_does_not_advance_counter():CODE
LOWscripts/ci/test_pypi_nightly_tag.py134def test_malformed_response_raises():CODE
LOWscripts/ci/test_pypi_nightly_tag.py146def test_higher_package_lookup_failure_aborts():CODE
LOWscripts/ci/test_pypi_nightly_tag.py154def test_network_error_raises():CODE
LOWscripts/ci/test_pypi_nightly_tag.py167def test_unparseable_version_string_is_skipped():CODE
LOWscripts/ci/test_pypi_nightly_tag.py171def test_invalid_build_type_raises():CODE
LOWscripts/ci/test_litellm_security.py45def test_workspace_excludes_compromised_release_without_overriding_upstream_caps() -> None:CODE
LOWscripts/ci/test_litellm_security.py109def test_published_requirement_protects_transitive_install_without_lockfile(CODE
LOWscripts/ci/test_litellm_security.py124def test_published_requirement_rejects_explicit_compromised_release(CODE
LOWscripts/ci/conftest.py9def capability_reference_date(monkeypatch: pytest.MonkeyPatch, request: pytest.FixtureRequest) -> date:CODE
LOW⚡scripts/ci/test_check_authentication.py68def test_checks_do_not_reuse_authentication_for_anonymous_requests():CODE
LOW⚡scripts/ci/test_check_authentication.py77def test_rejects_success_from_each_negative_authentication_check(endpoint_index):CODE
LOW⚡scripts/ci/test_check_authentication.py86def test_missing_or_broken_routes_are_not_accepted_as_authentication_denial(status):CODE
LOW⚡scripts/ci/test_check_authentication.py94def test_password_sign_in_must_return_a_usable_token(tokens):CODE
LOWscripts/ci/test_check_authentication.py105def test_password_sign_in_must_resolve_the_configured_administrator(user):CODE
LOWscripts/ci/test_check_authentication.py112def test_failed_startup_reports_server_log_without_password_and_reaps_process(monkeypatch, capsys):CODE
LOWscripts/ci/test_check_authentication.py144def test_windows_shutdown_kills_tree_before_waiting_for_launcher(monkeypatch):CODE
LOWscripts/ci/test_check_authentication.py166def test_windows_shutdown_leaves_already_exited_process_alone(monkeypatch):CODE
LOWscripts/ci/test_check_authentication.py180def test_windows_shutdown_only_tolerates_taskkill_failure_when_process_exited(monkeypatch, returncode_after_taskkill):CODE
LOWscripts/ci/test_check_authentication.py195def test_windows_shutdown_releases_database_held_by_descendant(tmp_path):CODE
LOWscripts/ci/test_update_lf_base_dependency.py44def test_pins_bare_and_extras_lfx_to_exact_dev(pyproject: Path) -> None:CODE
LOW⚡scripts/ci/test_update_lf_base_dependency.py61def test_idempotent_on_already_pinned(pyproject: Path) -> None:CODE
LOW⚡scripts/ci/test_update_lf_base_dependency.py69def test_raises_when_no_lfx_dependency(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW⚡scripts/ci/test_update_lf_base_dependency.py77def test_pattern_skips_unrelated_packages(pyproject: Path) -> None:CODE
LOWscripts/ci/test_update_lf_base_dependency.py90def test_root_base_pins_preserve_each_optional_extra(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWscripts/ci/check_core_dependency_pins.py15def verify_core_dependency_pins(wheel: Path, dependency_version: str) -> None:CODE
LOWscripts/ci/test_release_auth_publication.py69def test_final_publication_creates_one_unpublished_reservation(action: str) -> None:STRING
LOWscripts/ci/test_release_auth_publication.py81def test_partial_publication_keeps_the_candidate_tag_reserved() -> None:STRING
LOWscripts/ci/test_release_auth_publication.py102def test_unsafe_or_unverifiable_publication_state_is_rejected(scenario: dict) -> None:STRING
LOWscripts/ci/test_release_auth_publication.py118def test_unpublished_candidates_and_same_source_retries_are_allowed(scenario: dict) -> None:STRING
LOW⚡scripts/ci/test_execution_principal_matrix.py113def test_execution_principal_matrix_is_complete() -> None:CODE
LOW⚡scripts/ci/test_execution_principal_matrix.py117def test_every_entrypoint_declares_each_principal_and_safety_dimension() -> None:CODE
26600 more matches not shown…
Decorative Section Separators2327 hits · 8524 pts
SeverityFileLineSnippetContext
MEDIUMscripts/migrate/check_router_trust.py64# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py66# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py105# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py107# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py163# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py165# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py393# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py395# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py558# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py560# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py605# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/check_router_trust.py607# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py773# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py775# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1044# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1046# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1118# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1120# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1228# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py1230# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/migrate/port_bundle.py145# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py147# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py346# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py348# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py1546# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py1548# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py1580# ---------------------------------------------------------------------------STRING
MEDIUMscripts/migrate/port_bundle.py1582# ---------------------------------------------------------------------------STRING
MEDIUMscripts/gp/tests/test_extract_backend_strings.py172# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_extract_backend_strings.py174# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py12# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py14# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/gp/tests/test_gp_client.py26# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/gp/tests/test_gp_client.py28# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/gp/tests/test_gp_client.py67# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/gp/tests/test_gp_client.py69# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py114# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py116# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py149# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/gp/tests/test_gp_client.py151# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py192# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py194# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py242# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py244# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py331# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py333# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py642# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py644# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py668# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py670# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py781# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py783# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py923# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py925# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py964# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py966# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py1154# ===================================================================COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py1156# ===================================================================COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py46# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/lfx/tests/unit/test_flow_requirements.py48# ---------------------------------------------------------------------------COMMENT
2267 more matches not shown…
Fake / Example Data5828 hits · 4065 pts
SeverityFileLineSnippetContext
LOW⚡docs/static/files/Conversational_Notion_Agent.json3030 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json429 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json448 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json468 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json489 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json584 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json600 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json620 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json640 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json736 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json752 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json772 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json867 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json883 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json903 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json923 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1018 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1037 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1131 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1150 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1166 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1263 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1282 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1302 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1318 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1338 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1434 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1453 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1469 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1490 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1607 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1629 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1650 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1666 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1688 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1710 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1727 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1749 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1771 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1788 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1887 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1910 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1929 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1949 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1969 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json1993 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2015 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2038 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2061 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2080 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2102 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2201 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2224 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2245 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2287 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2309 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2333 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2356 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2379 "placeholder": "",CODE
LOWdocs/static/files/Conversational_Notion_Agent.json2398 "placeholder": "",CODE
5768 more matches not shown…
Unused Imports4181 hits · 3790 pts
SeverityFileLineSnippetContext
LOW…ocs/Lfx/samples/connections/secret_manager_resolver.py21CODE
LOW…Lfx/samples/connections/connection_action_component.py18CODE
LOWdocs/docs/Lfx/samples/connections/env_resolver_host.py20CODE
LOWdocs/openapi/generate_openapi.py13CODE
LOW…3.0/Lfx/samples/connections/secret_manager_resolver.py21CODE
LOW…Lfx/samples/connections/connection_action_component.py18CODE
LOW…on-1.13.0/Lfx/samples/connections/env_resolver_host.py20CODE
LOWscripts/generate_migration.py3CODE
LOWscripts/generate_migration.py4CODE
LOWscripts/generate_migration.py5CODE
LOWscripts/generate_migration.py6CODE
LOWscripts/generate_migration.py7CODE
LOWscripts/generate_migration.py8CODE
LOWscripts/generate_migration.py9CODE
LOWscripts/generate_migration.py11CODE
LOWscripts/benchmark/sqlite_kb.py11CODE
LOWscripts/lint/check_logged_exception_text.py61CODE
LOWscripts/lint/check_component_env_writes.py33CODE
LOWscripts/ci/test_litellm_security.py3CODE
LOWscripts/ci/check_sqlite_runtime.py7CODE
LOWscripts/ci/langflow_pre_release_tag.py3CODE
LOWscripts/ci/check_components_frozen.py19CODE
LOWscripts/ci/check_core_dependency_pins.py3CODE
LOWscripts/ci/test_execution_principal_matrix.py1CODE
LOWscripts/ci/test_authz_endpoint_matrix.py1CODE
LOWscripts/ci/test_release_auth_tags.py3CODE
LOWscripts/ci/update_bundle_prerelease_dependencies.py3CODE
LOWscripts/ci/bundle_release_plan.py12CODE
LOWscripts/ci/update_component_index_version.py3CODE
LOWscripts/ci/release_auth_fixtures.py3CODE
LOWscripts/ci/check_chroma_removal.py7CODE
LOWscripts/ci/test_release_auth_cli.py3CODE
LOWscripts/ci/test_slack_app_manifest.py12CODE
LOWscripts/ci/test_release_workflow.py3CODE
LOWscripts/ci/test_capability_manifests.py3CODE
LOWscripts/ci/install_release_wheels.py10CODE
LOWscripts/ci/test_bundle_release_plan.py5CODE
LOWscripts/ci/check_capability_matrices.py36CODE
LOWscripts/ci/test_update_lfx_version.py3CODE
LOWscripts/ci/backend_test_metrics.py8CODE
LOWscripts/ci/test_capability_matrices.py1CODE
LOWscripts/ci/check_ga_checklist.py17CODE
LOWscripts/ci/check_authz_endpoint_matrix.py4CODE
LOWscripts/ci/check_integration_bundle_floors.py7CODE
LOWscripts/ci/manage_bundle_profiles.py3CODE
LOWscripts/ci/sync_bundle_lfx_pin.py42CODE
LOWscripts/ci/test_check_integration_bundle_floors.py3CODE
LOWscripts/ci/check_capability_manifests.py34CODE
LOWscripts/ci/check_execution_principal_matrix.py4CODE
LOWscripts/ci/test_release_inventory.py1CODE
LOWscripts/ci/event_transport_matrix.py29CODE
LOWscripts/ci/check_authentication.py7CODE
LOWscripts/ci/check_release_inventory.py3CODE
LOWscripts/ci/test_ga_checklist.py1CODE
LOWscripts/ci/update_starter_projects.py6CODE
LOWscripts/ci/test_core_dependency_pins.py3CODE
LOWscripts/ci/test_install_release_wheels.py3CODE
LOWscripts/ci/update_lfx_pre_release_dependency.py3CODE
LOWscripts/ci/test_release_auth_defaults.py3CODE
LOWscripts/ci/test_bundle_profiles.py1CODE
4121 more matches not shown…
Self-Referential Comments560 hits · 1838 pts
SeverityFileLineSnippetContext
MEDIUMdeploy/docker-compose.yml52 # Define the port inside of the Docker service to useCOMMENT
MEDIUM⚡scripts/factory_restart_space.py40# Create an instance of the HfApi class to interact with the Hugging Face Hub.COMMENT
MEDIUMscripts/ci/release_auth/tags.py91 # Create the annotated object first, then compare-and-swap the ref. A localCOMMENT
MEDIUM⚡scripts/gcp/deploy_langflow_gcp_spot.sh29# Create a firewall rule to allow TCP port 7860 for all instances in the VPCCOMMENT
MEDIUM⚡scripts/gcp/deploy_langflow_gcp_spot.sh35# Create a firewall rule to allow IAP trafficCOMMENT
MEDIUM⚡scripts/gcp/deploy_langflow_gcp_spot.sh41# Define the startup script as a multiline Bash here-docCOMMENT
MEDIUMscripts/gcp/deploy_langflow_gcp_spot.sh56# Create a temporary file to store the startup scriptCOMMENT
MEDIUMscripts/gcp/deploy_langflow_gcp_spot.sh60# Create the VM instance with the specified configuration and startup scriptCOMMENT
MEDIUM⚡scripts/gcp/deploy_langflow_gcp.sh29# Create a firewall rule to allow TCP port 7860 for all instances in the VPCCOMMENT
MEDIUM⚡scripts/gcp/deploy_langflow_gcp.sh35# Create a firewall rule to allow IAP trafficCOMMENT
MEDIUM⚡scripts/gcp/deploy_langflow_gcp.sh41# Define the startup script as a multiline Bash here-docCOMMENT
MEDIUMscripts/gcp/deploy_langflow_gcp.sh58# Create a temporary file to store the startup scriptCOMMENT
MEDIUMscripts/gcp/deploy_langflow_gcp.sh62# Create the VM instance with the specified configuration and startup scriptCOMMENT
MEDIUM.github/workflows/db-migration-validation.yml124 # Create a witness flow (proves row persistence)COMMENT
MEDIUM.github/workflows/db-migration-validation.yml141 # Create a witness credential (type=Credential stores encrypted value, exercises encrypted-column migrations)COMMENT
MEDIUM.github/workflows/typescript_test.yml273 # Create the matrix combinations stringCOMMENT
MEDIUM.github/workflows/a11y-scan.yml32 # Define the directory where Playwright browsers will be installed.COMMENT
MEDIUM⚡src/lfx/tests/unit/test_flow_requirements.py652 assert "# This file contains" in txtCODE
MEDIUMsrc/lfx/tests/unit/test_component_index.py147 # Create the directory structureCOMMENT
MEDIUMsrc/lfx/tests/unit/memory/test_memory.py274 # Create a larger batch to test performanceCOMMENT
MEDIUM⚡src/lfx/tests/unit/config/test_environments.py236 # Create a git boundary so it doesn't walk up furtherSTRING
MEDIUM⚡src/lfx/tests/unit/graph/graph/test_utils.py224 # Create a graph with 50 nodes that definitely contains cyclesCOMMENT
MEDIUM⚡src/lfx/tests/unit/graph/graph/test_utils.py351 # Define the graph with multiple cyclesCOMMENT
MEDIUM⚡src/lfx/tests/unit/graph/graph/test_utils.py358 # Define the graph with a single cycleCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_utils.py857 # Define a graph with the specified structureCOMMENT
MEDIUM…/lfx/tests/unit/graph/graph/test_subgraph_isolation.py18 # Create a simple graph: chat_input -> text_output -> chat_outputCOMMENT
MEDIUM⚡src/lfx/tests/unit/graph/graph/test_base.py329 # Create a simple graph with two components and a flow_idCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_base.py184 # Create a simple linear graph structure:COMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_base.py362 # Create a simple graph with two components and a flow_idCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_base.py398 # Create a simple graph with flow_idCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/graph/test_base.py421 # Create a simple graph with flow_idCOMMENT
MEDIUM⚡src/lfx/tests/unit/graph/vertex/test_vertex_base.py1125 # Create a graph with a ChatInput component, which creates a vertexCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/vertex/test_vertex_base.py392 # Create a mock graphCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/vertex/test_vertex_base.py1162 # Create a graph with a ChatInput component, which creates a vertexCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/vertex/test_vertex_base.py1200 # Create a graph with a ChatInput component, which creates a vertexCOMMENT
MEDIUMsrc/lfx/tests/unit/graph/vertex/test_vertex_base.py1228 # Create a graph with a ChatInput component, which creates a vertexCOMMENT
MEDIUMsrc/lfx/tests/unit/utils/test_sandbox.py547 # Create the loop, then freeze it so nothing submitted can execute.COMMENT
MEDIUM⚡src/lfx/tests/unit/cli/test_lazy_imports.py119 # Create a test script with a graph variableCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_lazy_imports.py137 # Create a test script with get_graph functionCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py64 # Create a mock graph with verticesCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py83 # Create a mock graph with verticesCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py118 # Create a mock graph with verticesCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py151 # Create a mock graph with verticesCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py178 # Create a mock graph with verticesCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py201 # Create a mock graph with verticesCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py231 # Create a mock graph with invalid variableCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_validation.py256 # Create a mock graph with invalid variableCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_serve_app.py1355 # Create a mock result that mimics the real structureCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_serve_app.py1987 # Create a real message output scenarioCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_serve.py123 # Create a temporary JSON flow fileCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_serve.py144 # Create a mock graphCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_serve.py198 # Create a mock graphCOMMENT
MEDIUM⚡src/lfx/tests/unit/cli/test_script_loader.py130 # Create a real graph with ChatInput and ChatOutputCOMMENT
MEDIUM⚡src/lfx/tests/unit/cli/test_script_loader.py150 # Create a graph with only ChatOutput, no ChatInputCOMMENT
MEDIUM⚡src/lfx/tests/unit/cli/test_script_loader.py162 # Create a graph with only ChatInput, no ChatOutputCOMMENT
MEDIUM⚡src/lfx/tests/unit/cli/test_script_loader.py334 # Create a real Message objectCOMMENT
MEDIUM⚡src/lfx/tests/unit/cli/test_script_loader.py342 # Create a minimal mock for the vertex structureCOMMENT
MEDIUM⚡src/lfx/tests/unit/cli/test_script_loader.py368 # Create a real Message objectCOMMENT
MEDIUM⚡src/lfx/tests/unit/cli/test_script_loader.py376 # Create a minimal mock for the vertex structureCOMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_script_loader.py429 # Create a real Message objectCOMMENT
500 more matches not shown…
Cross-File Repetition352 hits · 1760 pts
SeverityFileLineSnippetContext
HIGH…on-examples/workflows-api/example-stream-agui-parse.py0prefer calculator tool output, then the last number in the assistant reply.STRING
HIGH…on-examples/workflows-api/example-stream-agui-parse.py0prefer calculator tool output, then the last number in the assistant reply.STRING
HIGH…on-examples/workflows-api/example-stream-agui-parse.py0prefer calculator tool output, then the last number in the assistant reply.STRING
HIGH…on-examples/workflows-api/example-stream-agui-parse.py0prefer calculator tool output, then the last number in the assistant reply.STRING
HIGH…on-examples/workflows-api/example-stream-agui-parse.py0stream one ag-ui run; return assistant text and tool results.STRING
HIGH…on-examples/workflows-api/example-stream-agui-parse.py0stream one ag-ui run; return assistant text and tool results.STRING
HIGH…on-examples/workflows-api/example-stream-agui-parse.py0stream one ag-ui run; return assistant text and tool results.STRING
HIGH…on-examples/workflows-api/example-stream-agui-parse.py0stream one ag-ui run; return assistant text and tool results.STRING
HIGHscripts/test_validator.py0from alembic import op import sqlalchemy as sa def upgrade(): bind = op.get_bind() inspector = sa.inspect(bind) columns STRING
HIGH…backend/tests/unit/alembic/test_existing_migrations.py0from alembic import op import sqlalchemy as sa def upgrade(): bind = op.get_bind() inspector = sa.inspect(bind) columns STRING
HIGH…backend/tests/unit/alembic/test_migration_validator.py0from alembic import op import sqlalchemy as sa def upgrade(): bind = op.get_bind() inspector = sa.inspect(bind) columns STRING
HIGHscripts/ci/test_execution_principal_matrix.py0read the quoted pull-request path filters without adding a yaml dependency.STRING
HIGHscripts/ci/test_capability_matrices.py0read the quoted pull-request path filters without adding a yaml dependency.STRING
HIGHscripts/ci/test_ga_checklist.py0read the quoted pull-request path filters without adding a yaml dependency.STRING
HIGHscripts/ci/test_execution_principal_matrix.py0match the ``*`` and ``**`` forms used by this workflow's path filters.STRING
HIGHscripts/ci/test_capability_matrices.py0match the ``*`` and ``**`` forms used by this workflow's path filters.STRING
HIGHscripts/ci/test_ga_checklist.py0match the ``*`` and ``**`` forms used by this workflow's path filters.STRING
HIGHsrc/lfx/tests/unit/test_propose_field_edit.py0\ name: updated flow nodes: a: chatinput b: languagemodelcomponent c: chatoutput edges: a.message -> b.input_value b.texSTRING
HIGHsrc/lfx/tests/unit/test_build_flow_from_spec.py0\ name: updated flow nodes: a: chatinput b: languagemodelcomponent c: chatoutput edges: a.message -> b.input_value b.texSTRING
HIGHsrc/backend/tests/unit/api/v1/test_mcp_client_server.py0\ name: updated flow nodes: a: chatinput b: languagemodelcomponent c: chatoutput edges: a.message -> b.input_value b.texSTRING
HIGHsrc/lfx/tests/unit/extension/migration/test_rewrite.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…/integration/extension/test_pilot_nextplaid_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…/tests/integration/extension/test_pilot_exa_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…ests/integration/extension/test_pilot_slack_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…integration/extension/test_pilot_duckduckgo_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…sts/integration/extension/test_pilot_paddle_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…ests/integration/extension/test_pilot_arxiv_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…/tests/integration/extension/test_pilot_ibm_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…sts/integration/extension/test_pilot_oracle_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…/integration/extension/test_pilot_firecrawl_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGH…ntegration/extension/test_pilot_empiriolabs_upgrade.py0build a minimal saved-flow node skeleton for testing.STRING
HIGHsrc/lfx/tests/unit/utils/test_ssrf_requests.py0socket.getaddrinfo stub: hostnames resolve to a public ip, literal ips to themselves.STRING
HIGH…ts/unit/components/models_and_agents/test_a2a_agent.py0socket.getaddrinfo stub: hostnames resolve to a public ip, literal ips to themselves.STRING
HIGHsrc/backend/tests/unit/components/tools/test_searxng.py0socket.getaddrinfo stub: hostnames resolve to a public ip, literal ips to themselves.STRING
HIGH…/backend/tests/unit/components/data_source/test_rss.py0socket.getaddrinfo stub: hostnames resolve to a public ip, literal ips to themselves.STRING
HIGH…unit/components/langchain_utilities/test_json_agent.py0return the file names mapping for different versions.STRING
HIGH…/unit/components/langchain_utilities/test_csv_agent.py0return the file names mapping for different versions.STRING
HIGHsrc/backend/tests/base.py0return the file names mapping for different versions.STRING
HIGH…nit/components/models_and_agents/test_mcp_component.py0return the file names mapping for different versions.STRING
HIGH…ponents/embeddings/test_ollama_embeddings_component.py0return the file names mapping for different versions.STRING
HIGH…unit/components/processing/test_save_file_component.py0return the file names mapping for different versions.STRING
HIGH…ponents/processing/test_data_to_dataframe_component.py0return the file names mapping for different versions.STRING
HIGH…nit/components/processing/test_split_text_component.py0return the file names mapping for different versions.STRING
HIGH…sts/unit/components/vectorstores/test_mongodb_atlas.py0return the file names mapping for different versions.STRING
HIGH…mponents/bundles/elastic/test_opensearch_multimodal.py0return the file names mapping for different versions.STRING
HIGH…s/bundles/youtube/test_youtube_transcript_component.py0return the file names mapping for different versions.STRING
HIGHsrc/lfx/tests/unit/base/data/test_storage_utils.py0test getting size of non-existent file raises filenotfounderror.STRING
HIGH…ts/unit/services/storage/test_local_storage_service.py0test getting size of non-existent file raises filenotfounderror.STRING
HIGH…d/tests/integration/storage/test_s3_storage_service.py0test getting size of non-existent file raises filenotfounderror.STRING
HIGH…nit/services/integration_policy/test_execution_gate.py0qa: oss pass-through behavior remains unchanged when no integration policy is set.STRING
HIGH…/tests/unit/services/integration_policy/test_policy.py0qa: oss pass-through behavior remains unchanged when no integration policy is set.STRING
HIGHsrc/backend/tests/unit/api/v1/test_integrations.py0qa: oss pass-through behavior remains unchanged when no integration policy is set.STRING
HIGH…tests/unit/api/v1/test_integration_execution_policy.py0qa: oss pass-through behavior remains unchanged when no integration policy is set.STRING
HIGH…sts/unit/services/test_integration_policy_discovery.py0qa: oss pass-through behavior remains unchanged when no integration policy is set.STRING
HIGH…/tests/unit/services/integration_policy/test_policy.py0qa: policy tests cover user enablement within the operator ceiling.STRING
HIGHsrc/backend/tests/unit/api/v1/test_integrations.py0qa: policy tests cover user enablement within the operator ceiling.STRING
HIGH…tests/unit/api/v1/test_integration_execution_policy.py0qa: policy tests cover user enablement within the operator ceiling.STRING
HIGH…/integration/extension/test_pilot_nextplaid_upgrade.py0wrap nodes in the canonical langflow flow envelope.STRING
HIGH…/tests/integration/extension/test_pilot_exa_upgrade.py0wrap nodes in the canonical langflow flow envelope.STRING
HIGH…integration/extension/test_pilot_duckduckgo_upgrade.py0wrap nodes in the canonical langflow flow envelope.STRING
292 more matches not shown…
Excessive Try-Catch Wrapping1728 hits · 1697 pts
SeverityFileLineSnippetContext
MEDIUM…ls/backend-code-review/references/architecture-rule.md200 print(f"Error: {e}")CODE
LOW…ocs/Lfx/samples/connections/secret_manager_resolver.py97 except Exception: # noqa: BLE001 - vendor exceptions can contain credentialsCODE
LOW…dditional-configuration-for-openai-client-libraries.py20except Exception as exc:CODE
LOW…dditional-configuration-for-openai-client-libraries.py26 except Exception:CODE
LOW…dditional-configuration-for-openai-client-libraries.py20except Exception as exc:CODE
LOW…dditional-configuration-for-openai-client-libraries.py26 except Exception:CODE
LOW…dditional-configuration-for-openai-client-libraries.py20except Exception as exc:CODE
LOW…dditional-configuration-for-openai-client-libraries.py26 except Exception:CODE
LOW…dditional-configuration-for-openai-client-libraries.py20except Exception as exc:CODE
LOW…dditional-configuration-for-openai-client-libraries.py26 except Exception:CODE
LOW…3.0/Lfx/samples/connections/secret_manager_resolver.py97 except Exception: # noqa: BLE001 - vendor exceptions can contain credentialsCODE
LOW…dditional-configuration-for-openai-client-libraries.py20except Exception as exc:CODE
LOW…dditional-configuration-for-openai-client-libraries.py26 except Exception:CODE
LOW…dditional-configuration-for-openai-client-libraries.py20except Exception as exc:CODE
LOW…dditional-configuration-for-openai-client-libraries.py26 except Exception:CODE
LOWscripts/generate_migration.py247 except Exception as e:STRING
LOWscripts/test-api-examples-local.sh232 except Exception:CODE
LOWscripts/test-api-examples-local.sh242except Exception as exc:CODE
MEDIUMscripts/check_changes_filter.py161 print(f"Error: Filter file not found at {filter_file}")CODE
MEDIUM⚡scripts/migrate_secret_key.py475 print("Error: Queued, running, or suspended jobs must finish before rotating the secret key.")CODE
MEDIUM⚡scripts/migrate_secret_key.py484 print("Error: Pending OAuth connection flows must finish before rotating the secret key.")CODE
MEDIUMscripts/migrate_secret_key.py514 print("Error: Could not find current secret key.")CODE
MEDIUMscripts/migrate_secret_key.py530 print("Error: The new secret key is not usable: 32+ characters must be url-safe base64 of 32 bytes")CODE
MEDIUMscripts/migrate_secret_key.py534 print("Error: Old and new secret keys are the same")CODE
MEDIUMscripts/migrate_secret_key.py903 print("Error: Could not determine database URL.")STRING
LOWscripts/build_component_index.py91 except Exception as e:CODE
LOWscripts/build_component_index.py173 except Exception as e: # noqa: BLE001CODE
LOWscripts/check_deprecated_imports.py64 except Exception as e: # noqa: BLE001CODE
MEDIUMscripts/check_deprecated_imports.py85 print(f"Error: Components directory not found at {lfx_components}", file=sys.stderr)CODE
LOWscripts/check_deprecated_imports.py105 except Exception as e: # noqa: BLE001CODE
MEDIUMscripts/check_deprecated_imports.py107 print(f"Error: {e}", file=sys.stderr)CODE
LOWscripts/ci/test_pypi_nightly_tag.py183 except Exception as exc: # noqa: BLE001CODE
LOWscripts/ci/bundle_release_plan.py938 except Exception:CODE
LOWscripts/ci/bundle_release_plan.py990 except Exception:CODE
LOWscripts/ci/bundle_release_plan.py1049 except Exception:CODE
LOWscripts/ci/check_authentication.py176 except Exception:CODE
LOWscripts/ci/test_langflow_pre_release_tag.py61 except Exception as exc: # noqa: BLE001CODE
MEDIUM…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py640def _run_list_types(self) -> tuple[str, str, Any | None]:CODE
MEDIUM…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py660def _run_list_llms(self) -> tuple[str, str, Any | None]:CODE
MEDIUM…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py811def _run_teardown(self) -> tuple[str, str, Any | None]:CODE
LOW⚡…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py1686 except Exception: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py467 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py495 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py515 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py549 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py582 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py629 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py655 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py675 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py698 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py728 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py758 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py782 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py806 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py826 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py846 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py875 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py895 except Exception as exc: # noqa: BLE001CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py935 except Exception as exc: # noqa: BLE001CODE
LOW⚡scripts/e2e_deployment_tests/watsonx_orchestrate/api.py309 except Exception as exc: # noqa: BLE001CODE
1668 more matches not shown…
Docstring Block Structure179 hits · 895 pts
SeverityFileLineSnippetContext
HIGH…ls/backend-code-review/references/architecture-rule.md176Convert timestamp to standardized string format. Args: timestamp: Input timestamp as datetime objecSTRING
HIGH…tests/integration/cli/test_simple_agent_integration.py77Parse JSON from command output, searching in reverse if direct parsing fails. Args: output: The command outSTRING
HIGHsrc/lfx/src/lfx/extension/reload.py230Reload one Bundle into ``registry`` via the five-stage atomic swap. Args: registry: The live :class:`BundleSTRING
HIGHsrc/lfx/src/lfx/extension/migration/rewrite.py421Rewrite legacy component references in ``payload`` in place. Args: payload: The flow payload as produced bySTRING
HIGHsrc/lfx/src/lfx/memory/stubs.py22Store a message in the memory. Args: message (Message): The message to store. flow_id (Optional[strSTRING
HIGHsrc/lfx/src/lfx/memory/stubs.py111DEPRECATED: Stores a message in the memory. DEPRECATED: Use `astore_message` instead. Args: message (MSTRING
HIGHsrc/lfx/src/lfx/memory/stubs.py132Update stored messages. Args: messages: Message or list of messages to update. Returns: List[MSTRING
HIGHsrc/lfx/src/lfx/graph/graph/state_model.py12Create a Pydantic state model from a graph representation. This function generates a Pydantic model that representsSTRING
HIGHsrc/lfx/src/lfx/graph/graph/utils.py819Sorts the vertices so that chat inputs come first in the layers. Only one chat input is allowed in the entire graphSTRING
HIGHsrc/lfx/src/lfx/graph/graph/base.py2358Builds a vertex in the graph. Args: vertex_id (str): The ID of the vertex to build. getSTRING
HIGHsrc/lfx/src/lfx/graph/state/model.py43Builds an output getter function for a given method in a graph component. This function creates a new callable thatSTRING
HIGHsrc/lfx/src/lfx/graph/state/model.py101Build an output setter function for a given method in a graph component. This function creates a new callable that,STRING
HIGHsrc/lfx/src/lfx/graph/state/model.py149Create a dynamic Pydantic state model based on the provided keyword arguments. This function generates a Pydantic mSTRING
HIGHsrc/lfx/src/lfx/utils/ssrf_requests.py207Perform a GET request with SSRF validation on the initial URL and every redirect hop. Automatic redirect following STRING
HIGHsrc/lfx/src/lfx/utils/python_repl_security.py284Import an allow-listed module and return ``(module_name, sandbox-safe proxy)``. Args: name: Dotted module nSTRING
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py236Resolve a hostname to its IP addresses. Args: hostname: Hostname to resolve Returns: list[str]STRING
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py289Validate that hostname exists in the URL. Args: hostname: Hostname to validate (may be None) Returns: STRING
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py307Validate a direct IP address in the URL. Args: hostname: Hostname that may be an IP address Returns: STRING
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py597Validate a connector URL and return IPs for DNS-pinned HTTP clients. This applies the same connector policy as :funSTRING
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py1019Validate URL for SSRF and return validated IP addresses for DNS pinning. This function is the core of DNS pinning-bSTRING
HIGHsrc/lfx/src/lfx/utils/file_path_security.py182Split a ``"<namespace>/<file_name>"`` storage key and verify the caller may address it. Storage keys are the internSTRING
HIGHsrc/lfx/src/lfx/utils/file_path_security.py286Ensure a local path is inside the current user/flow storage scope when restricted. Symlinks are resolved before theSTRING
HIGHsrc/lfx/src/lfx/utils/mustache_security.py64Safely render a mustache template with only simple variable substitution. This function performs a single-pass replSTRING
HIGHsrc/lfx/src/lfx/utils/helpers.py15Get the MIME type of a file based on its extension. Args: file_path: Path to the file Returns: STRING
HIGHsrc/lfx/src/lfx/utils/image.py16Convert an image file to a base64 encoded string. Handles both local files and S3 storage paths. Args: STRING
HIGHsrc/lfx/src/lfx/utils/image.py53Create a data URL from an image file. Args: image_path: Path to the image file (local or S3 path like "flowSTRING
HIGHsrc/lfx/src/lfx/utils/image.py80Create a content dictionary for multimodal inputs from an image file. Args: image_path: Path to the image fSTRING
HIGHsrc/lfx/src/lfx/cli/serve_app.py555Consumes events from a queue and yields them to the client while tracking timing metrics. This coroutine continuousSTRING
HIGHsrc/lfx/src/lfx/cli/common.py228Download a Python script from a URL and save it to a temporary file. Args: url: URL to download the script STRING
HIGHsrc/lfx/src/lfx/cli/common.py279Validate script path or URL and return file extension and resolved path. Args: script_path: Path to the scrSTRING
HIGHsrc/lfx/src/lfx/cli/common.py322Load a graph from a Python script or JSON file. Args: script_path: Path to the script file file_extSTRING
HIGHsrc/lfx/src/lfx/cli/common.py397Execute a graph and capture output. Args: graph: Graph object to execute input_value: Input value tSTRING
HIGHsrc/lfx/src/lfx/schema/validators.py32Convert timestamp to standardized string format. Handles multiple input formats and ensures consistent UTC timezoneSTRING
HIGHsrc/lfx/src/lfx/schema/validators.py65Convert timestamp to datetime object. Handles multiple input formats and ensures consistent UTC timezone output. STRING
HIGHsrc/lfx/src/lfx/schema/validators.py97Convert timestamp to string format including fractional seconds. Handles multiple input formats and ensures consistSTRING
HIGHsrc/lfx/src/lfx/schema/dotdict.py17Override dot access to behave like dictionary lookup. Automatically convert nested dicts to dotdicts. Args: STRING
HIGHsrc/lfx/src/lfx/components/data_source/url.py270Ensures the given string is a valid URL and returns validated IPs for DNS pinning. Args: url: The USTRING
HIGH…fx/src/lfx/components/agentics/helpers/model_config.py16Validate and extract model name and provider from component input. Ensures the model selection is properly formatteSTRING
HIGH…c/lfx/src/lfx/components/agentics/helpers/llm_setup.py23Prepare and configure an LLM instance from component settings. Extracts model selection, validates configuration, rSTRING
HIGH…lfx/src/lfx/components/agentics/helpers/llm_factory.py35Create and configure an LLM instance for the specified provider. Args: provider: The LLM provider name (e.gSTRING
HIGH…x/components/files_ingestion/file_content_retriever.py498Retrieve file content as text. Args: file_path: The full file path as a string (e.g., '/path/to/filSTRING
HIGH…x/components/files_ingestion/file_content_retriever.py543Retrieve file content as a DataFrame for tabular data files. Args: file_path: The full file path asSTRING
HIGHsrc/lfx/src/lfx/load/utils.py12Upload a file to Langflow and return the file path. The upload endpoint now requires authentication (see Langflow STRING
HIGHsrc/lfx/src/lfx/load/utils.py56Upload a file to Langflow and return the file path. Args: file_path (str): The path to the file to be uploaSTRING
HIGHsrc/lfx/src/lfx/load/load.py34Load a flow graph from a JSON file or a JSON object. Args: flow (Union[Path, str, dict]): The flow to load.STRING
HIGHsrc/lfx/src/lfx/load/load.py111Load a flow graph from a JSON file or a JSON object. Args: flow (Union[Path, str, dict]): The flow to load.STRING
HIGHsrc/lfx/src/lfx/workflow/end_user_identity.py137Resolve the end-user identity for one serving request. Args: header_name: Configured trusted-header name, oSTRING
HIGHsrc/lfx/src/lfx/run/base.py228Execute a Langflow graph script or JSON flow and return the result. This function analyzes and executes either a PySTRING
HIGHsrc/lfx/src/lfx/custom/validate.py271Dynamically create a class from a string of code and a specified class name. Args: code: String containing STRING
HIGHsrc/lfx/src/lfx/custom/validate.py543Prepares the global scope with necessary imports from the provided code module. Args: module: AST parsed moSTRING
HIGHsrc/lfx/src/lfx/custom/validate.py760Extract the name of the Component subclass to build from the code. Custom components store their whole containing fSTRING
HIGHsrc/lfx/src/lfx/custom/utils.py44Generate a hash of the component source code. Args: source_code: The source code string modname: ThSTRING
HIGH…fx/src/lfx/custom/custom_component/custom_component.py303Converts input data into a list of Data objects. Args: data (Any): The input data to be converted. STRING
HIGHsrc/lfx/src/lfx/custom/custom_component/component.py591Connects the component to other components or sets parameters and attributes. Args: **kwargs: KeywoSTRING
HIGHsrc/lfx/src/lfx/custom/custom_component/component.py634Retrieves the value of the input with the specified name. Args: name (str): The name of the input. STRING
HIGHsrc/lfx/src/lfx/custom/custom_component/component.py694Retrieves the output with the specified name. Args: name (str): The name of the output to retrieve.STRING
HIGHsrc/lfx/src/lfx/custom/custom_component/component.py726Maps the given list of outputs to the component. Args: outputs (List[Output]): The list of outputs STRING
HIGHsrc/lfx/src/lfx/custom/custom_component/component.py920Find the output method from the given component and input name. Find the output method from the given componentSTRING
HIGHsrc/lfx/src/lfx/custom/custom_component/component.py2290Send a message with optional database update control. This is the central method for sending messages in LangflSTRING
HIGHsrc/lfx/src/lfx/helpers/flow.py95Lists flows for the given user and in the same folder as the specified flow. Retrieves all flows belonging to the gSTRING
119 more matches not shown…
Empty Error Handlers147 hits · 735 pts
SeverityFileLineSnippetContext
HIGHscripts/ci/check_sqlite_runtime.py57except apsw.ExtensionLoadingError:CODE
HIGHscripts/ci/check_sqlite_runtime.py64except apsw.SQLError:CODE
HIGHscripts/ci/manage_bundle_profiles.py153except ValueError:CODE
HIGHscripts/ci/manage_bundle_profiles.py163except ValueError:CODE
HIGHsrc/lfx/tests/conftest.py62except ImportError:CODE
HIGH…tests/unit/cli/test_serve_env_isolation_integration.py137except (urllib.error.URLError, ConnectionError, TimeoutError, OSError):CODE
HIGH…li/test_run_starter_projects_backward_compatibility.py188except json_module.JSONDecodeError:CODE
HIGH…fx/tests/unit/custom/component/test_dynamic_imports.py134except AttributeError:CODE
HIGH…x/tests/unit/custom/custom_component/test_component.py19except ImportError:CODE
HIGH…tests/integration/cli/test_simple_agent_integration.py368except (ValueError, OSError):CODE
HIGHsrc/lfx/src/lfx/extension/loader/_plugins.py447except (ValueError, ImportError, AttributeError):CODE
HIGHsrc/lfx/src/lfx/graph/utils.py205except ImportError:CODE
HIGHsrc/lfx/src/lfx/graph/utils.py226except ImportError:CODE
HIGHsrc/lfx/src/lfx/graph/flow_builder/spec.py51except ValueError:CODE
HIGHsrc/lfx/src/lfx/graph/flow_builder/spec.py55except ValueError:CODE
HIGHsrc/lfx/src/lfx/graph/flow_builder/component.py229except json.JSONDecodeError:CODE
HIGHsrc/lfx/src/lfx/template/utils.py144except (ValueError, TypeError):CODE
HIGHsrc/lfx/src/lfx/utils/request_utils.py16except (AttributeError, TypeError):CODE
HIGHsrc/lfx/src/lfx/utils/util.py40except (FileNotFoundError, PermissionError):CODE
HIGHsrc/lfx/src/lfx/utils/util.py113except (FileNotFoundError, PermissionError, IndexError, ValueError):CODE
HIGHsrc/lfx/src/lfx/utils/util.py70except socket.gaierror:CODE
HIGHsrc/lfx/src/lfx/utils/util.py78except socket.gaierror:CODE
HIGHsrc/lfx/src/lfx/utils/util.py86except socket.gaierror:CODE
HIGHsrc/lfx/src/lfx/utils/util.py94except socket.gaierror:CODE
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py176except (ValueError, ipaddress.AddressValueError):CODE
HIGHsrc/lfx/src/lfx/utils/ssrf_protection.py1128except ValueError:CODE
HIGHsrc/lfx/src/lfx/utils/langflow_utils.py44except ImportError:CODE
HIGHsrc/lfx/src/lfx/utils/data_structure.py52except (json.JSONDecodeError, TypeError):CODE
HIGHsrc/lfx/src/lfx/mcp/flow_builder_tools/run_tools.py482except ImportError:CODE
HIGHsrc/lfx/src/lfx/cli/common.py816except (OSError, SyntaxError, UnicodeDecodeError):CODE
HIGHsrc/lfx/src/lfx/cli/push.py151except LangflowNotFoundError:CODE
HIGHsrc/lfx/src/lfx/schema/message.py516except AttributeError:CODE
HIGHsrc/lfx/src/lfx/components/models_and_agents/agent.py381except ImportError:CODE
HIGHsrc/lfx/src/lfx/components/models_and_agents/agent.py507except ImportError:CODE
HIGHsrc/lfx/src/lfx/components/models_and_agents/agent.py822except (AttributeError, TypeError, ValueError, KeyError, ImportError):CODE
HIGH…fx/src/lfx/components/files_and_knowledge/save_file.py379except (json.JSONDecodeError, ValueError):CODE
HIGHsrc/lfx/src/lfx/components/files_and_knowledge/file.py68except ProcessLookupError:CODE
HIGHsrc/lfx/src/lfx/components/processing/converter.py115except (json.JSONDecodeError, ValueError):CODE
HIGH…/lfx/src/lfx/components/llm_operations/llm_selector.py160except IndexError:CODE
HIGHsrc/lfx/src/lfx/log/logger.py1239except (ValueError, IndexError):CODE
HIGHsrc/lfx/src/lfx/custom/validate.py437except AttributeError:CODE
HIGHsrc/lfx/src/lfx/custom/validate.py443except ModuleNotFoundError:CODE
HIGHsrc/lfx/src/lfx/custom/annotation_validation.py1042except (AttributeError, TypeError):CODE
HIGH…/lfx/src/lfx/custom/custom_component/base_component.py51except (KeyError, AttributeError):CODE
HIGHsrc/lfx/src/lfx/base/knowledge_bases/backends/sqlite.py417except FileExistsError:CODE
HIGHsrc/lfx/src/lfx/base/mcp/util.py955except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_utils.py811except KeyError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py214except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py229except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py244except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py259except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py274except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py289except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py304except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py319except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py334except ImportError:CODE
HIGHsrc/lfx/src/lfx/base/models/model_input_constants.py349except ImportError:CODE
HIGH…fx/src/lfx/base/models/unified_models/instantiation.py159except ImportError:CODE
HIGH…fx/src/lfx/base/models/unified_models/instantiation.py357except (TypeError, ValueError):CODE
HIGH…fx/src/lfx/base/models/unified_models/instantiation.py976except ImportError:CODE
87 more matches not shown…
Deep Nesting825 hits · 684 pts
SeverityFileLineSnippetContext
LOWscripts/update_legacy_storage_sources.py45CODE
LOWscripts/migrate_secret_key.py342CODE
LOWscripts/migrate_secret_key.py488CODE
LOWscripts/check_deprecated_imports.py19CODE
LOWscripts/benchmark/sqlite_kb.py43CODE
LOWscripts/lint/check_component_env_writes.py86CODE
LOWscripts/lint/check_component_env_writes.py141CODE
LOWscripts/ci/check_sqlite_runtime.py37CODE
LOWscripts/ci/test_execution_principal_matrix.py93CODE
LOWscripts/ci/bundle_release_plan.py882CODE
LOWscripts/ci/bundle_release_plan.py1424CODE
LOWscripts/ci/check_capability_matrices.py375CODE
LOWscripts/ci/check_capability_matrices.py468CODE
LOWscripts/ci/check_capability_matrices.py660CODE
LOWscripts/ci/check_ga_checklist.py87CODE
LOWscripts/ci/check_ga_checklist.py147CODE
LOWscripts/ci/check_authz_endpoint_matrix.py139CODE
LOWscripts/ci/manage_bundle_profiles.py105CODE
LOWscripts/ci/manage_bundle_profiles.py367CODE
LOWscripts/ci/manage_bundle_profiles.py396CODE
LOWscripts/ci/manage_bundle_profiles.py468CODE
LOWscripts/ci/event_transport_matrix.py276CODE
LOWscripts/ci/release_auth/cli.py20CODE
LOW…ts/e2e_deployment_tests/watsonx_orchestrate/adapter.py3279CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py887CODE
LOWscripts/e2e_deployment_tests/watsonx_orchestrate/api.py975CODE
LOWscripts/migrate/check_router_trust.py300CODE
LOWscripts/migrate/check_router_trust.py398CODE
LOWscripts/migrate/check_router_trust.py520CODE
LOWscripts/migrate/consolidate_bundles.py381CODE
LOWscripts/migrate/port_bundle.py660CODE
LOWscripts/migrate/port_bundle.py778CODE
LOWscripts/migrate/port_bundle.py1182CODE
LOWscripts/gp/download.py37CODE
LOWscripts/a11y/a11y_scan.py331CODE
LOWscripts/a11y/a11y_scan.py1089CODE
LOWscripts/i18n/check_ko.py257CODE
LOWsrc/lfx/tests/conftest.py85CODE
LOW…ests/unit/test_telemetry_is_inert_when_unconfigured.py98CODE
LOWsrc/lfx/tests/unit/utils/test_ssrf_protection.py706CODE
LOWsrc/lfx/tests/unit/cli/test_run_starter_projects.py57CODE
LOWsrc/lfx/tests/unit/cli/test_run_command_otlp_export.py112CODE
LOWsrc/lfx/tests/unit/cli/test_run_real_flows.py104CODE
LOWsrc/lfx/tests/unit/cli/test_run_real_flows.py386CODE
LOWsrc/lfx/tests/unit/cli/test_run_real_flows.py504CODE
LOW…li/test_run_starter_projects_backward_compatibility.py54CODE
LOW…/tests/unit/components/test_component_display_names.py29CODE
LOW…nd_agents/agent_helpers/test_messages_input_builder.py18CODE
LOWsrc/lfx/tests/unit/workflow/test_agui_translator.py1095CODE
LOW…/lfx/tests/unit/base/models/test_models_dev_catalog.py722CODE
LOW…sts/unit/base/models/test_azure_ai_foundry_provider.py619CODE
LOWsrc/lfx/tests/unit/base/data/test_base_file.py38CODE
LOW…ts/unit/services/settings/test_mcp_composer_windows.py276CODE
LOW…ts/unit/services/settings/test_mcp_composer_windows.py393CODE
LOW…tests/integration/cli/test_simple_agent_integration.py295CODE
LOW…tests/integration/cli/test_simple_agent_integration.py405CODE
LOWsrc/lfx/src/lfx/observability.py900CODE
LOWsrc/lfx/src/lfx/interface/components.py159CODE
LOWsrc/lfx/src/lfx/interface/components.py349CODE
LOWsrc/lfx/src/lfx/interface/components.py437CODE
765 more matches not shown…
Cross-Language Confusion101 hits · 638 pts
SeverityFileLineSnippetContext
HIGHscripts/migrate_secret_key.py636 if settings_dict is None: # JSON null, which SQLite returns as the text 'null'CODE
HIGHscripts/ci/test_pypi_nightly_tag.py5 cd scripts/ci && uv run python -m pytest test_pypi_nightly_tag.py -qSTRING
HIGHscripts/ci/test_pypi_nightly_tag.py6 cd scripts/ci && uv run python test_pypi_nightly_tag.pySTRING
HIGH⚡scripts/ci/test_release_auth_publication.py34 getCommit: async () => ({data: {sha: scenario.currentSha || sha}}),CODE
HIGH⚡scripts/ci/test_release_auth_publication.py36 created.push(request);CODE
HIGH⚡scripts/ci/test_release_auth_publication.py37 drafts.push(request);CODE
HIGH⚡scripts/ci/test_release_auth_publication.py45 let error = null;CODE
HIGH⚡scripts/ci/test_release_auth_publication.py50 await reserveFinalPublication(github, repo, tag, scenario.requestedSha || sha);CODE
HIGH⚡scripts/ci/test_release_auth_publication.py58 } catch (failure) { error = failure.message || String(failure.status); }CODE
HIGHscripts/ci/test_langflow_pre_release_tag.py5 cd scripts/ci && uv run python test_langflow_pre_release_tag.pySTRING
HIGHscripts/ci/test_langflow_pre_release_tag.py6 cd scripts/ci && uv run python -m pytest test_langflow_pre_release_tag.py -qSTRING
HIGHscripts/ci/test_release_rc_number.py58 "inputs.release_sdk || inputs.release_lfx": "true",CODE
HIGH⚡scripts/a11y/a11y_scan.py262 source: item.source ?? null,STRING
HIGH⚡scripts/a11y/a11y_scan.py263 path: item.path?.dom ?? item.path?.aria ?? null,STRING
HIGH⚡scripts/a11y/a11y_scan.py264 snippet: item.snippet ?? null,STRING
HIGHscripts/a11y/a11y_scan.py293 id: el.id || null,STRING
HIGHscripts/a11y/a11y_scan.py293 id: el.id || null,STRING
HIGH⚡scripts/a11y/a11y_scan.py315 focusedWithinDialog: dialogs.some((dialog) => active && dialog.contains(active)),STRING
HIGH⚡scripts/a11y/a11y_scan.py319 id: active.id || null,STRING
HIGH⚡scripts/a11y/a11y_scan.py319 id: active.id || null,STRING
HIGHscripts/a11y/a11y_scan.py369 if (options.by !== null && options.by !== undefined) {CODE
HIGHscripts/a11y/a11y_scan.py369 if (options.by !== null && options.by !== undefined) {CODE
HIGHscripts/migration_rehearsal/seed_instance.py316 " values (:i,:u,:n,:p,:s,null,:c,:c)",CODE
HIGHscripts/migration_rehearsal/seed_instance.py326 " values (:i,:u,:n,:p,:s,null,:c,:c)",CODE
HIGH⚡src/lfx/tests/unit/mcp/test_mcp_stdio_security.py1077 pytest.param(["/c", "uvx mcp-proxy && calc.exe"], id="and-chain"),CODE
HIGH⚡src/lfx/tests/unit/mcp/test_mcp_stdio_security.py1089 equivalent ``sh -c 'uvx mcp-proxy && calc'`` denial comes back as ``MCPStdioSecurityError``,STRING
HIGH⚡…ts/unit/custom/component/test_legacy_storage_source.py75 "inventory", [FileNotFoundError, PermissionError, '{"entries":[{}]}', '{"entries":[null]}', "[]"]CODE
HIGH…fx/tests/unit/services/test_request_scope_isolation.py170 blob = '{"shared_token": "from-env-blob", "null_cred": null, "nested": {"a": 1}}'CODE
HIGHsrc/lfx/src/lfx/schema/json_schema.py9NULLABLE_TYPE_LENGTH = 2 # Number of types in a nullable union (the type itself + null)CODE
HIGHsrc/lfx/src/lfx/schema/json_schema.py139 # Handle common pattern for nullable types (anyOf with string and null)COMMENT
HIGHsrc/lfx/src/lfx/schema/workflow.py425 "answer; when it's null, ``output.reason`` says why (``multiple`` / ``none`` / "CODE
HIGHsrc/lfx/src/lfx/base/data/base_file.py762 # Try JSON first (handles true/false/null)COMMENT
HIGHsrc/backend/tests/unit/utils/test_data_structure.py52 assert result == "list(null)"CODE
HIGH…tests/unit/agentic/api/test_sessions_reset_endpoint.py112 fresh_conversation_buffer.push(CODE
HIGH⚡…tests/unit/agentic/api/test_sessions_reset_endpoint.py158 fresh_conversation_buffer.push(CODE
HIGH⚡…tests/unit/agentic/api/test_sessions_reset_endpoint.py163 fresh_conversation_buffer.push(CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py33 buf.push(USER, "s1", turn)CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py47 buf.push(USER, "s1", t1)CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py48 buf.push(USER, "s1", t2)CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py49 buf.push(USER, "s1", t3)CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py56 buf.push(USER, "s1", ConversationTurn(user=f"u{i}", assistant=f"a{i}"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py67 buf.push(USER, "s1", ConversationTurn(user=f"u{i}", assistant=f"a{i}"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py73 buf.push(USER, "s1", ConversationTurn(user="u0", assistant="a0"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py80 buf.push(USER, "s1", ConversationTurn(user=f"u{i}", assistant=f"a{i}"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py88 buf.push(USER, "s1", ConversationTurn(user=f"u{i}", assistant=f"a{i}"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py100 buf.push("alice", "s1", ConversationTurn(user="hi-a", assistant="ack-a"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py101 buf.push("alice", "s2", ConversationTurn(user="hi-b", assistant="ack-b"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py108 buf.push("alice", "s1", ConversationTurn(user="hi-a", assistant="ack-a"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py109 buf.push("alice", "s2", ConversationTurn(user="hi-b", assistant="ack-b"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py132 buf.push("alice", "shared-sid", ConversationTurn(user="secret", assistant="ok"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py139 buf.push("alice", "shared-sid", ConversationTurn(user="alice-1", assistant="ok"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py140 buf.push("bob", "shared-sid", ConversationTurn(user="bob-1", assistant="ok"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py148 buf.push("alice", "shared-sid", ConversationTurn(user="alice-1", assistant="ok"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py149 buf.push("bob", "shared-sid", ConversationTurn(user="bob-1", assistant="ok"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py165 buf.push(USER, f"s{i}", ConversationTurn(user=f"u{i}", assistant=f"a{i}"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py176 buf.push(USER, f"s{i}", ConversationTurn(user=f"u{i}", assistant=f"a{i}"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py179 buf.push(USER, "s0", ConversationTurn(user="u0-fresh", assistant="a0-fresh"))CODE
HIGH⚡…ests/unit/agentic/services/test_conversation_buffer.py183 buf.push(USER, "s-new", ConversationTurn(user="u-new", assistant="a-new"))CODE
HIGH⚡…nit/agentic/services/test_assistant_service_history.py36 fresh_buffer.push(CODE
HIGH⚡…nit/agentic/services/test_assistant_service_history.py41 fresh_buffer.push(CODE
41 more matches not shown…
Modern Structural Boilerplate587 hits · 596 pts
SeverityFileLineSnippetContext
LOWscripts/migrate_secret_key.py105def set_secure_permissions(file_path: Path) -> None:CODE
LOWscripts/ci/update_pyproject_name.py11def update_pyproject_name(pyproject_path: str, new_project_name: str) -> None:CODE
LOWscripts/ci/update_pyproject_name.py50def update_uv_dep(pyproject_path: str, new_project_name: str) -> None:CODE
LOWscripts/ci/update_pyproject_combined.py17def update_projects_for_nightly(main_tag: str, base_tag: str, lfx_tag: str) -> None:CODE
LOWscripts/ci/update_component_index_version.py12def update_component_index_version(index_path: str | Path, version: str) -> None:CODE
LOWscripts/ci/update_uv_dependency.py11def update_uv_dep(base_version: str) -> None:CODE
LOWscripts/ci/test_update_lfx_version.py41 def update_temp_pyproject(relative_path: str, version: str) -> None:CODE
LOWscripts/ci/update_lf_base_dependency.py13def update_base_dep(pyproject_path: str, new_version: str) -> None:CODE
LOWscripts/ci/update_lf_base_dependency.py40def update_lfx_dep_in_base(pyproject_path: str, lfx_version: str) -> None:CODE
LOWscripts/ci/update_pyproject_version.py13def update_pyproject_version(pyproject_path: str, new_version: str) -> None:CODE
LOWscripts/ci/update_lfx_version.py28def update_sdk_dependency_in_lfx(pyproject_path: str, sdk_version: str) -> None:CODE
LOW⚡scripts/e2e_deployment_tests/watsonx_orchestrate/api.py1774 async def _setup_provider_clients_context(self) -> None:CODE
LOWscripts/migrate/consolidate_bundles.py356def update_bundles_pyproject(new_extras: dict[str, list[str]], *, apply: bool) -> None:CODE
LOWsrc/lfx/tests/unit/test_tweaks_policy.py431 def update_raw_params(self, params: dict, *, overwrite: bool = False) -> None:CODE
LOW…/interface/test_loading_custom_component_code_param.py33 def set_artifacts(self, artifacts) -> None:CODE
LOW…/interface/test_loading_custom_component_code_param.py36 def set_results(self, results) -> None:CODE
LOW…/interface/test_loading_custom_component_code_param.py55 def set_artifacts(self, artifacts) -> None:CODE
LOW…/interface/test_loading_custom_component_code_param.py58 def set_results(self, results) -> None:CODE
LOW⚡…ests/unit/utils/test_resolve_trusted_code_for_build.py23def _set_allow_custom_components(monkeypatch, *, allow: bool) -> None:CODE
LOWsrc/lfx/tests/unit/workflow/test_converters.py59def _setup_graph_get_vertex(graph: Mock, vertices: list[Mock]) -> None:CODE
LOWsrc/lfx/src/lfx/observability.py1268 def set_attribute(self, key: str, value: str) -> None:CODE
LOWsrc/lfx/src/lfx/field_typing/__init__.py5__all__ = [CODE
LOWsrc/lfx/src/lfx/interface/__init__.py6__all__ = ["components", "importing", "initialize", "listing", "run", "utils"]CODE
LOWsrc/lfx/src/lfx/interface/utils.py97def set_langchain_cache(settings) -> None:CODE
LOWsrc/lfx/src/lfx/interface/initialize/__init__.py3__all__ = ["loading"]CODE
LOWsrc/lfx/src/lfx/interface/importing/__init__.py5__all__ = ["import_class", "import_module"]CODE
LOWsrc/lfx/src/lfx/upgrade/__init__.py6__all__ = ["CompatibilityReport", "NodeStatus", "apply_safe_upgrades", "check_flow_compatibility"]CODE
LOWsrc/lfx/src/lfx/extension/reload_swap.py32logger = logging.getLogger(__name__)CODE
LOW⚡src/lfx/src/lfx/extension/dev_registry.py63logger = logging.getLogger(__name__)CODE
LOW⚡src/lfx/src/lfx/extension/reload.py101logger = logging.getLogger(__name__)CODE
LOWsrc/lfx/src/lfx/extension/reload.py700__all__ = [CODE
LOW⚡src/lfx/src/lfx/extension/discovery.py59logger = logging.getLogger(__name__)CODE
LOWsrc/lfx/src/lfx/extension/registry.py356 def update_entry(self, extension_id: str, **changes: object) -> None:CODE
LOWsrc/lfx/src/lfx/extension/__init__.py223__all__ = [CODE
LOW⚡src/lfx/src/lfx/extension/bundle_registry.py53logger = logging.getLogger(__name__)CODE
LOWsrc/lfx/src/lfx/extension/loader/_orchestrator.py59logger = logging.getLogger(__name__)CODE
LOW⚡src/lfx/src/lfx/extension/loader/_plugins.py32logger = logging.getLogger(__name__)CODE
LOWsrc/lfx/src/lfx/extension/loader/__init__.py85__all__ = [CODE
LOW⚡src/lfx/src/lfx/extension/loader/_discovery.py37__all__ = [CODE
LOWsrc/lfx/src/lfx/extension/migration/__init__.py42__all__ = [CODE
LOWsrc/lfx/src/lfx/memory/__init__.py75__all__ = [CODE
LOWsrc/lfx/src/lfx/type_extraction/__init__.py12__all__ = [CODE
LOWsrc/lfx/src/lfx/config/__init__.py5__all__ = ["ConfigError", "LangflowEnvironment", "resolve_environment"]CODE
LOWsrc/lfx/src/lfx/serialization/__init__.py5__all__ = ["serialize", "serialize_or_str"]CODE
LOWsrc/lfx/src/lfx/io/__init__.py37__all__ = [CODE
LOWsrc/lfx/src/lfx/graph/__init__.py6__all__ = ["CustomComponentVertex", "Edge", "Graph", "InterfaceVertex", "StateVertex", "Vertex"]CODE
LOWsrc/lfx/src/lfx/graph/checkpoint/store.py90def set_default_checkpoint_store(store: CheckpointStore | None) -> None:CODE
LOWsrc/lfx/src/lfx/graph/checkpoint/__init__.py9__all__ = [CODE
LOWsrc/lfx/src/lfx/graph/flow_builder/__init__.py24__all__ = [CODE
LOWsrc/lfx/src/lfx/graph/graph/utils.py117def update_template(template, g_nodes) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/utils.py166def set_new_target_handle(proxy_id, new_edge, target_handle, node) -> None:CODE
LOW…c/lfx/src/lfx/graph/graph/runnable_vertices_manager.py51 def update_run_state(self, run_predecessors: dict, vertices_to_run: set) -> None:CODE
LOW⚡…c/lfx/src/lfx/graph/graph/runnable_vertices_manager.py118 def update_vertex_run_state(self, vertex_id: str, *, is_runnable: bool) -> None:CODE
LOW⚡src/lfx/src/lfx/graph/graph/base.py2140 def _set_cache_if_listen_notify_components(self) -> None:CODE
LOW⚡src/lfx/src/lfx/graph/graph/base.py2154 def _set_cache_to_vertices_in_cycle(self) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py444 def _set_start_and_end(self, start: Component, end: Component) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py867 def set_run_id(self, run_id: uuid.UUID | str | None = None) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py1185 def _set_inputs(self, input_components: list[str], inputs: dict[str, str], input_type: InputType | None) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py1993 def update_edges_from_vertex(self, other_vertex: Vertex) -> None:CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py2064 def update_vertex_from_another(self, vertex: Vertex, other_vertex: Vertex) -> None:CODE
527 more matches not shown…
Redundant / Tautological Comments391 hits · 549 pts
SeverityFileLineSnippetContext
LOW⚡docs/static/files/Conversational_Notion_Agent.json3035 "value": "from typing import Any, cast\n\nfrom langflow.custom import Component\nfrom langflow.inputs imCODE
LOWdocs/static/files/AssemblyAI_Flow.json225 "value": "import os\n\nimport assemblyai as aai\nfrom loguru import logger\n\nfrom langfCODE
LOWscripts/generate_migration.py81 # Check if column has dataSTRING
LOW⚡scripts/factory_restart_space.py30# Check if the space name is provided; exit with an error message if not.COMMENT
LOW⚡scripts/factory_restart_space.py35# Check if the API token is provided; exit with an error message if not.COMMENT
LOWscripts/release-lfx.sh68# Check if we're in the right directoryCOMMENT
LOWscripts/ci/update_lf_base_dependency.py25 # Check if the pattern is foundCOMMENT
LOWscripts/ci/update_lf_base_dependency.py57 # Check if the pattern is foundCOMMENT
LOWscripts/setup/check_env.sh16# Check if Python version is compatibleCOMMENT
LOW⚡scripts/gcp/deploy_langflow_gcp_spot.sh17# Check if the VPC exists, and create it if notCOMMENT
LOW⚡scripts/gcp/deploy_langflow_gcp_spot.sh23# Check if the subnet exists, and create it if notCOMMENT
LOW⚡scripts/gcp/deploy_langflow_gcp.sh17# Check if the VPC exists, and create it if notCOMMENT
LOW⚡scripts/gcp/deploy_langflow_gcp.sh23# Check if the subnet exists, and create it if notCOMMENT
LOW.github/workflows/release.yml130 # Check if the input exists as a tagCOMMENT
LOW.github/workflows/release.yml138 # Check if the input also exists as a branch (warn if so, but don't fail)COMMENT
LOW.github/workflows/release.yml642 # Check if langflow-sdk exists on PyPI (may be first release)COMMENT
LOW.github/workflows/release.yml1045 # Check if the server is still runningCOMMENT
LOW.github/workflows/release.yml1261 # Check if the server is still runningCOMMENT
LOW.github/workflows/release_nightly.yml251 # Check if the server is still runningCOMMENT
LOW.github/workflows/release_nightly.yml352 # Check if the server is still runningCOMMENT
LOW.github/workflows/python_test.yml332 # Check if the server is still runningCOMMENT
LOW.github/workflows/release-lfx.yml81 # Check if version already exists on PyPICOMMENT
LOW.github/workflows/deploy-docs-draft.yml34 # Check if branch names contain invalid characters. Only alphanumeric, _, -, ., and / are allowed.COMMENT
LOW.github/workflows/deploy-docs-draft.yml52 # Check if input_branch starts with "refs/heads/"COMMENT
LOW.github/workflows/ci.yml124 # Check if response is valid JSON before proceedingCOMMENT
LOW.github/workflows/ci.yml154 # Check if the release date is todayCOMMENT
LOWsrc/lfx/tests/conftest.py39 # Check if langflow is installed first - fail fastCOMMENT
LOWsrc/lfx/tests/unit/graph/graph/test_cycles.py333 # Check if the max_iterations logic is workingCOMMENT
LOWsrc/lfx/tests/unit/schema/test_schema_data_set.py80 # Check if data is preservedCOMMENT
LOW…tests/integration/cli/test_simple_agent_integration.py335 # Check if process exitedCOMMENT
LOW…tests/integration/cli/test_simple_agent_integration.py363 # Check if server switched to a different portCOMMENT
LOW⚡src/lfx/tests/data/MemoryChatbotNoLLM.json1014 "value": "from typing import Any, cast\n\nfrom lfx.custom import Component\nfrom lfx.inputs import HandlCODE
LOWsrc/lfx/tests/data/LoopTest.json486 "value": "from lfx.custom import Component\nfrom lfx.io import DataInput, Output\nfrom lfx.schema importCODE
LOW…tests/data/starter_projects_1_6_0/Market Research.json1685 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW⚡…s/data/starter_projects_1_6_0/Knowledge Ingestion.json788 "value": "from __future__ import annotations\n\nimport asyncio\nimport contextlib\nimport hashlib\nimporCODE
LOW…ta/starter_projects_1_6_0/Text Sentiment Analysis.json1321 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…ta/starter_projects_1_6_0/Text Sentiment Analysis.json1617 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…ta/starter_projects_1_6_0/Text Sentiment Analysis.json1912 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW⚡…/tests/data/starter_projects_1_6_0/Memory Chatbot.json858 "value": "from typing import Any, cast\n\nfrom langflow.custom.custom_component.component import ComponeCODE
LOW…/tests/data/starter_projects_1_6_0/Memory Chatbot.json1217 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW⚡…sts/data/starter_projects_1_6_0/Hybrid Search RAG.json2108 "value": "import re\nfrom collections import defaultdict\nfrom dataclasses import asdict, dataclass, fieCODE
LOW…sts/data/starter_projects_1_6_0/Hybrid Search RAG.json1137 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…sts/data/starter_projects_1_6_0/Hybrid Search RAG.json1431 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW⚡…ests/data/starter_projects_1_6_0/Vector Store RAG.json2986 "value": "import re\nfrom collections import defaultdict\nfrom dataclasses import asdict, dataclass, fieCODE
LOW⚡…ests/data/starter_projects_1_6_0/Vector Store RAG.json3775 "value": "import re\nfrom collections import defaultdict\nfrom dataclasses import asdict, dataclass, fieCODE
LOW…ests/data/starter_projects_1_6_0/Vector Store RAG.json2614 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…tests/data/starter_projects_1_6_0/Basic Prompting.json851 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…lfx/tests/data/starter_projects_1_6_0/Blog Writer.json1331 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…a/starter_projects_1_6_0/Twitter Thread Generator.json1778 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…/tests/data/starter_projects_1_6_0/Research Agent.json1892 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…/tests/data/starter_projects_1_6_0/Research Agent.json2185 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…/starter_projects_1_6_0/Research Translation Loop.json1249 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…/data/starter_projects_1_6_0/Instagram Copywriter.json2573 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…/data/starter_projects_1_6_0/Instagram Copywriter.json2867 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…ta/starter_projects_1_6_0/Financial Report Parser.json926 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW⚡…tests/data/starter_projects_1_6_0/Meeting Summary.json1508 "value": "from typing import Any, cast\n\nfrom langflow.custom.custom_component.component import ComponeCODE
LOW…tests/data/starter_projects_1_6_0/Meeting Summary.json2270 "value": "from pathlib import Path\n\nimport assemblyai as aai\n\nfrom langflow.custom.custom_component.CODE
LOW…tests/data/starter_projects_1_6_0/Meeting Summary.json2768 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…tests/data/starter_projects_1_6_0/Meeting Summary.json3063 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
LOW…fx/tests/data/starter_projects_1_6_0/Document Q&A.json873 "value": "from typing import Any\n\nfrom langchain_anthropic import ChatAnthropic\nfrom langchain_googleCODE
331 more matches not shown…
Modern AI Meta-Vocabulary153 hits · 455 pts
SeverityFileLineSnippetContext
MEDIUM…omponent-refactoring/references/component-splitting.md402 my-component.tsx # Main orchestration (NOT index.tsx)CODE
MEDIUMdocs/features/langflow-assistant-mcp.md1358### ADR-MCP-007: Two MCP Servers — `lfx/mcp` (canvas-aware) and `agentic/mcp` (DB-aware)COMMENT
MEDIUMdocs/features/langflow-assistant-mcp.md2846#### POST /api/v1/agentic/assist/stream (extended)COMMENT
MEDIUMdocs/features/langflow-assistant-mcp.md2910#### POST /api/v1/agentic/sessions/resetCOMMENT
MEDIUMdocs/features/langflow-assistant-mcp.md2946#### MCP Server (agentic, `langflow/agentic/mcp/server.py`)COMMENT
MEDIUMdocs/features/langflow-assistant-mcp.md2982#### Conversation Buffer (`langflow.agentic.services.conversation_buffer`)COMMENT
MEDIUMdocs/features/langflow-assistant-mcp.md2992#### User-Components Registry (`langflow.agentic.services.user_components` + `user_components_overlay` + `user_componentCOMMENT
MEDIUMdocs/features/langflow-assistant.md1957#### POST /api/v1/agentic/assist/streamCOMMENT
MEDIUMdocs/features/langflow-assistant.md2044#### GET /api/v1/agentic/check-configCOMMENT
MEDIUMdocs/features/langflow-assistant.md2078#### POST /api/v1/agentic/assist/runCOMMENT
MEDIUMdocs/features/langflow-assistant.md2101#### POST /api/v1/agentic/assistCOMMENT
MEDIUM⚡docs/openapi/openapi.json19947 "description": "Executes a specified flow by ID with optional input values, output selection, tweaks, and streamCODE
MEDIUMscripts/migrate/check_bare_names.py85 # Skip __pycache__ and __init__ scaffolding; class declarationsCOMMENT
MEDIUMscripts/migration_rehearsal/seed_instance.py557 # No embedding model is involved. The copy path moves opaque floatCOMMENT
MEDIUM⚡src/lfx/tests/unit/test_tweaks_policy.py336# orchestration rather than close an API surface, which is not what an operatorCOMMENT
MEDIUM⚡src/lfx/tests/unit/extension/test_init_template.py144# Refuse to scaffold over a non-empty targetCOMMENT
MEDIUMsrc/lfx/tests/unit/mcp/test_mcp_stdio_security.py51 # A tenant cannot supply the agentic user-id binding env var (case-insensitive); onlyCOMMENT
MEDIUM⚡…t/custom/component/legacy_storage_source_fixtures.json6 "KnowledgeComponent": "\"\"\"Unified Knowledge component \u2014 ingest into or retrieve from a knowledge base.\n\nThisCODE
MEDIUM⚡…t/custom/component/legacy_storage_source_fixtures.json8 "MemoryBaseComponent": "\"\"\"Memory Base retrieval component.\n\nQueries the vector store backing a Memory Base, scopCODE
MEDIUM⚡…sts/unit/base/knowledge_bases/test_postgres_backend.py552 # swapped embedding model must be caught here rather than on INSERT.COMMENT
MEDIUM⚡…s/data/starter_projects_1_6_0/Knowledge Ingestion.json788 "value": "from __future__ import annotations\n\nimport asyncio\nimport contextlib\nimport hashlib\nimporCODE
MEDIUM⚡…sts/data/starter_projects_1_6_0/Hybrid Search RAG.json2108 "value": "import re\nfrom collections import defaultdict\nfrom dataclasses import asdict, dataclass, fieCODE
MEDIUM…sts/data/starter_projects_1_6_0/Hybrid Search RAG.json1899 "description": "# Hybrid Search RAG\n\nHybrid search performs a vector similarity search and a lexical searcCODE
MEDIUM⚡…ests/data/starter_projects_1_6_0/Vector Store RAG.json2986 "value": "import re\nfrom collections import defaultdict\nfrom dataclasses import asdict, dataclass, fieCODE
MEDIUM⚡…ests/data/starter_projects_1_6_0/Vector Store RAG.json3775 "value": "import re\nfrom collections import defaultdict\nfrom dataclasses import asdict, dataclass, fieCODE
MEDIUM⚡…s/data/starter_projects_1_6_0/Knowledge Retrieval.json495 "value": "import json\nfrom pathlib import Path\nfrom typing import Any\n\nfrom cryptography.fernet impoCODE
MEDIUMsrc/lfx/src/lfx/extension/loader/_orchestrator.py949# :mod:`lfx.extension.loader._startup` (extracted to keep this orchestrationCOMMENT
MEDIUM⚡src/lfx/src/lfx/extension/loader/_discovery.py31# Files we never treat as bundle modules. Test scaffolding and dunderCOMMENT
MEDIUMsrc/lfx/src/lfx/graph/utils.py299 # Get the transaction service via dependency injectionCOMMENT
MEDIUMsrc/lfx/src/lfx/graph/graph/base.py1080 # agentic assistant all have one. The run did not finish, so it gets its own value.COMMENT
MEDIUM⚡src/lfx/src/lfx/utils/constants.py35 # An enhanced version of claude-v1 with a 100,000 token (roughly 75,000 word) context window.COMMENT
MEDIUM⚡src/lfx/src/lfx/utils/constants.py39 # Like claude-instant-v1 with a 100,000 token context window but retains its performance.COMMENT
MEDIUM⚡src/lfx/src/lfx/utils/constants.py44 # An enhanced version of claude-v1.3 with a 100,000 token (roughly 75,000 word) context window.COMMENT
MEDIUM⚡src/lfx/src/lfx/utils/constants.py52 # Version of claude-instant-v1.1 with a 100K token context window.COMMENT
MEDIUMsrc/lfx/src/lfx/cli/init.py10 lfx init . # scaffold into the current directorySTRING
MEDIUM…/src/lfx/components/models_and_agents/mcp_component.py59# orchestration logic in a follow-up PR.COMMENT
MEDIUM…lfx/src/lfx/components/llm_operations/guardrails_v2.py1155 documentation = "https://docs.langflow.org/guardrails"CODE
MEDIUMsrc/lfx/src/lfx/components/llm_operations/guardrails.py41 documentation = "https://docs.langflow.org/guardrails"CODE
MEDIUM⚡src/lfx/src/lfx/base/mcp/security.py36# Env var through which Langflow binds the agentic MCP server to an authenticated user's id.COMMENT
MEDIUM⚡src/lfx/src/lfx/base/mcp/security.py38# tenant-authored stdio config cannot set it. The agentic MCP tools read it and fail closed whenCOMMENT
MEDIUM⚡src/lfx/src/lfx/base/mcp/security.py40# the reader (langflow.agentic.mcp.server).COMMENT
MEDIUM⚡src/lfx/src/lfx/base/mcp/security.py43# Substring identifying the agentic MCP server module in a stdio command, so update_tools knowsCOMMENT
MEDIUMsrc/lfx/src/lfx/base/mcp/security.py181 # -- Langflow-internal trust binding: the agentic MCP server reads the owning user's idCOMMENT
MEDIUMsrc/lfx/src/lfx/base/models/models_dev_catalog.py62# does not mean that a provider has deprecated an embedding model.COMMENT
MEDIUM…fx/src/lfx/base/models/unified_models/model_catalog.py421 "model_type": "embeddings", # Mark as embedding modelCODE
MEDIUM⚡src/frontend/tests/assets/group_test_iadevs.json455 "value": "from lfx.custom import Component\nfrom lfx.inputs import MessageTextInput, HandleInput\nfrom lCODE
MEDIUM⚡src/frontend/tests/assets/group_test_iadevs.json1059 "value": "from lfx.custom import Component\nfrom lfx.inputs import MessageTextInput, HandleICODE
MEDIUM…/utils/__tests__/upgradeComponentEdgeLoss.fixture.json1345 "description": "# Vector Store RAG\n\nAsk questions over a **Knowledge Base** (retrieval-augmented generation)CODE
MEDIUMsrc/frontend/src/CustomNodes/GenericNode/index.tsx415 // from outside the component (e.g. the agentic flow_builder updating theCOMMENT
MEDIUM…eries/agentic/__tests__/use-post-assist-stream.test.ts29 getURL: jest.fn(() => "http://localhost/api/v1/agentic/assist/stream"),CODE
MEDIUM…ackend/tests/unit/agentic/test_assistant_report_e2e.py12 #1/#4 hallucination / fake success ........ TestNoFakeSuccessRealAgentSTRING
MEDIUM⚡…agentic/flows/test_translation_flow_requested_model.py31 # LLM learns not to hallucinate a model for plain requests.COMMENT
MEDIUM⚡…/agentic/flows/test_component_generator_tool_prompt.py100 # the LLM gets confused and hallucinates values.COMMENT
MEDIUM⚡…/unit/agentic/services/test_user_components_overlay.py193 # reflect the user class's ACTUAL outputs, not the base scaffold.COMMENT
MEDIUM…/unit/agentic/services/test_user_components_overlay.py338 # IntInput name='amount') got a generic scaffold node exposing onlyCOMMENT
MEDIUM…nd/tests/unit/agentic/services/test_request_framing.py48 # compound → orchestratingCOMMENT
MEDIUM…nd/tests/unit/agentic/services/test_request_framing.py50 # build_flow that ALSO asks to run → orchestratingCOMMENT
MEDIUM⚡…nd/tests/unit/agentic/services/test_request_framing.py79 # NOT be mistaken for a build+run orchestration.COMMENT
MEDIUM⚡…s/unit/agentic/services/helpers/test_intent_context.py79 # the classifier's context window (confirmed e2e risk §1.5).COMMENT
MEDIUM⚡…/unit/components/files_and_knowledge/test_retrieval.py365 # ---- retrieve_data orchestration ---------------------------------COMMENT
93 more matches not shown…
Over-Commented Block293 hits · 266 pts
SeverityFileLineSnippetContext
LOWdeploy/docker-compose.yml41 # Uses environment variable DOMAINCOMMENT
LOWdeploy/listeners/docker-compose.listeners.yml1# Langflow trigger listeners (TRG-3), as their own Compose service.COMMENT
LOWdeploy/listeners/docker-compose.listeners.yml21# * the API started (or upgraded) first. The listener never migrates.COMMENT
LOWdeploy/listeners/docker-compose.listeners.yml41 # rows and decrypts them with the API's key, so a wrong or empty valueCOMMENT
LOWdeploy/listeners/kubernetes-deployment.yaml1# Langflow trigger listeners (TRG-3) as a Kubernetes Deployment.COMMENT
LOW…kills/frontend-testing/assets/utility-test.template.ts21// jest.mock("@/controllers/API/api", () => ({COMMENT
LOW…kills/frontend-testing/assets/utility-test.template.ts61 // { input: "hello", expected: "HELLO", description: "lowercase string" },COMMENT
LOW…kills/frontend-testing/assets/utility-test.template.ts121 // Type-Specific TestsCOMMENT
LOW…kills/frontend-testing/assets/utility-test.template.ts141 // const inputCopy = [...input];COMMENT
LOW…kills/frontend-testing/assets/utility-test.template.ts161COMMENT
LOW…kills/frontend-testing/assets/utility-test.template.ts181// const intermediate = TEMPLATE_FUNCTION_A(rawInput);COMMENT
LOW…ls/frontend-testing/assets/component-test.template.tsx21// jest.mock("@/controllers/API/api", () => ({COMMENT
LOW…ls/frontend-testing/assets/component-test.template.tsx61// Use this if the component requires providers (router, query client, context)COMMENT
LOW…ls/frontend-testing/assets/component-test.template.tsx141 // describe("async behavior", () => {COMMENT
LOW…ls/frontend-testing/assets/component-test.template.tsx161 //COMMENT
LOW…s/skills/frontend-testing/assets/hook-test.template.ts21// __esModule: true,COMMENT
LOW…s/skills/frontend-testing/assets/hook-test.template.ts121COMMENT
LOW…s/skills/frontend-testing/assets/hook-test.template.ts141 // it("should handle fetch errors", async () => {COMMENT
LOW…s/skills/frontend-testing/assets/hook-test.template.ts161 // afterEach(() => {COMMENT
LOW…s/skills/frontend-testing/assets/hook-test.template.ts221 });COMMENT
LOWdocs/docs/Lfx/samples/connections/lfx.toml1# Copy to $LANGFLOW_CONFIG_DIR/lfx.toml to select a host connection resolver.COMMENT
LOW…ocs/Lfx/samples/connections/secret_manager_resolver.py141 return NoneCOMMENT
LOW…ocs/Lfx/samples/connections/secret_manager_resolver.py161# return self._client.get_secret_value(SecretId=secret_name)["SecretString"]COMMENT
LOWdocs/docs/Lfx/samples/connections/serve_request.sh1#!/usr/bin/env bashCOMMENT
LOW…d_docs/version-1.13.0/Lfx/samples/connections/lfx.toml1# Copy to $LANGFLOW_CONFIG_DIR/lfx.toml to select a host connection resolver.COMMENT
LOW…3.0/Lfx/samples/connections/secret_manager_resolver.py141 return NoneCOMMENT
LOW…3.0/Lfx/samples/connections/secret_manager_resolver.py161# return self._client.get_secret_value(SecretId=secret_name)["SecretString"]COMMENT
LOW…ersion-1.13.0/Lfx/samples/connections/serve_request.sh1#!/usr/bin/env bashCOMMENT
LOWdocs/src/clientModules/redocA11y.js1// Accessibility patches for Redocusaurus pages.COMMENT
LOWscripts/build_component_index.py141 print("\nStripping dynamic fields from component metadata...")COMMENT
LOWscripts/lint/check_component_env_writes.py41COMMENT
LOWscripts/ci/check_capability_manifests.py41REPO_ROOT = Path(__file__).resolve().parents[2]COMMENT
LOWscripts/migrate/consolidate_bundles.py41BUNDLES_PYPROJECT = REPO_ROOT / "src" / "bundles" / "lfx-bundles" / "pyproject.toml"COMMENT
LOW.github/workflows/db-migration-validation.yml181 echo "Extracted version from tag: $VERSION"COMMENT
LOW.github/workflows/release_nightly.yml821 ref: ${{ inputs.nightly_tag_release }}COMMENT
LOW.github/workflows/release_nightly.yml841 # call_docker_build_main_ep:COMMENT
LOW.github/workflows/deploy_gh-pages.yml41 # The following lines assign commit authorship to the officialCOMMENT
LOW.github/workflows/codeql.yml41 # By default, queries listed here will override any specified in a config file.COMMENT
LOW.github/workflows/cross-bundle-test.yml1name: Cross-Bundle TestCOMMENT
LOW.github/workflows/cross-bundle-test.yml161 # with the provider code and need their provider's SDKs. These movedCOMMENT
LOW.github/workflows/release_bundles.yml81 # Bundles floor lfx at the release line they were cut from (e.g.COMMENT
LOWregressions/1.10.x.yaml81 resolved_in_version: 1.11.2COMMENT
LOWregressions/1.12.x.yaml41 workaround: Add the endpoint's exact IP address to LANGFLOW_SSRF_ALLOWED_HOSTS.COMMENT
LOWregressions/1.13.x.yaml1schema_version: 1COMMENT
LOWsrc/lfx/pyproject.toml81sqlite = ["apsw==3.53.4.0", "sqlite-vec==0.1.9"]COMMENT
LOWsrc/lfx/tests/unit/test_process.py581 assert safe.load_from_db_fields == []COMMENT
LOWsrc/lfx/tests/unit/extension/test_schema.py181_MALFORMED_CASES: list[tuple[str, dict[str, Any]]] = [COMMENT
LOWsrc/lfx/tests/unit/graph/test_graph.py741@pytest.mark.skip(reason="Temporarily disabled")COMMENT
LOWsrc/lfx/tests/unit/cli/test_serve.py1221 sync_workers=False,COMMENT
LOWsrc/lfx/tests/unit/cli/test_serve_app_flow_span.py141 # The other half of a passing cell: a flow span says the run happened, the server durationCOMMENT
LOW…x/tests/unit/custom/custom_component/test_component.py81# task = SequentialTaskComponent()COMMENT
LOW…x/tests/unit/base/agents/test_default_system_prompt.py201 idx_a = a.find("# Environment")COMMENT
LOW…integration/extension/test_pilot_duckduckgo_upgrade.py301 assert result.ok, [e.code for e in result.errors]COMMENT
LOWsrc/lfx/src/lfx/observability.py41from lfx.log.logger import logger, operator_logger, otel_log_bodies_exportedCOMMENT
LOWsrc/lfx/src/lfx/observability.py81# "langflow" because that is the scope langflow's custom metrics already use, and the metricCOMMENT
LOWsrc/lfx/src/lfx/observability.py201# langchain, bedrock, ... are all installed alongside fastapi and sqlalchemy). Their spansCOMMENT
LOWsrc/lfx/src/lfx/observability.py221# neither, and a literal repeated in both is one edit away from disagreeing.COMMENT
LOWsrc/lfx/src/lfx/interface/components.py81 # node whose stored built-in code has merely drifted across versions canCOMMENT
LOWsrc/lfx/src/lfx/interface/components.py1161 # pip-installed Extensions so they enter the BundleRegistry, getCOMMENT
LOWsrc/lfx/src/lfx/interface/components.py1181 lfx_bundles_results = load_lfx_bundles_extensions(COMMENT
233 more matches not shown…
Verbosity Indicators143 hits · 238 pts
SeverityFileLineSnippetContext
LOW⚡…x/tests/data/starter_projects_1_6_0/Pokédex Agent.json765 "value": "import json\nimport re\nimport tempfile\nfrom datetime import datetime, timezone\nfrom pathlibCODE
LOW⚡…fx/tests/data/starter_projects_1_6_0/SaaS Pricing.json1294 "value": "# Subscription Pricing Calculator\n\n## Purpose\nCalculate the optimal monthly subscription prCODE
LOW⚡src/lfx/src/lfx/graph/utils.py238 # if it is a list we need to check if the contents are python typesCOMMENT
LOWsrc/lfx/src/lfx/graph/edge/base.py219 # so we need to check if any of the strings in source_types is in target_reqsCOMMENT
LOWsrc/lfx/src/lfx/graph/edge/base.py247 # so we need to check if any of the strings in source_types is in target_reqsCOMMENT
LOWsrc/lfx/src/lfx/graph/vertex/utils.py15 # if it is a list we need to check if the contents are python typesCOMMENT
LOWsrc/lfx/src/lfx/graph/vertex/vertex_types.py113 # We need to check if the edge is a normal edgeCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1067 # Step 1: Check if SSRF protection is enabledCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1074 # Step 2: Parse and validate URL formatCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1086 # Step 3: Validate URL scheme (raises SSRFProtectionError for any non-http/https scheme)COMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1091 # Step 4: Extract and validate hostnameCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1096 # Step 5: Check allowlist (early return for trusted hosts)COMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1105 # Step 6: Handle direct IP addressesCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1133 # Step 7: Resolve hostname to IP addressesCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1141 # Step 8: Validate all resolved IPsCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1163 # Step 9: Block if any resolved IPs are private/internalCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1185 # Step 10: Return validated IPs for DNS pinningCOMMENT
LOWsrc/lfx/src/lfx/utils/exceptions.py62 # We need to check if the __cause__ is a SyntaxErrorCOMMENT
LOWsrc/lfx/src/lfx/components/data_source/api_request.py840 # Step 3: Infer file extension or use part of the request URL if no filenameCOMMENT
LOW⚡src/lfx/src/lfx/components/data_source/api_request.py859 # Step 4: Define the full file pathCOMMENT
LOW⚡src/lfx/src/lfx/components/data_source/api_request.py868 # Step 5: Check if file exists asynchronously and handle accordinglyCOMMENT
LOWsrc/lfx/src/lfx/custom/custom_component/component.py982 # We need to check if callable AND if it is a method from a class that inherits from ComponentCOMMENT
LOW⚡src/lfx/src/lfx/base/models/groq_model_discovery.py76 # Step 1: Get list of available modelsCOMMENT
LOW⚡src/lfx/src/lfx/base/models/groq_model_discovery.py80 # Step 2: Categorize modelsCOMMENT
LOW⚡src/lfx/src/lfx/base/models/groq_model_discovery.py90 # Step 3: Test LLM models for chat completion and tool callingCOMMENT
LOWsrc/lfx/src/lfx/base/models/groq_model_discovery.py116 # Step 4: Add non-LLM models as unsupportedCOMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py528 # Step 1: Refresh/cache model options, set defaults and input_typesCOMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py596 # Step 2: Reset provider-specific visibility without changing values.COMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py608 # Step 3: Show/configure the right fields for the selected providerCOMMENT
LOW…c/frontend/tests/core/unit/fileUploadComponent.spec.ts711 // Step 1: First navigate to files page and upload both filesCOMMENT
LOW…c/frontend/tests/core/unit/fileUploadComponent.spec.ts773 // Step 2: Create a flow with File component and check if PSD file is disabledCOMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts39 // Step 1: create a destination project. `add-project-button`COMMENT
LOW⚡…/regression/general-bugs-move-flow-from-folder.spec.ts57 // Step 2: go back to the source project. The destination's queryCOMMENT
LOW⚡…/regression/general-bugs-move-flow-from-folder.spec.ts65 // Step 3: real HTML5 drag-and-drop — `dragTo()` populatesCOMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts80 // Step 4: click the destination. The flow must be visible. Use aCOMMENT
LOW…/src/contexts/__tests__/authContext-login-fix.test.tsx439 // Step 1: Start loginCOMMENT
LOW…/src/contexts/__tests__/authContext-login-fix.test.tsx459 // Step 2: Complete getUserCOMMENT
LOW⚡…/src/contexts/__tests__/authContext-login-fix.test.tsx472 // Step 3: Complete getGlobalVariablesCOMMENT
LOW⚡…/src/contexts/__tests__/authContext-login-fix.test.tsx479 // Step 4: NOW isAuthenticated should be setCOMMENT
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts131 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts138 expect(code).toContain("# Step 2: Execute flow with all file paths");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts159 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts160 expect(code).toContain("# Step 2: Upload file for ChatInput chatNode2");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts167 expect(code).toContain("# Step 3: Execute flow with all file paths");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts185 "# Step 1: Upload file for File/VideoFile fileNode1",CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts192 expect(code).toContain("# Step 2: Execute flow with all file paths");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts209 "# Step 1: Upload file for File/VideoFile videoNode1",CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts216 expect(code).toContain("# Step 2: Execute flow with all file paths");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts233 "# Step 1: Upload file for File/VideoFile fileNode1",CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts236 "# Step 2: Upload file for File/VideoFile videoNode1",CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts242 expect(code).toContain("# Step 3: Execute flow with all file paths");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts261 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts266 "# Step 2: Upload file for File/VideoFile fileNode1",CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts269 "# Step 3: Upload file for File/VideoFile videoNode1",CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts274 expect(code).toContain("# Step 4: Execute flow with all file paths");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts291 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts349 expect(code).not.toContain("# Step 1:");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts364 expect(code).not.toContain("# Step 1:");CODE
LOW⚡…odals/apiModal/utils/__tests__/get-js-api-code.test.ts109 expect(code).toContain("// Step 1: Upload file for ChatInput chatNode1");CODE
LOW⚡…odals/apiModal/utils/__tests__/get-js-api-code.test.ts115 expect(code).toContain("// Step 2: Execute flow with all file paths");CODE
83 more matches not shown…
Structural Annotation Overuse140 hits · 237 pts
SeverityFileLineSnippetContext
LOW.agents/skills/component-refactoring/SKILL.md334### Step 1: Assess ComplexityCOMMENT
LOW.agents/skills/component-refactoring/SKILL.md343### Step 2: PlanCOMMENT
LOW.agents/skills/component-refactoring/SKILL.md356### Step 3: Execute IncrementallyCOMMENT
LOW.agents/skills/component-refactoring/SKILL.md373### Step 4: VerifyCOMMENT
LOW…ls/component-refactoring/references/hook-extraction.md16### Step 1: Identify State GroupsCOMMENT
LOW…ls/component-refactoring/references/hook-extraction.md29### Step 2: Identify Related EffectsCOMMENT
LOW…ls/component-refactoring/references/hook-extraction.md49### Step 3: Create the HookCOMMENT
LOW…ls/component-refactoring/references/hook-extraction.md107### Step 4: Update ComponentCOMMENT
LOWsrc/lfx/PLUGGABLE_SERVICES.md452### Step 1: Implement the Service ClassCOMMENT
LOWsrc/lfx/PLUGGABLE_SERVICES.md478### Step 2: Register the ServiceCOMMENT
LOWsrc/lfx/PLUGGABLE_SERVICES.md507### Step 3: Use the ServiceCOMMENT
LOW⚡…x/tests/data/starter_projects_1_6_0/Pokédex Agent.json765 "value": "import json\nimport re\nimport tempfile\nfrom datetime import datetime, timezone\nfrom pathlibCODE
LOW⚡…fx/tests/data/starter_projects_1_6_0/SaaS Pricing.json1294 "value": "# Subscription Pricing Calculator\n\n## Purpose\nCalculate the optimal monthly subscription prCODE
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1067 # Step 1: Check if SSRF protection is enabledCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1074 # Step 2: Parse and validate URL formatCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1086 # Step 3: Validate URL scheme (raises SSRFProtectionError for any non-http/https scheme)COMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1091 # Step 4: Extract and validate hostnameCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1096 # Step 5: Check allowlist (early return for trusted hosts)COMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1105 # Step 6: Handle direct IP addressesCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1133 # Step 7: Resolve hostname to IP addressesCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1141 # Step 8: Validate all resolved IPsCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1163 # Step 9: Block if any resolved IPs are private/internalCOMMENT
LOW⚡src/lfx/src/lfx/utils/ssrf_protection.py1185 # Step 10: Return validated IPs for DNS pinningCOMMENT
LOWsrc/lfx/src/lfx/components/data_source/api_request.py840 # Step 3: Infer file extension or use part of the request URL if no filenameCOMMENT
LOW⚡src/lfx/src/lfx/components/data_source/api_request.py859 # Step 4: Define the full file pathCOMMENT
LOW⚡src/lfx/src/lfx/components/data_source/api_request.py868 # Step 5: Check if file exists asynchronously and handle accordinglyCOMMENT
LOW⚡src/lfx/src/lfx/base/models/groq_model_discovery.py76 # Step 1: Get list of available modelsCOMMENT
LOW⚡src/lfx/src/lfx/base/models/groq_model_discovery.py80 # Step 2: Categorize modelsCOMMENT
LOW⚡src/lfx/src/lfx/base/models/groq_model_discovery.py90 # Step 3: Test LLM models for chat completion and tool callingCOMMENT
LOWsrc/lfx/src/lfx/base/models/groq_model_discovery.py116 # Step 4: Add non-LLM models as unsupportedCOMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py528 # Step 1: Refresh/cache model options, set defaults and input_typesCOMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py596 # Step 2: Reset provider-specific visibility without changing values.COMMENT
LOW…lfx/src/lfx/base/models/unified_models/build_config.py608 # Step 3: Show/configure the right fields for the selected providerCOMMENT
LOW…c/frontend/tests/core/unit/fileUploadComponent.spec.ts711 // Step 1: First navigate to files page and upload both filesCOMMENT
LOW…c/frontend/tests/core/unit/fileUploadComponent.spec.ts773 // Step 2: Create a flow with File component and check if PSD file is disabledCOMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts39 // Step 1: create a destination project. `add-project-button`COMMENT
LOW⚡…/regression/general-bugs-move-flow-from-folder.spec.ts57 // Step 2: go back to the source project. The destination's queryCOMMENT
LOW⚡…/regression/general-bugs-move-flow-from-folder.spec.ts65 // Step 3: real HTML5 drag-and-drop — `dragTo()` populatesCOMMENT
LOW…/regression/general-bugs-move-flow-from-folder.spec.ts80 // Step 4: click the destination. The flow must be visible. Use aCOMMENT
LOW…/src/contexts/__tests__/authContext-login-fix.test.tsx439 // Step 1: Start loginCOMMENT
LOW…/src/contexts/__tests__/authContext-login-fix.test.tsx459 // Step 2: Complete getUserCOMMENT
LOW⚡…/src/contexts/__tests__/authContext-login-fix.test.tsx472 // Step 3: Complete getGlobalVariablesCOMMENT
LOW⚡…/src/contexts/__tests__/authContext-login-fix.test.tsx479 // Step 4: NOW isAuthenticated should be setCOMMENT
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts131 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts138 expect(code).toContain("# Step 2: Execute flow with all file paths");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts159 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts160 expect(code).toContain("# Step 2: Upload file for ChatInput chatNode2");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts167 expect(code).toContain("# Step 3: Execute flow with all file paths");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts185 "# Step 1: Upload file for File/VideoFile fileNode1",CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts192 expect(code).toContain("# Step 2: Execute flow with all file paths");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts209 "# Step 1: Upload file for File/VideoFile videoNode1",CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts216 expect(code).toContain("# Step 2: Execute flow with all file paths");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts233 "# Step 1: Upload file for File/VideoFile fileNode1",CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts236 "# Step 2: Upload file for File/VideoFile videoNode1",CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts242 expect(code).toContain("# Step 3: Execute flow with all file paths");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts261 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts266 "# Step 2: Upload file for File/VideoFile fileNode1",CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts269 "# Step 3: Upload file for File/VideoFile videoNode1",CODE
LOW⚡…s/apiModal/utils/__tests__/get-python-api-code.test.ts274 expect(code).toContain("# Step 4: Execute flow with all file paths");CODE
LOW…s/apiModal/utils/__tests__/get-python-api-code.test.ts291 expect(code).toContain("# Step 1: Upload file for ChatInput chatNode1");CODE
80 more matches not shown…
AI Slop Vocabulary95 hits · 232 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml427 "S101", # Asserts ok in stress harnessSTRING
MEDIUM…/API-Reference/python-examples/test-python-examples.sh151 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…erence/javascript-examples/test-javascript-examples.sh150 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…docs/API-Reference/curl-examples/test-curl-examples.sh143 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM⚡docs/openapi/openapi.json19947 "description": "Executes a specified flow by ID with optional input values, output selection, tweaks, and streamCODE
MEDIUM…/API-Reference/python-examples/test-python-examples.sh151 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…erence/javascript-examples/test-javascript-examples.sh150 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…11.0/API-Reference/curl-examples/test-curl-examples.sh143 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…/API-Reference/python-examples/test-python-examples.sh151 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…/API-Reference/python-examples/test-python-examples.sh151 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…erence/javascript-examples/test-javascript-examples.sh150 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…12.0/API-Reference/curl-examples/test-curl-examples.sh143 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…/API-Reference/python-examples/test-python-examples.sh151 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…erence/javascript-examples/test-javascript-examples.sh150 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…13.0/API-Reference/curl-examples/test-curl-examples.sh143 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUM…/API-Reference/python-examples/test-python-examples.sh151 # Streaming / long-running examples: skip in local harness (hang, flaky, or need extra setup).COMMENT
MEDIUMscripts/test-api-examples-local.sh14# harness so a user-wide LANGFLOW_DEVELOPER_API_ENABLED=false does not break the suite.COMMENT
MEDIUM.github/workflows/python_test.yml77 # version-compatibility harness (tests.constants + tests.integration.utils), which isCOMMENT
MEDIUMsrc/lfx/tests/conftest.py125# Additional fixtures for more comprehensive testing supportCOMMENT
MEDIUM…xtension/migration/test_bundle_api_changelog_script.py21 return subprocess.run( # noqa: S603 - test harness invoking git on a tmp repoCODE
MEDIUM…xtension/migration/test_bundle_api_changelog_script.py37 return subprocess.run( # noqa: S603 - test harnessCODE
MEDIUM…ts/unit/extension/migration/test_append_only_script.py33 return subprocess.run( # noqa: S603 - test harness invoking our own scriptCODE
MEDIUM…s/unit/extension/migration/test_router_trust_script.py26 return subprocess.run( # noqa: S603 - test harness invoking our own scriptCODE
MEDIUM…sts/unit/extension/migration/test_bare_names_script.py40 return subprocess.run( # noqa: S603 - test harness invoking our own scriptCODE
MEDIUM⚡src/lfx/tests/unit/utils/test_python_repl_security.py331 # An administrator's completed run must not elevate the next unbound caller.COMMENT
MEDIUMsrc/lfx/tests/unit/cli/test_prewarm_command.py189 # process-global state — incl. harness threads — so it's not asserted here.)COMMENT
LOW…ructured_output/test_structured_output_orchestrator.py111 # When schema is empty, no structuring should happen — just pass through.COMMENT
MEDIUM⚡…c/lfx/tests/unit/base/models/test_provider_registry.py41# importlib against this module's name -- robust because the running test moduleCOMMENT
LOW⚡…ts/unit/services/settings/test_mcp_composer_windows.py123 # Should not raise, just return FalseCOMMENT
LOW⚡…ts/unit/services/settings/test_mcp_composer_windows.py136 # Should not raise, just return FalseCOMMENT
MEDIUM…integration/extension/test_pilot_duckduckgo_upgrade.py391 # string-match to be robust against either form.COMMENT
MEDIUM…tests/data/starter_projects_1_6_0/Market Research.json626 "description": "# Market Research\nThis flow helps you gather comprehensive information about companies for CODE
MEDIUM…ta/starter_projects_1_6_0/Sequential Tasks Agents.json1845 "value": "# Financial Analysis Expert Protocol\n\nYou are an elite financial analyst with access to YahoCODE
MEDIUM…ests/data/starter_projects_1_6_0/Youtube Analysis.json1972 "description": "# 📖 README\nThis flow performs comprehensive analysis of YouTube videos.\n1. Extract video CODE
LOWsrc/lfx/src/lfx/type_extraction.py58 # If the return type is not a Union, then we just return it as a listCOMMENT
LOWsrc/lfx/src/lfx/interface/initialize/loading.py435 # so we can just call themCOMMENT
MEDIUMsrc/lfx/src/lfx/extension/discovery.py397 except Exception as exc: # noqa: BLE001 - pydantic raises ValidationError; bare Exception keeps the scan robustCODE
LOWsrc/lfx/src/lfx/type_extraction/type_extraction.py54 # If the return type is not a Union, then we just return it as a listCOMMENT
LOWsrc/lfx/src/lfx/graph/graph/base.py1350 # just add empty lists to complete the lengthCOMMENT
LOW⚡src/lfx/src/lfx/graph/state/model.py258 # No computed fields, just create the model directlyCOMMENT
MEDIUMsrc/lfx/src/lfx/graph/vertex/base.py986 # We should create a more robust comparisonCOMMENT
LOWsrc/lfx/src/lfx/utils/validate_cloud.py45# To add new disabled components in the future, simply add entries to this dictionary.COMMENT
MEDIUMsrc/lfx/src/lfx/utils/langflow_utils.py28 # - Consider refactoring to use lazy loading or a more robust service discovery mechanismCOMMENT
LOWsrc/lfx/src/lfx/cli/common.py817 # If we can't read or parse the file, just return NoneCOMMENT
LOWsrc/lfx/src/lfx/schema/data.py166 # If the key is not in the first object, simply add itSTRING
MEDIUM…/lfx/src/lfx/components/llm_operations/llm_selector.py499 """Return the comprehensive routing decision explanation."""STRING
MEDIUMsrc/lfx/src/lfx/custom/validate.py793 # TODO: Build a more robust check for Component inheritanceCOMMENT
MEDIUMsrc/lfx/src/lfx/base/tools/run_flow.py250 # TODO: make this more robust?COMMENT
LOW…fx/src/lfx/base/models/unified_models/model_catalog.py442 # If we can't get models, just create basic dictsCOMMENT
LOWsrc/lfx/src/lfx/base/composio/composio_base.py1318 # If action_button doesn't exist, just add the field normallyCOMMENT
LOWsrc/lfx/src/lfx/base/data/docling_utils.py312 # crash the host process in single-worker setups. Instead, just setCOMMENT
MEDIUMsrc/lfx/src/lfx/services/mcp_composer/service.py1539 # Get comprehensive error informationCOMMENT
MEDIUM…frontend/src/modals/apiModal/utils/get-js-api-code.tsx30 // Parse URL for robust hostname/port extractionCOMMENT
MEDIUM…c/frontend/src/modals/apiModal/utils/get-curl-code.tsx84 // PowerShell with here-string (most robust for complex JSON)COMMENT
MEDIUM…enderComponent/components/TableNodeComponent/index.tsx182 // More robust header detection - check if first line contains column namesCOMMENT
MEDIUM…ow/src/langflow_stepflow/translation/node_processor.py395 # Extract comprehensive component metadataCOMMENT
LOWsrc/backend/tests/unit/test_get_api_key.py59 # Patch ApiKeyRead.model_validate to just return the provided dict for easy assertionsCOMMENT
LOWsrc/backend/tests/unit/test_process.py167# Test twekas that just pass the param and value but no node id.COMMENT
LOW⚡src/backend/tests/unit/test_api_key_source.py413 # Should not raise, just return NoneCOMMENT
MEDIUM⚡…/backend/tests/unit/agentic/api/test_files_endpoint.py242 # be robust if the LLM (or a future contributor) names a file weirdly.COMMENT
35 more matches not shown…
Magic Placeholder Names22 hits · 132 pts
SeverityFileLineSnippetContext
HIGH⚡docs/openapi/openapi.json19947 "description": "Executes a specified flow by ID with optional input values, output selection, tweaks, and streamCODE
HIGHsrc/lfx/LFX_MCP.md38 "LANGFLOW_API_KEY": "<your-api-key>"CODE
HIGHsrc/lfx/LFX_MCP.md55 "LANGFLOW_API_KEY": "<your-api-key>"CODE
HIGHsrc/lfx/LFX_MCP.md71 "LANGFLOW_API_KEY": "<your-api-key>",CODE
HIGHsrc/lfx/src/lfx/templates/shell/ci-push.sh11# export LANGFLOW_API_KEY=<your-api-key>COMMENT
HIGH…rontend/tests/extended/features/mcp-server-tab.spec.ts131 // Verify "YOUR_API_KEY" is present in the JSON before generationCOMMENT
HIGH…rontend/tests/extended/features/mcp-server-tab.spec.ts132 expect(jsonBeforeGeneration).toContain("YOUR_API_KEY");CODE
HIGH⚡…rontend/tests/extended/features/mcp-server-tab.spec.ts146 // Wait for the JSON to update - it should no longer contain "YOUR_API_KEY"COMMENT
HIGH⚡…rontend/tests/extended/features/mcp-server-tab.spec.ts147 await expect(preElement).not.toContainText("YOUR_API_KEY", {CODE
HIGH⚡…rontend/tests/extended/features/mcp-server-tab.spec.ts153 // Verify that an actual API key (not "YOUR_API_KEY") is presentCOMMENT
HIGH⚡…rontend/tests/extended/features/mcp-server-tab.spec.ts160 expect(generatedApiKey).not.toBe("YOUR_API_KEY");CODE
HIGH…d/src/pages/SettingsPage/pages/McpClientPage/index.tsx26 LANGFLOW_API_KEY: "YOUR_API_KEY", // pragma: allowlist secretCODE
HIGH…d/src/pages/SettingsPage/pages/McpClientPage/index.tsx67 -e LANGFLOW_API_KEY=YOUR_API_KEY`;CODE
HIGH…pages/MainPage/pages/homePage/utils/mcpServerUtils.tsx88 return `"--headers","x-api-key","${apiKey || "YOUR_API_KEY"}"`;CODE
HIGH…pages/MainPage/pages/homePage/utils/mcpServerUtils.tsx92 return `"--headers","x-api-key","${apiKey || "YOUR_API_KEY"}"`;CODE
HIGH…/pages/homePage/utils/__tests__/mcpServerUtils.test.ts97 it("uses YOUR_API_KEY placeholder when no apiKey provided", () => {CODE
HIGH…/pages/homePage/utils/__tests__/mcpServerUtils.test.ts103 expect(headers).toContain("YOUR_API_KEY");CODE
HIGH…ponents/AgentMainContent/components/AgentCardPanel.tsx44 const key = requiresApiKey ? " \\\n -H 'x-api-key: <YOUR_API_KEY>'" : "";CODE
HIGH…ponents/AgentMainContent/components/AgentCardPanel.tsx44 const key = requiresApiKey ? " \\\n -H 'x-api-key: <YOUR_API_KEY>'" : "";CODE
HIGHsrc/backend/tests/locust/README.md145export API_KEY="your-api-key-from-setup"CODE
HIGHsrc/backend/tests/locust/README.md269export API_KEY="your-api-key"CODE
HIGHsrc/backend/base/langflow/api/v1/endpoints.py1589 x-api-key: YOUR_API_KEYSTRING
Hallucination Indicators9 hits · 105 pts
SeverityFileLineSnippetContext
CRITICAL…ocs/Lfx/samples/connections/secret_manager_resolver.py176# read = self._client.secrets.kv.v2.read_secret_version(path=secret_name)COMMENT
CRITICAL…3.0/Lfx/samples/connections/secret_manager_resolver.py176# read = self._client.secrets.kv.v2.read_secret_version(path=secret_name)COMMENT
CRITICALsrc/lfx/src/lfx/utils/image.py12from lfx.utils.helpers import get_mime_typeCODE
CRITICALsrc/lfx/src/lfx/base/data/base_file.py44from lfx.utils.helpers import build_content_type_from_extensionCODE
CRITICAL…ckend/tests/unit/agentic/helpers/test_code_security.py3477 "from concurrent import *\nfutures.process.mp.reduction.ForkingPickler.loads(payload)",CODE
CRITICALsrc/backend/base/langflow/api/v1/files.py14from lfx.utils.helpers import build_content_type_from_extensionCODE
CRITICALsrc/backend/base/langflow/api/v1/mcp_utils.py26from lfx.utils.helpers import build_content_type_from_extensionCODE
CRITICALsrc/backend/base/langflow/services/storage/utils.py1from lfx.utils.helpers import build_content_type_from_extensionCODE
CRITICAL⚡…undles/lfx-bundles/tests/test_twelvelabs_components.py320 client.return_value.embed.task.create.assert_not_called()CODE
Dead Code41 hits · 82 pts
SeverityFileLineSnippetContext
MEDIUMsrc/lfx/tests/unit/mcp/test_validate_flow.py154CODE
MEDIUMsrc/lfx/tests/unit/cli/test_serve_identity.py1037CODE
MEDIUMsrc/lfx/tests/unit/cli/test_common.py402CODE
MEDIUMsrc/lfx/tests/unit/execution/test_registry.py11CODE
MEDIUM…c/lfx/tests/unit/execution/test_in_process_executor.py108CODE
MEDIUMsrc/lfx/tests/unit/run/test_base.py1370CODE
MEDIUM…/lfx/tests/unit/base/agents/test_agent_token_wiring.py22CODE
MEDIUM…x/src/lfx/base/knowledge_bases/ingestion_sources/s3.py52CODE
MEDIUMsrc/backend/tests/unit/test_redis_job_queue_service.py1595CODE
MEDIUM…nd/tests/unit/agentic/api/test_streaming_validation.py370CODE
MEDIUM…nd/tests/unit/agentic/api/test_streaming_validation.py421CODE
MEDIUM…agentic/services/test_assistant_service_step_budget.py67CODE
MEDIUM…gentic/services/test_assistant_service_error_detail.py27CODE
MEDIUM…t/agentic/services/test_assistant_service_streaming.py448CODE
MEDIUM…t/agentic/services/test_assistant_service_streaming.py487CODE
MEDIUM…/tests/unit/agentic/services/test_tool_start_events.py237CODE
MEDIUM…kend/tests/unit/agentic/services/test_restore_point.py158CODE
MEDIUM…ntic/services/test_assistant_service_model_fallback.py210CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py195CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py226CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py296CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py825CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py854CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py906CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py1000CODE
MEDIUM…kend/tests/unit/agentic/services/test_flow_executor.py1023CODE
MEDIUM…/unit/api/v1/test_openai_responses_execution_policy.py166CODE
MEDIUMsrc/backend/tests/unit/api/v1/test_traces_api.py347CODE
MEDIUMsrc/backend/tests/unit/api/v1/test_traces_api.py409CODE
MEDIUM…ests/unit/base/knowledge_bases/test_storage_upgrade.py161CODE
MEDIUM…ests/unit/services/test_model_provider_policy_store.py302CODE
MEDIUM…ts/unit/services/test_model_provider_policy_refresh.py46CODE
MEDIUM…ts/unit/services/test_model_provider_policy_refresh.py69CODE
MEDIUM…ts/unit/services/test_model_provider_policy_refresh.py118CODE
MEDIUM…ts/unit/services/test_model_provider_policy_refresh.py137CODE
MEDIUM…ts/unit/services/test_model_provider_policy_refresh.py294CODE
MEDIUM…ts/unit/services/test_model_provider_policy_refresh.py408CODE
MEDIUM…ests/unit/services/audit/test_writer_after_rollback.py62CODE
MEDIUM…rvices/warm_registry/test_warm_registry_concurrency.py651CODE
MEDIUM…services/warm_registry/test_warm_registry_reconcile.py357CODE
MEDIUM…ase/langflow/services/background_execution/live_bus.py129CODE
Cross-Language Confusion (JS/TS)10 hits · 70 pts
SeverityFileLineSnippetContext
HIGH…nd/src/modals/apiModal/utils/get-v2-workflows-code.tsx170print(result["output"]["text"])`;CODE
HIGH⚡…nd/src/modals/apiModal/utils/get-v2-workflows-code.tsx191 print(event["data"]["chunk"], end="", flush=True)CODE
HIGH⚡…nd/src/modals/apiModal/utils/get-v2-workflows-code.tsx192 elif event["event"] == "add_message":CODE
HIGH⚡…nd/src/modals/apiModal/utils/get-v2-workflows-code.tsx193 print(event["data"])CODE
HIGH⚡…nd/src/modals/apiModal/utils/get-v2-workflows-code.tsx194 elif event["event"] == "end":CODE
HIGH⚡…nd/src/modals/apiModal/utils/get-v2-workflows-code.tsx195 print("\\n[done]")`;CODE
HIGH⚡…tend/src/modals/apiModal/utils/get-python-api-code.tsx65 print(response.text)CODE
HIGH⚡…tend/src/modals/apiModal/utils/get-python-api-code.tsx68 print(f"Error making API request: {e}")CODE
HIGH⚡…tend/src/modals/apiModal/utils/get-python-api-code.tsx70 print(f"Error parsing response: {e}")`;CODE
HIGH…tend/src/modals/apiModal/utils/get-python-api-code.tsx187print(response.json())`;CODE
AI Structural Patterns69 hits · 56 pts
SeverityFileLineSnippetContext
LOWsrc/lfx/tests/unit/cli/test_push_command.py114CODE
LOWsrc/lfx/tests/unit/cli/test_export_command.py92CODE
LOWsrc/lfx/tests/unit/cli/test_pull_command.py125CODE
LOW…sts/unit/base/knowledge_bases/test_postgres_backend.py104CODE
LOWsrc/lfx/src/lfx/memory/stubs.py199CODE
LOWsrc/lfx/src/lfx/memory/stubs.py238CODE
LOWsrc/lfx/src/lfx/graph/graph/utils.py870CODE
LOWsrc/lfx/src/lfx/graph/graph/base.py131CODE
LOWsrc/lfx/src/lfx/utils/util.py558CODE
LOWsrc/lfx/src/lfx/utils/ssrf_transport.py278CODE
LOWsrc/lfx/src/lfx/utils/ssrf_transport.py353CODE
LOWsrc/lfx/src/lfx/cli/run.py53CODE
LOWsrc/lfx/src/lfx/cli/_remote_commands.py68CODE
LOWsrc/lfx/src/lfx/cli/_remote_commands.py147CODE
LOWsrc/lfx/src/lfx/cli/_remote_commands.py223CODE
LOWsrc/lfx/src/lfx/cli/_authoring_commands.py120CODE
LOWsrc/lfx/src/lfx/cli/_running_commands.py13CODE
LOWsrc/lfx/src/lfx/cli/_running_commands.py127CODE
LOWsrc/lfx/src/lfx/cli/commands.py261CODE
LOWsrc/lfx/src/lfx/testing/runners.py305CODE
LOWsrc/lfx/src/lfx/testing/runners.py360CODE
LOWsrc/lfx/src/lfx/schema/log.py25CODE
LOWsrc/lfx/src/lfx/schema/message.py988CODE
LOWsrc/lfx/src/lfx/load/load.py146CODE
LOWsrc/lfx/src/lfx/load/load.py209CODE
LOWsrc/lfx/src/lfx/log/logger.py1003CODE
LOWsrc/lfx/src/lfx/run/base.py207CODE
LOWsrc/lfx/src/lfx/helpers/flow.py259CODE
LOWsrc/lfx/src/lfx/base/mcp/util.py2839CODE
LOWsrc/lfx/src/lfx/base/models/model_metadata.py26CODE
LOW…fx/src/lfx/base/models/unified_models/instantiation.py124CODE
LOW…fx/src/lfx/base/models/unified_models/instantiation.py633CODE
LOW…fx/src/lfx/base/models/unified_models/instantiation.py932CODE
LOW…gflow-stepflow/tests/unit/test_tool_wrapper_handler.py13CODE
LOW…t/base/knowledge_bases/test_ingestion_run_endpoints.py70CODE
LOW…backend/tests/unit/services/tracing/test_formatting.py37CODE
LOWsrc/backend/base/langflow/memory.py89CODE
LOWsrc/backend/base/langflow/memory.py135CODE
LOWsrc/backend/base/langflow/memory.py179CODE
LOWsrc/backend/base/langflow/__main__.py451CODE
LOWsrc/backend/base/langflow/__main__.py1365CODE
LOW…ackend/base/langflow/agentic/services/flow_executor.py89CODE
LOW…ackend/base/langflow/agentic/services/flow_executor.py174CODE
LOW…nd/base/langflow/agentic/services/assistant_service.py609CODE
LOWsrc/backend/base/langflow/schema/log.py17CODE
LOWsrc/backend/base/langflow/schema/playground_events.py88CODE
LOWsrc/backend/base/langflow/schema/playground_events.py123CODE
LOWsrc/backend/base/langflow/api/build.py472CODE
LOWsrc/backend/base/langflow/api/v1/store.py100CODE
LOWsrc/backend/base/langflow/api/v1/monitor.py307CODE
LOWsrc/backend/base/langflow/api/v1/models.py282CODE
LOWsrc/backend/base/langflow/api/v1/flows_helpers.py460CODE
LOWsrc/backend/base/langflow/api/v1/chat.py337CODE
LOWsrc/backend/base/langflow/api/v1/chat.py375CODE
LOWsrc/backend/base/langflow/api/v1/chat.py1111CODE
LOWsrc/backend/base/langflow/api/v1/authz_audit.py63CODE
LOWsrc/backend/base/langflow/api/v1/traces.py46CODE
LOWsrc/backend/base/langflow/api/v1/endpoints.py430CODE
LOWsrc/backend/base/langflow/api/v1/endpoints.py674CODE
LOW…kend/base/langflow/api/utils/knowledge_base_service.py91CODE
9 more matches not shown…
Overly Generic Function Names48 hits · 44 pts
SeverityFileLineSnippetContext
LOW⚡src/lfx/tests/unit/extension/test_validate.py283 "def helper():\n"CODE
LOW…c/lfx/tests/unit/mcp/test_client_global_var_headers.py116 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…c/lfx/tests/unit/mcp/test_client_global_var_headers.py186 def handle_request(request):CODE
LOW…c/lfx/tests/unit/mcp/test_client_global_var_headers.py216 def handle_request(request):CODE
LOW…c/lfx/tests/unit/mcp/test_client_global_var_headers.py236 def handle_request(request):CODE
LOW⚡src/lfx/tests/unit/custom/test_annotation_validation.py471 def helper(self) -> str:CODE
LOW⚡src/lfx/tests/unit/custom/test_annotation_validation.py475 def helper(self) -> str:CODE
LOWsrc/lfx/tests/unit/services/test_edge_cases.py294 def do_something(self):CODE
LOW…fx/components/flow_controls/data_conditional_router.py79 def process_data(self) -> Data | list[Data]:CODE
LOW…c/lfx/src/lfx/events/observability/lifecycle_events.py40 async def my_method(self, event_manager: EventManager, data: str):STRING
LOWsrc/frontend/tests/assets/test-file.py1def test_function():CODE
LOWsrc/backend/tests/unit/test_validate_code.py20def my_function(x: str) -> Path:CODE
LOW⚡src/backend/tests/unit/test_validate_code.py122def my_function(x):CODE
LOW⚡src/backend/tests/unit/test_validate_code.py133def my_function(x):CODE
LOW⚡src/backend/tests/unit/test_validate_code.py144def my_function(x):CODE
LOW⚡src/backend/tests/unit/test_validate_code.py155def my_function(x):CODE
LOW⚡src/backend/tests/unit/utils/test_validate.py206def helper():CODE
LOW⚡src/backend/tests/unit/utils/test_validate.py209def main_function():CODE
LOW⚡src/backend/tests/unit/utils/test_validate.py418def my_function():CODE
LOWsrc/backend/tests/unit/utils/test_validate.py538def helper():CODE
LOWsrc/backend/tests/unit/utils/test_validate.py558def helper():CODE
LOW⚡…ckend/tests/unit/agentic/helpers/test_code_security.py1853 "def helper():\n return None\n\n"CODE
LOW⚡…ckend/tests/unit/agentic/helpers/test_code_security.py2974 "import zipfile\n\n\ndef helper(m):\n return m.os.getenv('HOME')\n\n\nvalue = helper(zipfile)",CODE
LOW⚡…ckend/tests/unit/agentic/helpers/test_code_security.py2975 "import zipfile\n\n\ndef helper(m):\n return m.os.system('id')\n\n\nhelper(zipfile)",CODE
LOW⚡…ckend/tests/unit/agentic/helpers/test_code_security.py2979 "import zipfile\n\n\ndef helper(m=zipfile):\n return m.os.getenv('HOME')\n\n\nvalue = helper()",CODE
LOW⚡…ckend/tests/unit/agentic/helpers/test_code_security.py2981 "import tempfile\n\n\ndef helper(m):\n return m.os.getenv('HOME')\n\n\nvalue = helper(tempfile)",CODE
LOW…ckend/tests/unit/agentic/helpers/test_code_security.py1817 "def helper():\n return None\ngetattr(helper, ''.join(['__glob', 'als__']))",CODE
LOW…ckend/tests/unit/agentic/helpers/test_code_security.py2652 "def helper(value):\n return value\n\n\nclass C:\n _helper = helper\n\n"STRING
LOW⚡src/backend/tests/unit/schema/test_cross_module.py35 def process_data(data: LangflowData) -> str:CODE
LOW…onents/models_and_agents/policies/test_guarded_tool.py16def my_function(person: Person) -> str:CODE
LOW…nd/tests/unit/services/tracing/test_tracing_service.py659 async def run_task(CODE
LOW⚡src/sdk/tests/test_streaming.py236 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW⚡src/sdk/tests/test_streaming.py321 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsrc/sdk/tests/test_streaming.py40 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsrc/sdk/tests/test_streaming.py272 def handle_request(self, request: httpx.Request) -> httpx.Response: # noqa: ARG002CODE
LOWsrc/sdk/tests/test_streaming.py288 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW⚡src/sdk/tests/test_file_io.py161 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW⚡src/sdk/tests/test_file_io.py183 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW⚡src/sdk/tests/test_file_io.py272 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsrc/sdk/tests/test_file_io.py68 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsrc/sdk/tests/test_file_io.py325 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWsrc/sdk/tests/test_file_io.py355 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…/lfx-bundles/src/lfx_bundles/figranium/execute_task.py71 def execute_task(self) -> Data:CODE
LOW…ai-compatible/tests/test_openai_compatible_provider.py135 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…ai-compatible/tests/test_openai_compatible_provider.py176 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…ai-compatible/tests/test_openai_compatible_provider.py199 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…ai-compatible/tests/test_openai_compatible_provider.py223 def handle_request(request: httpx.Request) -> httpx.Response:CODE
LOW…ai-compatible/tests/test_openai_compatible_provider.py250 def handle_request(request: httpx.Request) -> httpx.Response:CODE
Slop Phrases7 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMdocs/static/files/eval_and_remediate_cleanlab.json1387 "value": "from langflow.custom import Component\nfrom langflow.io import (\n MessageTextInput,\n PCODE
MEDIUMdocs/static/files/eval_and_remediate_cleanlab.json1428 "value": "Based on the available information, I cannot provide a complete answer to this question."CODE
MEDIUMdocs/static/files/Meeting_Notes_Agent.json45 "value": "Good morning. Thanks for joining this project review meeting. We've got quite CODE
MEDIUM⚡…backend/tests/unit/agentic/api/test_code_extraction.py61 text = f"Here is the component:\n\n```python\n{VALID_COMPONENT_CODE}\n```\n\nLet me know if you need changes."CODE
MEDIUM…backend/tests/unit/agentic/api/test_code_extraction.py431Let me know if you need any modifications!"""CODE
MEDIUM⚡…backend/tests/unit/agentic/api/test_flow_extraction.py33 "Let me know if you need changes."CODE
MEDIUM…undles/src/lfx_bundles/cleanlab/cleanlab_remediator.py98 value="Based on the available information, I cannot provide a complete answer to this question.",CODE
Synthetic Comment Markers2 hits · 12 pts
SeverityFileLineSnippetContext
HIGH…/data/starter_projects_1_6_0/Instagram Copywriter.json1371 "description": "# 📖 README\n\nWelcome to the Instagram Copywriter! This flow helps you create compelling InsCODE
HIGH…fx/src/lfx/base/models/unified_models/model_catalog.py131 # Format as requestedCOMMENT
AI Response Leakage2 hits · 12 pts
SeverityFileLineSnippetContext
HIGH⚡src/backend/base/langflow/locales/en.json3649 "template_notes.basic_prompting.bd8ff52b": "# 📖 README\nThis template demonstrates a standard chat flow with additionaCODE
HIGH…ow/initial_setup/starter_projects/Basic Prompting.json524 "description": "# 📖 README\nThis template demonstrates a standard chat flow with additional instructions proCODE
TODO Padding3 hits · 5 pts
SeverityFileLineSnippetContext
LOW⚡src/backend/tests/unit/base/load/test_load.py36 # TODO: Add tests by loading a flow and running it need to text with fake llm and check if itCOMMENT
LOWsrc/backend/base/langflow/api/v1/mcp_projects.py1450 # TODO: implement an environment variable to enable/disable stateless modeCOMMENT
LOW…oogle/src/lfx_google/components/google/google_drive.py84 # TODO: Add validation to check if the document ID is validCOMMENT
Example Usage Blocks3 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/lfx/src/lfx/base/huggingface/model_bridge.py117# How to useCOMMENT
LOWsrc/lfx/src/lfx/base/huggingface/model_bridge.py124# # Example usageCOMMENT
LOWsrc/backend/base/langflow/api/v1/endpoints.py1586 ### Example usage:STRING