Build realtime web, mobile and desktop apps in Python only. No frontend experience required.
1968 matches across 17 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | website/docs/tutorials/solitaire.md | 0 | returns list of cards that will be dragged together, starting with the current card |
| HIGH | website/docs/tutorials/solitaire.md | 0 | returns list of cards that will be dragged together, starting with the current card |
| HIGH | …ples/tutorials/solitaire/solitaire-final-part1/card.py | 0 | returns list of cards that will be dragged together, starting with the current card |
| HIGH | …mples/tutorials/solitaire/solitaire-game-setup/card.py | 0 | returns list of cards that will be dragged together, starting with the current card |
| HIGH | …les/tutorials/solitaire/solitaire-fanned-piles/card.py | 0 | returns list of cards that will be dragged together, starting with the current card |
| HIGH | …k/python/examples/controls/core/column/spacing/main.py | 0 | generates a list of custom containers with length `count`. |
| HIGH | …python/examples/controls/core/column/alignment/main.py | 0 | generates a list of custom containers with length `count`. |
| HIGH | …ples/controls/core/column/horizontal_alignment/main.py | 0 | generates a list of custom containers with length `count`. |
| HIGH | …utorials/solitaire_declarative/solitaire_final/main.py | 0 | return the nearest slot to the card within snap_threshold, or none. |
| HIGH | …/solitaire_declarative/drag-and-drop/step7_field_gd.py | 0 | return the nearest slot to the card within snap_threshold, or none. |
| HIGH | …/solitaire_declarative/drag-and-drop/step8_field_gd.py | 0 | return the nearest slot to the card within snap_threshold, or none. |
| HIGH | …/solitaire_declarative/drag-and-drop/step6_field_gd.py | 0 | initialize homes & coordinates: card1 -> deck, card2 -> waste. |
| HIGH | …/solitaire_declarative/drag-and-drop/step5_field_gd.py | 0 | initialize homes & coordinates: card1 -> deck, card2 -> waste. |
| HIGH | …/solitaire_declarative/drag-and-drop/step7_field_gd.py | 0 | initialize homes & coordinates: card1 -> deck, card2 -> waste. |
| HIGH | …/solitaire_declarative/drag-and-drop/step4_field_gd.py | 0 | initialize homes & coordinates: card1 -> deck, card2 -> waste. |
| HIGH | …s/flet-charts/src/flet_charts/line_chart_data_point.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …ages/flet-charts/src/flet_charts/scatter_chart_spot.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …/flet-charts/src/flet_charts/candlestick_chart_spot.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …/packages/flet-charts/src/flet_charts/bar_chart_rod.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …kages/flet-charts/src/flet_charts/candlestick_chart.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …k/python/packages/flet-charts/src/flet_charts/types.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …k/python/packages/flet-charts/src/flet_charts/types.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …k/python/packages/flet-charts/src/flet_charts/types.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …k/python/packages/flet-charts/src/flet_charts/types.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …k/python/packages/flet-charts/src/flet_charts/types.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …k/python/packages/flet-charts/src/flet_charts/types.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …hon/packages/flet-charts/src/flet_charts/line_chart.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …hon/packages/flet-charts/src/flet_charts/line_chart.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …thon/packages/flet-charts/src/flet_charts/bar_chart.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …/packages/flet-charts/src/flet_charts/scatter_chart.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/box.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/box.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/box.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/box.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/alignment.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …k/python/packages/flet/src/flet/controls/text_style.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …k/python/packages/flet/src/flet/controls/text_style.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/animation.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/animation.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …ython/packages/flet/src/flet/controls/border_radius.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/buttons.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/buttons.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/buttons.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/buttons.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/buttons.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/buttons.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/transform.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/transform.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/transform.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/geometry.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/geometry.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/painting.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/painting.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/painting.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/painting.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/border.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | sdk/python/packages/flet/src/flet/controls/border.py | 0 | returns a copy of this object with the specified properties overridden. |
| HIGH | …hon/packages/flet-charts/src/flet_charts/line_chart.py | 0 | applies a padding for showing contents inside the tooltip. |
| HIGH | …thon/packages/flet-charts/src/flet_charts/bar_chart.py | 0 | applies a padding for showing contents inside the tooltip. |
| HIGH | …/packages/flet-charts/src/flet_charts/scatter_chart.py | 0 | applies a padding for showing contents inside the tooltip. |
| 97 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 3 | |
| LOW | tools/crocodocs/src/crocodocs/config.py | 3 | |
| LOW | tools/crocodocs/src/crocodocs/frontmatter.py | 3 | |
| LOW | tools/crocodocs/src/crocodocs/partials.py | 3 | |
| LOW | tools/crocodocs/src/crocodocs/generate.py | 3 | |
| LOW | tools/crocodocs/src/crocodocs/docs.py | 3 | |
| LOW | tools/crocodocs/src/crocodocs/cli.py | 3 | |
| LOW | tools/crocodocs/src/crocodocs/assets.py | 3 | |
| LOW | tools/crocodocs/src/crocodocs/sidebars.py | 3 | |
| LOW | tools/crocodocs/src/crocodocs/progress.py | 3 | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 9 | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 10 | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 11 | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 12 | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 13 | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 14 | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 15 | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 16 | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 17 | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 18 | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 19 | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 20 | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 21 | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 22 | |
| LOW | …examples/apps/declarative/trolli/components/sidebar.py | 1 | |
| LOW | …n/examples/apps/declarative/trolli/components/board.py | 1 | |
| LOW | …xamples/apps/declarative/trolli/components/__init__.py | 1 | |
| LOW | …xamples/apps/declarative/trolli/components/__init__.py | 2 | |
| LOW | …xamples/apps/declarative/trolli/components/__init__.py | 3 | |
| LOW | …xamples/apps/declarative/trolli/components/__init__.py | 4 | |
| LOW | …examples/apps/declarative/trolli/components/dialogs.py | 1 | |
| LOW | …examples/apps/declarative/trolli/components/app_bar.py | 1 | |
| LOW | sdk/python/examples/apps/dialogs/multi_host/main.py | 15 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 1 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 1 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 1 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 1 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 7 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 8 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 8 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 9 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 10 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 10 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 10 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 15 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 15 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 19 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 19 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 20 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 20 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 20 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 20 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 26 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 27 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 27 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 31 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 31 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 31 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 36 | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 36 | |
| 854 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/crocodocs/src/crocodocs/partials.py | 74 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/crocodocs/src/crocodocs/partials.py | 76 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/crocodocs/src/crocodocs/partials.py | 145 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/crocodocs/src/crocodocs/partials.py | 147 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/crocodocs/src/crocodocs/partials.py | 214 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/crocodocs/src/crocodocs/partials.py | 216 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/modal_routes/main.py | 21 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/modal_routes/main.py | 23 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/modal_routes/main.py | 95 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/modal_routes/main.py | 97 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/modal_routes/main.py | 145 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/modal_routes/main.py | 147 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 3 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 5 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 18 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 20 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 64 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 66 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 129 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 131 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 187 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 189 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 7 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 9 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 33 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 35 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 63 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 65 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 108 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 110 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 167 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 169 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 282 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 284 | # --------------------------------------------------------------------------- |
| MEDIUM | …n/packages/flet-cli/tests/test_project_dependencies.py | 10 | # --------------------------------------------------------------------------- |
| MEDIUM | …n/packages/flet-cli/tests/test_project_dependencies.py | 12 | # --------------------------------------------------------------------------- |
| MEDIUM | …n/packages/flet-cli/tests/test_project_dependencies.py | 143 | # --------------------------------------------------------------------------- |
| MEDIUM | …n/packages/flet-cli/tests/test_project_dependencies.py | 145 | # --------------------------------------------------------------------------- |
| MEDIUM | …let/integration_tests/examples/apps/test_use_dialog.py | 15 | # --------------------------------------------------------------------------- |
| MEDIUM | …let/integration_tests/examples/apps/test_use_dialog.py | 17 | # --------------------------------------------------------------------------- |
| MEDIUM | …let/integration_tests/examples/apps/test_use_dialog.py | 77 | # --------------------------------------------------------------------------- |
| MEDIUM | …let/integration_tests/examples/apps/test_use_dialog.py | 79 | # --------------------------------------------------------------------------- |
| MEDIUM | …let/integration_tests/examples/apps/test_use_dialog.py | 142 | # --------------------------------------------------------------------------- |
| MEDIUM | …let/integration_tests/examples/apps/test_use_dialog.py | 144 | # --------------------------------------------------------------------------- |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 44 | # --------------------------------------------------------------------------- |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 46 | # --------------------------------------------------------------------------- |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 272 | # --------------------------------------------------------------------------- |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 274 | # --------------------------------------------------------------------------- |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 408 | # --------------------------------------------------------------------------- |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 410 | # --------------------------------------------------------------------------- |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 488 | # --------------------------------------------------------------------------- |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 490 | # --------------------------------------------------------------------------- |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 698 | # --------------------------------------------------------------------------- |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 700 | # --------------------------------------------------------------------------- |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 810 | # --------------------------------------------------------------------------- |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 812 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/packages/flet/tests/test_router_recursive.py | 26 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/packages/flet/tests/test_router_recursive.py | 28 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/packages/flet/tests/test_router_recursive.py | 92 | # --------------------------------------------------------------------------- |
| MEDIUM | sdk/python/packages/flet/tests/test_router_recursive.py | 94 | # --------------------------------------------------------------------------- |
| 76 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 166 | def _modernize_annotation_text(text: str) -> str: |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 432 | def _normalize_python_statement(code: str) -> tuple[str, bool]: |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 476 | def _formatted_function_signature(obj: Any) -> str: |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 500 | def _formatted_attribute_signature(obj: Any) -> str | None: |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 115 | def _candidate_simple_root_urls(base_url: str) -> list[str]: |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 158 | def _parse_anchor_text_and_href(html: str) -> list[tuple[str, str]]: |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 185 | def _filename_from_href_or_text(text: str, href: str) -> str: |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 221 | def _platforms_from_wheel_tags(tags) -> set[str]: |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 311 | def _fetch_packages_and_versions_cached( |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 405 | def _merge_duplicate_projects(packages_raw: ProjectIndex) -> ProjectIndex: |
| LOW | tools/crocodocs/src/crocodocs/partials.py | 22 | def _normalize_local_markdown_links(content: str) -> str: |
| LOW | tools/crocodocs/src/crocodocs/partials.py | 39 | def _escape_mdx_text_outside_code(content: str) -> str: |
| LOW | tools/crocodocs/src/crocodocs/partials.py | 67 | def _normalize_cli_partial_markdown(content: str) -> str: |
| LOW | tools/crocodocs/src/crocodocs/generate.py | 70 | def _extract_api_data_with_griffe( |
| LOW | tools/crocodocs/src/crocodocs/generate.py | 119 | def _should_skip_example_path(root: Path, path: Path) -> bool: |
| LOW | tools/crocodocs/src/crocodocs/generate.py | 166 | def _generate_examples_metadata(examples_root: Path, output_path: Path) -> int: |
| LOW | tools/crocodocs/src/crocodocs/docs.py | 32 | def extract_symbol_blocks_from_mdx( |
| LOW | tools/crocodocs/src/crocodocs/cli.py | 18 | def _add_shared_generate_arguments(parser: argparse.ArgumentParser) -> None: |
| LOW | tools/crocodocs/src/crocodocs/cli.py | 72 | def _apply_shared_generate_overrides(config, args: argparse.Namespace) -> None: |
| LOW | tools/crocodocs/src/crocodocs/sidebars.py | 61 | def _convert_category_mapping( |
| LOW | tools/crocodocs/src/crocodocs/sidebars.py | 104 | def _convert_labeled_source_entry( |
| LOW | tools/crocodocs/src/crocodocs/sidebars.py | 136 | def build_sidebars_from_source( |
| LOW | tools/crocodocs/src/crocodocs/sidebars.py | 157 | def write_sidebars_js_from_source( |
| LOW | …cs/src/crocodocs/scripts/cross_platform_permissions.py | 28 | def _load_cross_platform_permissions() -> dict: |
| LOW | …cs/src/crocodocs/scripts/cross_platform_permissions.py | 87 | def cross_platform_permissions_list() -> str: |
| LOW | tools/crocodocs/src/crocodocs/scripts/cli_to_md.py | 9 | def render_flet_cli_as_markdown( |
| LOW | website/functions/api/confirm-subscription.js | 35 | async function subscribeMailingListMember(mailgunApiKey, listName, memberAddress) { |
| LOW | website/src/components/crocodocs/utils.js | 233 | export function firstSentenceFromDocstring(docstring, docstringSections) { |
| LOW | website/src/components/crocodocs/utils.js | 405 | function resolveRestCrossReference(role, target, context) { |
| LOW | website/src/components/crocodocs/utils.js | 545 | function renderTextWithCrossReferences(text, context, keyPrefix) { |
| LOW | website/src/components/crocodocs/utils.js | 580 | function preprocessCrossReferenceMarkdown(text, context) { |
| LOW | website/src/components/crocodocs/utils.js | 604 | function preprocessRestCrossReferenceMarkdown(text, context) { |
| LOW | website/src/components/crocodocs/utils.js | 735 | function normalizeDocstringMarkdown(docstring) { |
| LOW | website/src/theme/DocItem/Layout/index.js | 27 | function CrocoDocsTOCDesktopPlaceholder() { |
| LOW | …ython/examples/extensions/geolocator/example_1/main.py | 29 | async def handle_permission_request(e: ft.Event[ft.OutlinedButton]): |
| LOW | …ython/examples/extensions/geolocator/example_1/main.py | 37 | async def handle_get_permission_status(e: ft.Event[ft.OutlinedButton]): |
| LOW | …ython/examples/extensions/geolocator/example_1/main.py | 44 | async def handle_get_current_position(e: ft.Event[ft.OutlinedButton]): |
| LOW | …ython/examples/extensions/geolocator/example_1/main.py | 53 | async def handle_get_last_known_position(e): |
| LOW | …ython/examples/extensions/geolocator/example_1/main.py | 64 | async def handle_location_service_enabled(e): |
| LOW | …ython/examples/extensions/geolocator/example_1/main.py | 71 | async def handle_open_location_settings(e: ft.Event[ft.OutlinedButton]): |
| LOW | sdk/python/examples/extensions/camera/example_1/main.py | 126 | def device_orientation_degrees(orientation: ft.DeviceOrientation | None) -> int: |
| LOW | sdk/python/examples/extensions/camera/example_1/main.py | 149 | def apply_last_image_transform(src_width: int | None, src_height: int | None): |
| LOW | …ython/examples/extensions/audio_recorder/basic/main.py | 45 | async def handle_audio_encoder_test(e: ft.Event[ft.Button]): |
| LOW | …/extensions/datatable2/sortable_and_selectable/main.py | 59 | def handle_row_selection_change(e: ft.Event[ftd.DataRow2]) -> None: |
| LOW | …ntrols/core/dismissible/dismissible_list_tiles/main.py | 5 | async def handle_dialog_action_click(e: ft.Event[ft.TextButton]): |
| LOW | …/python/examples/controls/core/semantics/basic/main.py | 5 | def handle_gain_accessibility_focus(e: ft.Event[ft.Semantics]): |
| LOW | …/python/examples/controls/core/semantics/basic/main.py | 8 | def handle_lose_accessibility_focus(e: ft.Event[ft.Semantics]): |
| LOW | …trols/cupertino/cupertino_navigation_bar/wired/main.py | 9 | def handle_nav_destination_change(e: ft.Event[ft.CupertinoNavigationBar]): |
| LOW | …ontrols/cupertino/cupertino_timer_picker/basic/main.py | 15 | def handle_timer_picker_change(e: ft.Event[ft.CupertinoTimerPicker]): |
| LOW | …rols/material/expansion_tile/theme_mode_toggle/main.py | 18 | def handle_expansion_tile_change(e: ft.Event[ft.ExpansionTile]): |
| LOW | …es/controls/material/app_bar/theme_mode_toggle/main.py | 10 | def handle_checked_item_click(e: ft.Event[ft.PopupMenuItem]): |
| LOW | …ntrols/material/app_bar/actions_and_popup_menu/main.py | 7 | def handle_checked_item_click(e: ft.Event[ft.PopupMenuItem]): |
| LOW | …s/material/range_slider/handling_change_events/main.py | 7 | def handle_slider_change_start(e: ft.Event[ft.RangeSlider]): |
| LOW | …ls/material/data_table/sortable_and_selectable/main.py | 43 | def handle_row_selection_change(e: ft.Event[ft.DataRow]) -> None: |
| LOW | …s/controls/material/data_table/handling_events/main.py | 5 | def handle_row_selection_change(e: ft.Event[ft.DataRow]) -> None: |
| LOW | sdk/python/examples/apps/studio_gallery/video_player.py | 58 | def handle_playback_rate_change(e: ft.Event[ft.Slider]): |
| LOW | …/python/examples/apps/declarative/shape_drawer/main.py | 82 | def handle_secondary_tap_down(e: ft.TapEvent): |
| LOW | sdk/python/examples/apps/declarative/trolli/main.py | 37 | def parse_board_id_from_route(route: str) -> Optional[int]: |
| LOW | sdk/python/examples/apps/7guis/flight_booker/main.py | 28 | def handle_departure_picker_change(e: ft.Event[ft.DatePicker]): |
| LOW | sdk/python/examples/apps/7guis/flight_booker/main.py | 34 | def handle_return_picker_change(e: ft.Event[ft.DatePicker]): |
| 345 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | sdk/python/packages/flet-video/src/flet_video/video.py | 363 | Captures a screenshot of the current video frame. Args: format: The image format to return |
| HIGH | …dio-recorder/src/flet_audio_recorder/audio_recorder.py | 58 | Starts recording audio and saves it to a file or streams it. If neither `upload` nor :attr:`on_stream` |
| HIGH | …on/packages/flet-cli/src/flet_cli/utils/android_sdk.py | 309 | Install a single SDK package when it is not already present. Args: home_dir: Android SDK h |
| HIGH | …on/packages/flet-cli/src/flet_cli/utils/android_sdk.py | 390 | Query installed SDK packages using `sdkmanager`. Args: home_dir: Android SDK home director |
| HIGH | …thon/packages/flet-cli/src/flet_cli/utils/processes.py | 12 | Execute a subprocess command with optional streamed logging. On Windows, the console output code page is tempo |
| HIGH | sdk/python/packages/flet-web/src/flet_web/uploads.py | 62 | Compute HMAC signature for upload URL validation. Signature derivation: - derive a short-lived signing key |
| HIGH | …hon/packages/flet-web/src/flet_web/fastapi/flet_app.py | 398 | Build signed upload URL for a file. Args: file_name: File name to be uploaded. |
| HIGH | sdk/python/packages/flet/src/flet/security/__init__.py | 76 | Decrypts data produced by `encrypt()`. Input format must be `base64url(salt + token)`, where the first 16 byte |
| HIGH | sdk/python/packages/flet/src/flet/security/__init__.py | 134 | Decrypts data produced by `encrypt_aes_gcm_256()`. Input format must be `base64url(salt + nonce + ciphertext_a |
| HIGH | sdk/python/packages/flet/src/flet/utils/vector.py | 178 | Returns a copy scaled to the specified magnitude. Args: value: Target magnitude. |
| HIGH | sdk/python/packages/flet/src/flet/utils/hashing.py | 20 | Calculates SHA-256 digest for a file. The file is read incrementally using `blocksize` chunks. Args: |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 480 | Validate that a field contains at least `min_count` visible controls. Property docstring Raises wordin |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 808 | Validate that a field value is an integer factor of `base`. Property docstring Raises wording: |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 866 | Validate that a field value is an integer multiple of `divisor`. Property docstring Raises wording: |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 1011 | Validate that `value` belongs to a fixed set of allowed values. Property docstring Raises wording: |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 1064 | Validate that at least one field rule passes. Args: rules: Field rules evaluated in declar |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 1169 | Validate that a sized field has length greater than or equal to `minimum`. Property docstring Raises w |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 1233 | Validate that a sized field has length equal to `expected`. Property docstring Raises wording: |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 1296 | Validate that a sized field length is between bounds, inclusive. Property docstring Raises wording: |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 1680 | Normalize `None` handling for field-level validators. Args: instance: Model or control instance being |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 1718 | Load and normalize values for a field-vs-field comparison rule. Args: instance: Model or control insta |
| HIGH | …/packages/flet/src/flet/controls/scrollable_control.py | 379 | Moves the scroll position. Args: offset: Absolute scroll target in pixels. A negative valu |
| HIGH | sdk/python/packages/flet/src/flet/controls/colors.py | 86 | Selects a random color, with optional exclusions and weights. Args: exclude: A list of Col |
| HIGH | sdk/python/packages/flet/src/flet/controls/colors.py | 113 | Returns a color with the given opacity. Args: opacity: The opacity value between `0.0` and |
| HIGH | …s/flet/src/flet/controls/cupertino/cupertino_colors.py | 53 | Returns the color with the specified opacity. Args: opacity: The opacity value between `0. |
| HIGH | …s/flet/src/flet/controls/cupertino/cupertino_colors.py | 83 | Selects a random color, with optional exclusions and weights. Args: exclude: A list of col |
| HIGH | …/flet/src/flet/controls/services/shared_preferences.py | 19 | Sets a value for the given key. Note: Due to limitations on Android, it is not possible to |
| HIGH | …/packages/flet/src/flet/controls/services/clipboard.py | 64 | Stores file references on the clipboard. Args: files: A list of file paths. Retur |
| HIGH | …ackages/flet/src/flet/controls/services/file_picker.py | 220 | Selects a directory and returns its absolute path. Args: dialog_title: The title of the di |
| HIGH | …python/packages/flet/src/flet/testing/flet_test_app.py | 511 | Create an animated GIF from a sequence of PNG frames. Exactly one of `image_names` or `frames` must be provided |
| HIGH | …/python/packages/flet/src/flet/components/component.py | 467 | Create a frozen `Component` wrapper for a function call. Args: fn: Component function deco |
| HIGH | sdk/python/packages/flet/src/flet/messaging/session.py | 431 | Invokes a client-side control method and waits for the response. Args: control_id: Target |
| HIGH | …hon/packages/flet-desktop/src/flet_desktop/__init__.py | 324 | Resolve desktop client executable, prepare launch arguments, and environment. Resolution strategy (per platfor |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …les/extensions/charts/matplotlib_chart/animate/main.py | 48 | # Creating the Animation object |
| MEDIUM | …python/packages/flet-cli/src/flet_cli/utils/distros.py | 51 | # Create the symbolic link |
| MEDIUM | …s/flet/integration_tests/controls/core/test_pagelet.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …ages/flet/integration_tests/controls/core/test_icon.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …s/flet/integration_tests/controls/core/test_control.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …integration_tests/controls/core/test_responsive_row.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …flet/integration_tests/controls/core/test_page_view.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …tion_tests/controls/theme/test_expansion_tile_theme.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …gration_tests/controls/theme/test_text_button_theme.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …ts/controls/theme/test_floating_action_button_theme.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …ion_tests/controls/theme/test_outlined_button_theme.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …n_tests/controls/theme/test_date_range_picker_theme.py | 10 | # Create a new flet_app instance for each test method |
| MEDIUM | …gration_tests/controls/theme/test_icon_button_theme.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …egration_tests/controls/theme/test_data_table_theme.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …/integration_tests/controls/theme/test_button_theme.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …ation_tests/controls/theme/test_filled_button_theme.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …/integration_tests/controls/theme/test_color_scheme.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …tegration_tests/controls/theme/test_list_tile_theme.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …gration_tests/controls/theme/test_date_picker_theme.py | 10 | # Create a new flet_app instance for each test method |
| MEDIUM | …tests/controls/cupertino/test_cupertino_date_picker.py | 10 | # Create a new flet_app instance for each test method |
| MEDIUM | …ests/controls/cupertino/test_cupertino_alert_dialog.py | 10 | # Create a new flet_app instance for each test method |
| MEDIUM | …gration_tests/controls/material/test_expansion_tile.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …/integration_tests/controls/material/test_list_tile.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …ntegration_tests/controls/material/test_date_picker.py | 10 | # Create a new flet_app instance for each test method |
| MEDIUM | …/flet/integration_tests/controls/material/test_tabs.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …integration_tests/controls/material/test_data_table.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …ntegration_tests/controls/material/test_time_picker.py | 10 | # Create a new flet_app instance for each test method |
| MEDIUM | …_tests/controls/material/test_reorderable_list_view.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …let/integration_tests/controls/material/test_banner.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …et/integration_tests/controls/material/test_divider.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …tests/controls/material/test_floating_action_button.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …t/integration_tests/controls/material/test_dropdown.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …ation_tests/controls/material/test_segmented_button.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …gration_tests/controls/material/test_navigation_bar.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …tegration_tests/controls/material/test_alert_dialog.py | 10 | # Create a new flet_app instance for each test method |
| MEDIUM | …t/integration_tests/controls/material/test_checkbox.py | 8 | # Create a new flet_app instance for each test method |
| MEDIUM | …tion_tests/controls/material/test_date_range_picker.py | 10 | # Create a new flet_app instance for each test method |
| MEDIUM | …/integration_tests/controls/services/test_clipboard.py | 13 | # Create a new flet_app instance for each test method. |
| MEDIUM | …egration_tests/controls/services/test_storage_paths.py | 9 | # Create a new flet_app instance for each test method. |
| MEDIUM | …et/integration_tests/controls/services/test_battery.py | 8 | # Create a new flet_app instance for each test method. |
| MEDIUM | …ion_tests/controls/services/test_shared_preferences.py | 10 | # Create a new flet_app instance for each test method. |
| MEDIUM | .github/workflows/ci.yml | 527 | # Create a compressed tarball of the "flet" directory for distribution |
| MEDIUM | client/pubspec.yaml | 115 | # The following section is specific to Flutter. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 86 | except Exception: |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 229 | except Exception: # pragma: no cover |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 331 | except Exception: # pragma: no cover |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 730 | except Exception: |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 44 | except Exception: |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 207 | except Exception: |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 214 | except Exception: |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 337 | except Exception as e: |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 373 | except Exception: |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 394 | except Exception as e: |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 487 | except Exception as e: |
| LOW | tools/crocodocs/src/crocodocs/generate.py | 249 | except Exception as exc: # noqa: BLE001 |
| LOW | tools/crocodocs/src/crocodocs/watch.py | 258 | except Exception as exc: # noqa: BLE001 |
| LOW | sdk/python/examples/cookbook/cpu_bound_png_stream.py | 63 | except Exception: |
| MEDIUM | sdk/python/examples/extensions/video/events/main.py | 22 | print(f"Error: {e.data}") |
| LOW | sdk/python/examples/extensions/camera/example_1/main.py | 388 | except Exception as ex: |
| LOW | …ython/examples/extensions/audio_recorder/basic/main.py | 32 | except Exception as e: |
| MEDIUM | sdk/python/examples/extensions/lottie/example_1/main.py | 15 | on_error=lambda e: print(f"Error loading Lottie: {e.data}"), |
| MEDIUM | sdk/python/examples/extensions/lottie/example_1/main.py | 24 | on_error=lambda e: print(f"Error loading Lottie: {e.data}"), |
| LOW | …mples/controls/core/types/launch_mode/showcase/main.py | 18 | except Exception as ex: |
| MEDIUM | …mples/controls/core/types/launch_mode/showcase/main.py | 11 | def check_support(): |
| LOW | …les/controls/core/types/assertiveness/showcase/main.py | 18 | except Exception as ex: |
| MEDIUM | …les/controls/core/types/assertiveness/showcase/main.py | 11 | def announce(): |
| LOW | sdk/python/examples/community/mind_queue/main.py | 204 | except Exception as ex: |
| LOW | sdk/python/examples/community/mind_queue/main.py | 315 | except Exception as ex: |
| LOW | sdk/python/examples/community/mind_queue/main.py | 328 | except Exception as ex: |
| LOW | sdk/python/examples/community/mind_queue/main.py | 339 | except Exception as ex: |
| LOW | sdk/python/examples/community/mind_queue/main.py | 363 | except Exception as ex: |
| LOW | sdk/python/examples/community/mind_queue/main.py | 388 | except Exception as ex: |
| MEDIUM | sdk/python/examples/community/mind_queue/main.py | 181 | def on_add(ev): |
| LOW | sdk/python/examples/apps/studio_gallery/calculator.py | 28 | except Exception: |
| LOW | sdk/python/examples/apps/studio_gallery/calculator.py | 34 | except Exception: |
| LOW | sdk/python/examples/apps/studio_gallery/calculator.py | 37 | except Exception: |
| MEDIUM | sdk/python/examples/apps/studio_gallery/calculator.py | 31 | def parse_float(v, fallback=0.0): |
| LOW | …hon/examples/apps/declarative/component_dialog/main.py | 43 | except Exception as e: |
| LOW | sdk/python/examples/services/storagepaths/basic/main.py | 33 | except Exception as e: |
| LOW | …k/python/packages/flet-cli/src/flet_cli/utils/plist.py | 36 | except Exception: |
| LOW | …es/flet-cli/src/flet_cli/utils/project_dependencies.py | 130 | except Exception: |
| LOW | …thon/packages/flet-cli/src/flet_cli/commands/create.py | 139 | except Exception as e: |
| MEDIUM | …ython/packages/flet-cli/src/flet_cli/commands/serve.py | 101 | console.print(f"Error: {e}", style=error_style) |
| LOW | …n/packages/flet-cli/src/flet_cli/commands/emulators.py | 260 | except Exception as exc: # pragma: no cover - defensive |
| LOW | …/packages/flet-cli/src/flet_cli/commands/build_base.py | 1218 | except Exception as e: |
| LOW | …ages/flet-web/src/flet_web/fastapi/flet_app_manager.py | 136 | except Exception as e: |
| LOW | …ages/flet-web/src/flet_web/fastapi/flet_app_manager.py | 143 | except Exception: |
| LOW | …ages/flet-web/src/flet_web/fastapi/flet_app_manager.py | 180 | except Exception as e: |
| MEDIUM | …ages/flet-web/src/flet_web/fastapi/flet_app_manager.py | 133 | def _connect(): |
| LOW | …hon/packages/flet-web/src/flet_web/fastapi/flet_app.py | 180 | except Exception as e: |
| LOW | …hon/packages/flet-web/src/flet_web/fastapi/flet_app.py | 206 | except Exception: |
| LOW | …hon/packages/flet-web/src/flet_web/fastapi/flet_app.py | 228 | except Exception as e: |
| LOW | …hon/packages/flet-web/src/flet_web/fastapi/flet_app.py | 306 | except Exception as e: |
| MEDIUM | sdk/python/packages/flet/src/flet/version.py | 70 | print(f"Error getting Git version: {e}", file=sys.stderr) |
| MEDIUM | sdk/python/packages/flet/src/flet/version.py | 72 | print(f"Error running Git: {e}", file=sys.stderr) |
| LOW | sdk/python/packages/flet/src/flet/version.py | 134 | except Exception as e: |
| MEDIUM | sdk/python/packages/flet/src/flet/version.py | 135 | print(f"Error parsing {fvmrc_path!r}: {e}", file=sys.stderr) |
| LOW | sdk/python/packages/flet/src/flet/app.py | 358 | except Exception as e: |
| LOW | …on/packages/flet/src/flet/utils/griffe_deprecations.py | 64 | except Exception: |
| LOW | …on/packages/flet/src/flet/utils/griffe_deprecations.py | 242 | except Exception: |
| LOW | …on/packages/flet/src/flet/utils/griffe_deprecations.py | 245 | except Exception: |
| LOW | sdk/python/packages/flet/src/flet/utils/deprecated.py | 31 | except Exception: |
| LOW | sdk/python/packages/flet/src/flet/utils/object_model.py | 37 | except Exception: |
| 30 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 43 | |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 166 | |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 214 | |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 585 | |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 669 | |
| LOW | tools/crocodocs/src/crocodocs/partials.py | 150 | |
| LOW | tools/crocodocs/src/crocodocs/partials.py | 219 | |
| LOW | tools/crocodocs/src/crocodocs/generate.py | 194 | |
| LOW | tools/crocodocs/src/crocodocs/docs.py | 32 | |
| LOW | tools/crocodocs/src/crocodocs/scripts/cli_to_md.py | 9 | |
| LOW | sdk/python/examples/extensions/camera/example_1/main.py | 27 | |
| LOW | sdk/python/examples/extensions/camera/example_1/main.py | 330 | |
| LOW | …ples/tutorials/solitaire/solitaire-final-part1/card.py | 116 | |
| LOW | …n/examples/tutorials/solitaire/solitaire-final/card.py | 69 | |
| LOW | …n/examples/tutorials/solitaire/solitaire-final/card.py | 108 | |
| LOW | …mples/tutorials/solitaire/solitaire-game-rules/card.py | 118 | |
| LOW | sdk/python/examples/tutorials/calculator/calc5.py | 89 | |
| LOW | sdk/python/examples/tutorials/calculator/calc5.py | 141 | |
| LOW | sdk/python/examples/tutorials/calculator/calc.py | 89 | |
| LOW | sdk/python/examples/tutorials/calculator/calc.py | 141 | |
| LOW | …utorials/solitaire_declarative/solitaire_final/main.py | 246 | |
| LOW | sdk/python/examples/apps/calculator/main.py | 89 | |
| LOW | sdk/python/examples/apps/calculator/main.py | 141 | |
| LOW | sdk/python/examples/apps/studio_gallery/minesweeper.py | 55 | |
| LOW | sdk/python/examples/apps/studio_gallery/minesweeper.py | 85 | |
| LOW | …k/python/examples/apps/declarative/minesweeper/main.py | 60 | |
| LOW | …k/python/examples/apps/declarative/minesweeper/main.py | 90 | |
| LOW | sdk/python/examples/apps/declarative/trolli/main.py | 27 | |
| LOW | sdk/python/examples/apps/declarative/trolli/main.py | 50 | |
| LOW | sdk/python/examples/apps/icons_browser/main.py | 20 | |
| LOW | sdk/python/examples/apps/icons_browser/main.py | 74 | |
| LOW | sdk/python/examples/services/storagepaths/basic/main.py | 4 | |
| LOW | …ckages/flet-charts/src/flet_charts/matplotlib_chart.py | 422 | |
| LOW | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 59 | |
| LOW | …thon/packages/flet-cli/src/flet_cli/utils/processes.py | 11 | |
| LOW | …python/packages/flet-cli/src/flet_cli/utils/distros.py | 10 | |
| LOW | …python/packages/flet-cli/src/flet_cli/utils/distros.py | 27 | |
| LOW | …python/packages/flet-cli/src/flet_cli/commands/pack.py | 157 | |
| LOW | …python/packages/flet-cli/src/flet_cli/commands/pack.py | 182 | |
| LOW | …/python/packages/flet-cli/src/flet_cli/commands/run.py | 381 | |
| LOW | …/packages/flet-cli/src/flet_cli/commands/build_base.py | 1124 | |
| LOW | …/packages/flet-cli/src/flet_cli/commands/build_base.py | 1264 | |
| LOW | …/packages/flet-cli/src/flet_cli/commands/build_base.py | 1328 | |
| LOW | …/packages/flet-cli/src/flet_cli/commands/build_base.py | 1466 | |
| LOW | …/packages/flet-cli/src/flet_cli/commands/build_base.py | 1740 | |
| LOW | …/packages/flet-cli/src/flet_cli/commands/build_base.py | 2022 | |
| LOW | …hon/packages/flet-web/src/flet_web/fastapi/flet_app.py | 140 | |
| LOW | …hon/packages/flet-web/src/flet_web/fastapi/flet_app.py | 235 | |
| LOW | …ython/packages/flet/tests/test_validation_benchmark.py | 22 | |
| LOW | sdk/python/packages/flet/src/flet/version.py | 111 | |
| LOW | sdk/python/packages/flet/src/flet/app.py | 142 | |
| LOW | sdk/python/packages/flet/src/flet/app.py | 316 | |
| LOW | sdk/python/packages/flet/src/flet/app.py | 329 | |
| LOW | sdk/python/packages/flet/src/flet/utils/object_model.py | 10 | |
| LOW | …/python/packages/flet/src/flet/utils/platform_utils.py | 114 | |
| LOW | sdk/python/packages/flet/src/flet/utils/validation.py | 1755 | |
| LOW | sdk/python/packages/flet/src/flet/controls/page.py | 749 | |
| LOW | sdk/python/packages/flet/src/flet/controls/page.py | 1358 | |
| LOW | …/python/packages/flet/src/flet/controls/value_types.py | 85 | |
| LOW | …python/packages/flet/src/flet/controls/base_control.py | 402 | |
| 25 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | client/web/python-worker.js | 72 | print("python_module_name:", python_module_name) |
| HIGH | client/web/python-worker.js | 73 | print("micropip_include_pre:", micropip_include_pre) |
| HIGH | client/web/python-worker.js | 76 | print("Downloading app archive") |
| HIGH | client/web/python-worker.js | 86 | elif _archive_path.endswith((".tar.gz", ".tgz")): |
| HIGH | client/web/python-worker.js | 95 | print("Saving script to a file") |
| HIGH | client/web/python-worker.js | 101 | print(f"Adding {pkgs_path} to sys.path") |
| HIGH | client/web/python-worker.js | 122 | print("Loading requirements.txt:", deps) |
| HIGH | client/web/python-worker.js | 145 | print("Loading pyproject.toml deps:", pyproject_deps) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …utter/flet_charts/lib/src/matplotlib_chart_canvas.dart | 1 | import 'dart:async'; |
| LOW | …/integration_tests/controls/material/test_list_tile.py | 281 | # await flet_app.page.take_screenshot( |
| LOW | …ation_tests/examples/controls/core/test_placeholder.py | 21 | @pytest.mark.parametrize( |
| LOW | …ython/packages/flet/tests/test_object_diff_in_place.py | 221 | assert u_msg[0] == [0] |
| LOW | …ython/packages/flet/tests/test_object_diff_in_place.py | 241 | # "controls": [ |
| LOW | …ython/packages/flet/tests/test_object_diff_in_place.py | 261 | # "_i": 26, |
| LOW | …python/packages/flet/src/flet/controls/object_patch.py | 1 | # |
| LOW | …python/packages/flet/src/flet/controls/object_patch.py | 841 | self._item_removed(path, key, old, frozen=frozen) |
| LOW | …python/packages/flet/src/flet/controls/object_patch.py | 1141 | # Reconciled controls are fresh Python objects that take over |
| LOW | sdk/python/packages/flet/src/flet/components/router.py | 641 | prev_route_handler_ref = use_ref(None) |
| LOW | sdk/python/packages/flet/src/flet/components/router.py | 681 | |
| LOW | sdk/python/packages/flet/src/flet/components/router.py | 821 | # Each route component should return a View (with appbar, controls, |
| LOW | …/packages/flet/src/flet/components/hooks/use_dialog.py | 81 | if hasattr(dialog, "_frozen"): |
| LOW | …/packages/flet/src/flet/components/hooks/use_dialog.py | 101 | dialog.open = True |
| LOW | …s/flet-map/src/flutter/flet_map/lib/src/utils/map.dart | 181 | } |
| LOW | packages/flet/lib/src/flet_backend.dart | 381 | /// properties [props] to update the control's state. The [props] map |
| LOW | packages/flet/lib/src/utils/time.dart | 1 | import 'package:flutter/cupertino.dart'; |
| LOW | packages/flet/lib/src/models/control.dart | 141 | /// Triggers a control event. |
| LOW | packages/flet/lib/src/models/control.dart | 161 | |
| LOW | packages/flet/lib/src/models/control.dart | 261 | |
| LOW | packages/flet/lib/src/models/control.dart | 281 | /// tree_index := [[0, {"property|position 1": [index, {"property|position 2"}], ...}] |
| LOW | packages/flet/lib/src/models/control.dart | 301 | /// } |
| LOW | packages/flet/lib/src/protocol/session_payload.dart | 1 | class SessionPayload { |
| LOW | packages/flet/lib/src/controls/cupertino_button.dart | 101 | // defaultBackgroundColor: Colors.transparent, |
| LOW | .github/scripts/update_build_version.sh | 1 | #!/usr/bin/env bash |
| LOW | .github/scripts/update_build_version.sh | 21 | # - Development builds get versions like "1.3.0+45" (PyPI: "1.3.0.dev45"). |
| LOW | client/pubspec.yaml | 1 | name: flet_client |
| LOW | client/pubspec.yaml | 101 | |
| LOW | client/pubspec.yaml | 121 | |
| LOW | client/pubspec.yaml | 141 | # - asset: fonts/Schyler-Regular.ttf |
| LOW | client/analysis_options.yaml | 1 | # This file configures the analyzer, which statically analyzes Dart code to |
| LOW | client/analysis_options.yaml | 21 | # or a specific dart file by using the `// ignore: name_of_lint` and |
| LOW | client/linux/flutter/generated_plugin_registrant.h | 1 | // |
| LOW | client/windows/runner/utils.h | 1 | #ifndef RUNNER_UTILS_H_ |
| LOW | client/windows/runner/win32_window.cpp | 1 | #include "win32_window.h" |
| LOW | client/windows/runner/resource.h | 1 | //{{NO_DEPENDENCIES}} |
| LOW | client/windows/flutter/generated_plugin_registrant.h | 1 | // |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …utorials/solitaire_declarative/solitaire_final/main.py | 1 | # Step 8: Move piles of cards from stackable slots to stackable slots. |
| LOW | …/solitaire_declarative/drag-and-drop/step3_field_gd.py | 1 | # Step 3: Place the card into a slot if close enough when dropped, otherwise bounce |
| LOW | …/solitaire_declarative/drag-and-drop/step6_field_gd.py | 1 | # Step 6: Put cards into slot1, slot2, slot3 with offset, in other slots without offset. |
| LOW | …/solitaire_declarative/drag-and-drop/step5_field_gd.py | 1 | # Step 5: Slot has piles of Cards. When a Card is dropped into a Slot, it becomes part |
| LOW | …/solitaire_declarative/drag-and-drop/step7_field_gd.py | 1 | # Step 7: Refactor calculations to be more readable and maintainable. |
| LOW | …/solitaire_declarative/drag-and-drop/step2_field_gd.py | 1 | # Step 2: Place the card into a slot if close enough when dropped, otherwise bounce |
| LOW | …/solitaire_declarative/drag-and-drop/step1_field_gd.py | 1 | # Step 1: Basic drag-and-drop of rectangles (cards) within a bounded area. |
| LOW | …/solitaire_declarative/drag-and-drop/step8_field_gd.py | 1 | # Step 8: Move piles of cards from stackable slots to stackable slots. |
| LOW | …/solitaire_declarative/drag-and-drop/step4_field_gd.py | 1 | # Step 4: Place the card into a slot if close enough when dropped, otherwise |
| LOW | …k/python/examples/apps/declarative/minesweeper/main.py | 1 | # Step 1: Basic drag-and-drop of rectangles (cards) within a bounded area. |
| LOW | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 107 | # Step 1: Check if JAVA_HOME is set and valid |
| LOW | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 113 | # Step 2: On macOS, try /usr/libexec/java_home |
| LOW | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 126 | # Step 3: Determine platform-specific download URL |
| LOW | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 137 | # Step 4: Check if JDK is already installed |
| LOW | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 139 | # Step 5: Download and extract JDK |
| LOW | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 155 | # Step 6: Clean up archive |
| LOW | …ples/controls/material/test_reorderable_drag_handle.py | 51 | # Step 1: move item 0 downward and capture the intermediate state. |
| LOW | …ples/controls/material/test_reorderable_drag_handle.py | 60 | # Step 2: continue dragging the same item downward and capture again. |
| LOW | …ples/controls/material/test_reorderable_drag_handle.py | 70 | # Step 3: move item 0 to its expected final position. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | sdk/python/packages/flet/src/flet/controls/theme.py | 2118 | If this is null, the time picker defaults to the overall theme's |
| HIGH | sdk/python/packages/flet/src/flet/controls/theme.py | 2183 | If this is null, the time picker defaults to the overall theme's |
| HIGH | …/packages/flet/src/flet/controls/material/datatable.py | 271 | If this is not null, then this row is selectable. The current selection state of |
| HIGH | …/packages/flet/src/flet/controls/material/snack_bar.py | 312 | If not provided, but the snackbar :attr:`action` is not null, |
| HIGH | …/flet/src/flet/controls/material/form_field_control.py | 207 | If non-null, the text is displayed below the input decorator, in the same location |
| HIGH | …/flet/src/flet/controls/material/form_field_control.py | 239 | If non-null, the border's color animates to red |
| HIGH | …ckages/flet/src/flet/controls/material/alert_dialog.py | 169 | If that is null, defaults to color scheme's :attr:`flet.ColorScheme.secondary` if |
| HIGH | …hon/packages/flet/src/flet/controls/material/slider.py | 209 | If not null, a secondary track using `secondary_active_color` is drawn between |
| HIGH | …packages/flet/src/flet/controls/material/search_bar.py | 218 | If null, then the default value is 8.0 horizontally. |
| HIGH | …n/packages/flet/src/flet/controls/material/dropdown.py | 210 | If this is not null, the menu items will have extra paddings to |
| HIGH | …n/packages/flet/src/flet/controls/material/dropdown.py | 257 | If non-null, the border's color animates to red and the :attr:`helper_text` is |
| HIGH | …n/packages/flet/src/flet/controls/material/dropdown.py | 378 | If non-null, the text is displayed below the input decorator, in the same location |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …s/controls/core/types/list_tile_style/showcase/main.py | 22 | title=ft.Text("Jane Doe"), |
| LOW | …/core/types/list_tile_title_alignment/showcase/main.py | 22 | title=ft.Text("Jane Doe"), |
| LOW | sdk/python/examples/controls/core/canvas/text/main.py | 61 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, " |
| LOW | sdk/python/examples/controls/core/canvas/text/main.py | 61 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, " |
| LOW | …thon/examples/controls/core/text/custom_styles/main.py | 73 | "Lorem ipsum dolor sit amet, consectetur adipiscing " |
| LOW | …thon/examples/controls/core/text/custom_styles/main.py | 73 | "Lorem ipsum dolor sit amet, consectetur adipiscing " |
| LOW | …thon/examples/controls/core/text/custom_styles/main.py | 98 | "Lorem ipsum dolor sit amet, consectetur adipiscing " |
| LOW | …thon/examples/controls/core/text/custom_styles/main.py | 98 | "Lorem ipsum dolor sit amet, consectetur adipiscing " |
| LOW | …ntrols/core/control/expand_loose_chat_messages/main.py | 57 | "Lorem Ipsum is simply dummy text of the printing and " |
| LOW | …ntrols/core/control/expand_loose_chat_messages/main.py | 58 | "typesetting industry. Lorem Ipsum has been the industry's " |
| LOW | …upertino/cupertino_text_field/selection_change/main.py | 19 | value="Lorem ipsum dolor sit amet, consectetur adipiscing elit.", |
| LOW | …upertino/cupertino_text_field/selection_change/main.py | 19 | value="Lorem ipsum dolor sit amet, consectetur adipiscing elit.", |
| LOW | …/controls/material/text_field/selection_change/main.py | 31 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit." |
| LOW | …/controls/material/text_field/selection_change/main.py | 31 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit." |
| LOW | …es/flet/integration_tests/controls/core/test_canvas.py | 538 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed " |
| LOW | …es/flet/integration_tests/controls/core/test_canvas.py | 538 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed " |
| LOW | …ion_tests/examples/controls/material/test_list_tile.py | 16 | title="Jane Doe", |
| LOW | …ion_tests/examples/controls/material/test_textfield.py | 31 | ft.TextField(label="Name", hint_text="Jane Doe"), |
| LOW | …/packages/flet/src/flet/controls/material/list_tile.py | 97 | title="Jane Doe", |
| LOW | …/packages/flet/src/flet/controls/material/textfield.py | 279 | ft.TextField(label="Name", hint_text="Jane Doe") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …kages/flet-cli/src/flet_cli/__pyinstaller/win_utils.py | 123 | # Check if the overlay is still present |
| LOW | …python/packages/flet-cli/src/flet_cli/utils/distros.py | 43 | # Check if the member is a symbolic link |
| LOW | .github/scripts/update_build_version.sh | 61 | # Print values for debugging in logs |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 166 | # Example usage |
| LOW | …python/packages/flet-cli/src/flet_cli/utils/flutter.py | 93 | # Example usage: |
| LOW | packages/flet/lib/src/utils/launch_url.dart | 24 | /// Example usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ython/packages/flet/src/flet/controls/material/tabs.py | 214 | and :attr:`flet.TabBarView.controls`. Don't forget to update |
| MEDIUM | client/pubspec.yaml | 118 | # included with your application, so that you can use the icons in |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | sdk/python/packages/flet/src/flet/controls/page.py | 765 | def run_task( |