🕸️ Web apps in pure Python 🐍
3218 matches across 16 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/integration/test_auto_memo.py | 51 | def test_auto_memo_shared_across_pages(auto_memo_app: AppHarness): |
| LOW | tests/integration/test_lighthouse.py | 21 | def lighthouse_landing_app_root( |
| LOW | tests/integration/test_lighthouse.py | 35 | def test_landing_page_lighthouse_scores( |
| LOW | tests/integration/test_linked_state.py | 545 | def test_modify_shared_state_by_shared_token( |
| LOW | tests/integration/test_linked_state.py | 587 | def test_get_state_returns_linked_state( |
| LOW | tests/integration/test_linked_state.py | 634 | def test_unrelated_reset_does_not_break_shared_event_link_context( |
| LOW | tests/integration/test_linked_state.py | 675 | def test_concurrent_async_vars_do_not_deadlock_linked_token( |
| LOW | tests/integration/test_input.py | 84 | def test_fully_controlled_input(fully_controlled_input: AppHarness): |
| LOW | …ts/integration/test_memory_state_manager_expiration.py | 81 | def test_memory_state_manager_expires_state_end_to_end( |
| LOW | …ts/integration/test_memory_state_manager_expiration.py | 116 | def test_memory_state_manager_delays_expiration_after_use_end_to_end( |
| LOW | tests/integration/test_event_actions.py | 304 | def test_event_actions_throttle_debounce( |
| LOW | tests/integration/test_event_actions.py | 350 | def test_event_actions_dialog_form_in_form( |
| LOW | tests/integration/test_event_chain.py | 139 | async def click_yield_interim_value_async(self): |
| LOW | tests/integration/test_event_chain.py | 146 | def click_yield_interim_value(self): |
| LOW | tests/integration/test_event_chain.py | 601 | def test_event_chain_on_mount( |
| LOW | tests/integration/test_event_chain.py | 696 | def test_event_chain_on_mount_strict( |
| LOW | tests/integration/test_event_chain.py | 750 | def test_mixed_cond_event_lambda(event_chain: AppHarness, driver: WebDriver): |
| LOW | tests/integration/test_exception_handlers.py | 115 | def test_frontend_exception_handler_during_runtime( |
| LOW | tests/integration/test_exception_handlers.py | 143 | def test_backend_exception_handler_during_runtime( |
| LOW | tests/integration/test_exception_handlers.py | 171 | def test_frontend_exception_handler_with_react( |
| LOW | tests/integration/utils.py | 131 | def _has_number_of_expected_events(): |
| LOW | tests/integration/utils.py | 145 | def assert_relative_event_order( |
| LOW | tests/integration/utils.py | 194 | def poll_assert_relative_event_order( |
| LOW | tests/integration/utils.py | 210 | def _has_number_of_expected_events(): |
| LOW | tests/integration/test_call_script.py | 56 | def call_script_callback_other_arg(self, result, other_arg): |
| LOW | tests/integration/test_call_script.py | 60 | def call_scripts_inline_yield(self): |
| LOW | tests/integration/test_call_script.py | 67 | def call_script_inline_return(self): |
| LOW | tests/integration/test_call_script.py | 71 | def call_scripts_inline_yield_callback(self): |
| LOW | tests/integration/test_call_script.py | 86 | def call_script_inline_return_callback(self): |
| LOW | tests/integration/test_call_script.py | 92 | def call_script_inline_return_lambda(self): |
| LOW | tests/integration/test_call_script.py | 108 | def call_scripts_external_yield(self): |
| LOW | tests/integration/test_call_script.py | 115 | def call_script_external_return(self): |
| LOW | tests/integration/test_call_script.py | 119 | def call_scripts_external_yield_callback(self): |
| LOW | tests/integration/test_call_script.py | 134 | def call_script_external_return_callback(self): |
| LOW | tests/integration/test_call_script.py | 140 | def call_script_external_return_lambda(self): |
| LOW | tests/integration/test_call_script.py | 170 | def call_with_var_f_string_wrapped(self): |
| LOW | tests/integration/test_call_script.py | 177 | def call_with_var_str_cast_wrapped(self): |
| LOW | tests/integration/test_prod_build_pipeline.py | 42 | def all_compression_formats_env() -> Generator[None, None, None]: |
| LOW | tests/integration/test_prod_build_pipeline.py | 95 | def test_js_bundles_have_sidecars( |
| LOW | tests/integration/test_prod_build_pipeline.py | 114 | def test_css_bundles_have_sidecars( |
| LOW | tests/integration/test_upload.py | 435 | def _wrap_find_elements_by_xpath( |
| LOW | tests/integration/test_upload.py | 480 | async def poll_for_stopped_progress( |
| LOW | tests/integration/test_upload.py | 616 | async def test_upload_file_multiple(tmp_path, upload_file: AppHarness, driver): |
| LOW | tests/integration/test_upload.py | 861 | def test_upload_download_file( |
| LOW | tests/integration/test_upload.py | 936 | def test_uploaded_file_security_headers( |
| LOW | tests/integration/test_lifespan.py | 70 | async def assert_register_blocked_during_lifespan(app): |
| LOW | tests/integration/test_lifespan.py | 226 | def test_lifespan_modify_state(lifespan_app: AppHarness): |
| LOW | tests/integration/test_lifespan.py | 250 | def test_lifespan_raw_asyncio_task(lifespan_app: AppHarness): |
| LOW | tests/integration/test_dynamic_routes.py | 322 | def test_on_load_navigate_non_dynamic( |
| LOW | tests/integration/test_telemetry_compile.py | 102 | def telemetry_compile_harness( |
| LOW | tests/integration/test_telemetry_compile.py | 151 | def test_compile_event_features_used_initial_and_hot_reload( |
| LOW | tests/integration/test_precompressed_frontend.py | 36 | def all_compression_formats_env() -> Generator[None, None, None]: |
| LOW | tests/integration/test_precompressed_frontend.py | 71 | def test_prod_frontend_serves_precompressed_index_html( |
| LOW | tests/integration/test_background_task.py | 118 | async def disconnect_reconnect_background(self): |
| LOW | tests/integration/test_background_task.py | 342 | def test_nested_async_with_self( |
| LOW | tests/integration/test_background_task.py | 400 | def test_yield_in_async_with_self( |
| LOW | tests/integration/test_background_task.py | 433 | def test_disconnect_reconnect( |
| LOW | tests/integration/test_large_state.py | 11 | def _large_state_app_template(var_count: int) -> str: |
| LOW | tests/integration/test_client_storage.py | 771 | def _assert_json_cookie_with_refresh(cookie_id: str, json_value: str): |
| LOW | tests/integration/lighthouse_utils.py | 647 | def format_lighthouse_summary( |
| 1652 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/units/test_state.py | 0 | set the attribute foo. args: val: the value to set. |
| HIGH | tests/units/test_state.py | 0 | set the attribute foo. args: val: the value to set. |
| HIGH | tests/units/test_state.py | 0 | set the attribute foo. args: val: the value to set. |
| HIGH | tests/units/reflex_cli/v2/test_cli.py | 0 | the `python-dotenv` package is required to load environment variables from a file. run `pip install "python-dotenv>=1.0. |
| HIGH | packages/reflex-hosting-cli/src/reflex_cli/v2/cli.py | 0 | the `python-dotenv` package is required to load environment variables from a file. run `pip install "python-dotenv>=1.0. |
| HIGH | …ckages/reflex-hosting-cli/src/reflex_cli/v2/secrets.py | 0 | the `python-dotenv` package is required to load environment variables from a file. run `pip install "python-dotenv>=1.0. |
| HIGH | …/units/components/test_component_future_annotations.py | 0 | test controlled triggers. returns: test controlled triggers. |
| HIGH | tests/units/components/test_component.py | 0 | test controlled triggers. returns: test controlled triggers. |
| HIGH | tests/units/components/test_component.py | 0 | test controlled triggers. returns: test controlled triggers. |
| HIGH | tests/units/components/test_component.py | 0 | test controlled triggers. returns: test controlled triggers. |
| HIGH | tests/units/components/datadisplay/conftest.py | 0 | get a data table state. returns: the data table state class. |
| HIGH | tests/units/components/datadisplay/conftest.py | 0 | get a data table state. returns: the data table state class. |
| HIGH | tests/units/components/datadisplay/conftest.py | 0 | get a data table state. returns: the data table state class. |
| HIGH | tests/units/states/upload.py | 0 | handle the upload of a file. args: files: the uploaded files. |
| HIGH | tests/units/states/upload.py | 0 | handle the upload of a file. args: files: the uploaded files. |
| HIGH | tests/units/states/upload.py | 0 | handle the upload of a file. args: files: the uploaded files. |
| HIGH | tests/units/states/upload.py | 0 | handle the upload of a file. args: files: the uploaded files. |
| HIGH | docs/library/forms/upload.md | 0 | handle the upload of file(s). args: files: the uploaded files. |
| HIGH | docs/library/forms/upload.md | 0 | handle the upload of file(s). args: files: the uploaded files. |
| HIGH | docs/library/forms/upload.md | 0 | handle the upload of file(s). args: files: the uploaded files. |
| HIGH | docs/library/data-display/scroll_area.md | 0 | legibility describes how easily individual characters can be distinguished from one another. it is described by walter t |
| HIGH | docs/library/data-display/scroll_area.md | 0 | legibility describes how easily individual characters can be distinguished from one another. it is described by walter t |
| HIGH | docs/library/data-display/scroll_area.md | 0 | legibility describes how easily individual characters can be distinguished from one another. it is described by walter t |
| HIGH | docs/library/data-display/scroll_area.md | 0 | legibility describes how easily individual characters can be distinguished from one another. it is described by walter t |
| HIGH | docs/library/data-display/scroll_area.md | 0 | legibility describes how easily individual characters can be distinguished from one another. it is described by walter t |
| HIGH | docs/library/data-display/scroll_area.md | 0 | legibility describes how easily individual characters can be distinguished from one another. it is described by walter t |
| HIGH | docs/library/data-display/scroll_area.md | 0 | legibility describes how easily individual characters can be distinguished from one another. it is described by walter t |
| HIGH | docs/library/data-display/scroll_area.md | 0 | legibility describes how easily individual characters can be distinguished from one another. it is described by walter t |
| HIGH | docs/library/data-display/scroll_area.md | 0 | three fundamental aspects of typography are legibility, readability, and aesthetics. although in a non-technical sense " |
| HIGH | docs/library/data-display/scroll_area.md | 0 | three fundamental aspects of typography are legibility, readability, and aesthetics. although in a non-technical sense " |
| HIGH | docs/library/data-display/scroll_area.md | 0 | three fundamental aspects of typography are legibility, readability, and aesthetics. although in a non-technical sense " |
| HIGH | docs/getting_started/dashboard_tutorial.md | 0 | transform user gender group data into a format suitable for visualization in graphs. |
| HIGH | docs/getting_started/dashboard_tutorial.md | 0 | transform user gender group data into a format suitable for visualization in graphs. |
| HIGH | docs/getting_started/dashboard_tutorial.md | 0 | transform user gender group data into a format suitable for visualization in graphs. |
| HIGH | docs/getting_started/dashboard_tutorial.md | 0 | transform user gender group data into a format suitable for visualization in graphs. |
| HIGH | docs/getting_started/dashboard_tutorial.md | 0 | transform user gender group data into a format suitable for visualization in graphs. |
| HIGH | packages/reflex-base/src/reflex_base/vars/color.py | 0 | create a var from a string value. args: value: the value to create the var from. _var_type: the type of the var. _var_da |
| HIGH | packages/reflex-base/src/reflex_base/vars/sequence.py | 0 | create a var from a string value. args: value: the value to create the var from. _var_type: the type of the var. _var_da |
| HIGH | packages/reflex-base/src/reflex_base/vars/sequence.py | 0 | create a var from a string value. args: value: the value to create the var from. _var_type: the type of the var. _var_da |
| HIGH | packages/reflex-base/src/reflex_base/vars/sequence.py | 0 | create a var from a string value. args: value: the value to create the var from. _var_type: the type of the var. _var_da |
| HIGH | packages/reflex-base/src/reflex_base/vars/color.py | 0 | get the hash of the var. returns: the hash of the var. |
| HIGH | packages/reflex-base/src/reflex_base/vars/object.py | 0 | get the hash of the var. returns: the hash of the var. |
| HIGH | packages/reflex-base/src/reflex_base/vars/sequence.py | 0 | get the hash of the var. returns: the hash of the var. |
| HIGH | packages/reflex-base/src/reflex_base/vars/sequence.py | 0 | get the hash of the var. returns: the hash of the var. |
| HIGH | packages/reflex-base/src/reflex_base/vars/sequence.py | 0 | get the hash of the var. returns: the hash of the var. |
| HIGH | …es/reflex-base/src/reflex_base/components/component.py | 0 | get the hash of the var. returns: the hash of the var. |
| HIGH | packages/reflex-base/src/reflex_base/event/__init__.py | 0 | get the hash of the var. returns: the hash of the var. |
| HIGH | packages/reflex-base/src/reflex_base/event/__init__.py | 0 | get the hash of the var. returns: the hash of the var. |
| HIGH | packages/reflex-base/src/reflex_base/vars/sequence.py | 0 | get the json representation of the var. returns: the json representation of the var. |
| HIGH | packages/reflex-base/src/reflex_base/vars/sequence.py | 0 | get the json representation of the var. returns: the json representation of the var. |
| HIGH | packages/reflex-base/src/reflex_base/vars/number.py | 0 | get the json representation of the var. returns: the json representation of the var. |
| HIGH | packages/reflex-base/src/reflex_base/vars/number.py | 0 | calculate the hash value of the object. returns: int: the hash value of the object. |
| HIGH | packages/reflex-base/src/reflex_base/vars/number.py | 0 | calculate the hash value of the object. returns: int: the hash value of the object. |
| HIGH | packages/reflex-base/src/reflex_base/vars/base.py | 0 | calculate the hash value of the object. returns: int: the hash value of the object. |
| HIGH | packages/reflex-base/src/reflex_base/vars/base.py | 0 | represent the field in a readable format. returns: the string representation of the field. |
| HIGH | …ckages/reflex-base/src/reflex_base/components/props.py | 0 | represent the field in a readable format. returns: the string representation of the field. |
| HIGH | …es/reflex-base/src/reflex_base/components/component.py | 0 | represent the field in a readable format. returns: the string representation of the field. |
| HIGH | …ges/reflex-base/src/reflex_base/plugins/tailwind_v4.py | 0 | get the packages required by the plugin. args: **context: the context for the plugin. returns: a list of packages requir |
| HIGH | …reflex-base/src/reflex_base/plugins/shared_tailwind.py | 0 | get the packages required by the plugin. args: **context: the context for the plugin. returns: a list of packages requir |
| HIGH | …ges/reflex-base/src/reflex_base/plugins/tailwind_v3.py | 0 | get the packages required by the plugin. args: **context: the context for the plugin. returns: a list of packages requir |
| 135 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/integration/utils.py | 325 | Get a key from local storage. Args: key: The key to get. Returns: The value of |
| HIGH | tests/integration/test_upload.py | 486 | Poll for progress dictionaries to stop updating. Args: get_progress_dicts: A callable that returns the list |
| HIGH | tests/benchmarks/test_event_creation.py | 75 | Parametrized event-like input accepted by ``Event.from_event_type``. Args: request: The pytest fixture requ |
| HIGH | …kages/reflex-hosting-cli/src/reflex_cli/core/config.py | 191 | Creates a Config instance from a YAML file. Args: yaml_path: The path to the YAML file. Defaults to |
| HIGH | …kages/reflex-hosting-cli/src/reflex_cli/core/config.py | 227 | Creates a Config instance from a TOML file. Args: pyproject_path: The path to the TOML file. Defaul |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 60 | Create a ScaleAppCliArgs object. Args: regions: The regions to scale to. vm_type: The V |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 169 | Set the scale type from CLI arguments. Args: cli_args: The CLI arguments. Returns: |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 283 | Get an authenticated client. Args: token: The authentication token. interactive: If running in inte |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 393 | Validate the token with the control plane. Args: token: The access token to validate. Returns: |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 488 | Create a new access token. Args: name: The name of the token. expiration: The expiration time in se |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 619 | Search for an application by name within a specific project. Args: app_name: The name of the application to |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 684 | Search for a project by name. Args: project_name: The name of the application to search for. client |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 742 | Retrieve details of a specific application by its ID. Args: app_id: The ID of the application to retrieve. |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 784 | Create a new application. Args: app_name: The name of the application. description: The description |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 823 | Retrieve or reserve a hostname for a specific application. Args: app_id: The ID of the application. |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 908 | Retrieve secrets for a given application. Args: app_id: The ID of the application. client: The auth |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 946 | Update secrets for a given application. Args: app_id: The ID of the application. secrets: The secre |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 982 | Delete a secret for a given application. Args: app_id: The ID of the application. key: The key of t |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1020 | Create a new project. Args: name: The name of the project. client: The authenticated client Re |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1114 | Retrieve a list of projects. Args: client: The authenticated client. Returns: The list of proj |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1141 | Retrieve a single project given the project ID. Args: project_id: The ID of the project. client: Th |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1169 | Retrieve the roles for a project. Args: project_id: The ID of the project. client: The authenticate |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1201 | Retrieve the permissions for a specific role in a project. Args: project_id: The ID of the project. |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1233 | Retrieve the users for a project. Args: project_id: The ID of the project. client: The authenticate |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1265 | Invite a user to a project with a specific role. Args: role_id: The ID of the role to assign to the user. |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1368 | Create a new deployment for an application. Args: app_name: The name of the application. project_id |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1460 | Stop a running application. Args: app_id: The ID of the application. client: The authenticated clie |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1491 | Start a stopped application. Args: app_id: The ID of the application. client: The authenticated cli |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1522 | Delete an application. Args: app_id: The ID of the application. client: The authenticated client |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1564 | Retrieve logs for a given application. Args: app_id: The ID of the application. offset: The offset |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1627 | List all the hosted deployments of the authenticated user. Args: project: The project ID to filter deployme |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1664 | Retrieve the deployment history for a given application. Args: app_id: The ID of the application. c |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1705 | Retrieve the status of a specific app. Args: app_id: The ID of the app. client: The authenticated c |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1742 | Scale an application. Args: app_id: The ID of the application. scale_params: The scaling parameters |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1776 | Retrieve the status of a specific deployment. Args: deployment_id: The ID of the deployment. client |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1842 | Continuously watch the status of a specific deployment. Args: deployment_id: The ID of the deployment. |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1891 | Retrieve the build logs for a specific deployment. Args: deployment_id: The ID of the deployment. c |
| HIGH | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 2054 | Process the environment variables. Args: envs: The environment variables expected in key=value format. |
| HIGH | …/reflex-hosting-cli/src/reflex_cli/utils/dependency.py | 18 | Detect the encoding of the given file. Args: filename: The file to detect encoding for. Raises: |
| HIGH | packages/reflex-hosting-cli/src/reflex_cli/v2/cli.py | 25 | Authenticate with Reflex hosting service. Args: loglevel: The log level to use. Returns: Infor |
| HIGH | packages/reflex-hosting-cli/src/reflex_cli/v2/gcp.py | 392 | Fetch the Dockerfile + deploy script from Reflex. Args: token: The Reflex API token to authenticate with. |
| HIGH | packages/reflex-hosting-cli/src/reflex_cli/v2/gcp.py | 459 | Generate a Cloud Build config that materializes the Dockerfile inline. The Dockerfile body is dropped into a bash h |
| HIGH | packages/reflex-hosting-cli/src/reflex_cli/v2/gcp.py | 510 | Rewrite the Reflex script's `gcloud builds submit` invocation to use --config=. Replaces the (possibly multi-line) |
| HIGH | packages/reflex-base/src/reflex_base/style.py | 112 | Format a single value in a style dictionary. Args: style_item: The style item to format. Returns: |
| HIGH | packages/reflex-base/src/reflex_base/environment.py | 32 | Get the default value for a field. Args: field: The field. Returns: The default value. Ra |
| HIGH | packages/reflex-base/src/reflex_base/environment.py | 53 | Interpret a boolean environment variable value. Args: value: The environment variable value. field_ |
| HIGH | packages/reflex-base/src/reflex_base/environment.py | 77 | Interpret an integer environment variable value. Args: value: The environment variable value. field |
| HIGH | packages/reflex-base/src/reflex_base/environment.py | 97 | Interpret a float environment variable value. Args: value: The environment variable value. field_na |
| HIGH | packages/reflex-base/src/reflex_base/environment.py | 117 | Interpret a path environment variable value as an existing path. Args: value: The environment variable valu |
| HIGH | packages/reflex-base/src/reflex_base/environment.py | 150 | Interpret an environment variable value as a Plugin subclass. Resolves a fully qualified import path to the Plugin |
| HIGH | packages/reflex-base/src/reflex_base/environment.py | 190 | Interpret a plugin environment variable value. Resolves a fully qualified import path and returns an instance of th |
| HIGH | packages/reflex-base/src/reflex_base/environment.py | 214 | Interpret an enum environment variable value. Args: value: The environment variable value. field_ty |
| HIGH | packages/reflex-base/src/reflex_base/environment.py | 248 | Interpret an environment variable value based on the field type. Args: value: The environment variable valu |
| HIGH | packages/reflex-base/src/reflex_base/breakpoints.py | 55 | Create a new instance of the helper. Only provide a custom component OR use named props. Args: cust |
| HIGH | packages/reflex-base/src/reflex_base/vars/object.py | 314 | Get an attribute of the var. Args: name: The name of the attribute. Returns: T |
| HIGH | packages/reflex-base/src/reflex_base/vars/object.py | 481 | Create the literal object var. Args: _var_value: The value of the var. _var_type: The t |
| HIGH | packages/reflex-base/src/reflex_base/vars/sequence.py | 421 | Apply a function to each element of the array. Args: fn: The function to apply. Returns: |
| HIGH | packages/reflex-base/src/reflex_base/vars/number.py | 448 | Format the number. Args: format_spec: The format specifier. Returns: The forma |
| HIGH | packages/reflex-base/src/reflex_base/vars/base.py | 201 | Merge multiple var data objects. Args: *all: The var data objects to merge. Returns: |
| HIGH | packages/reflex-base/src/reflex_base/vars/base.py | 565 | Make a copy of this Var with updated fields. Args: _var_type: The new type of the Var. |
| 131 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/integration/test_var_operations.py | 649 | rx.text(VarOperationState.list3.length()), |
| HIGH | tests/integration/test_var_operations.py | 653 | rx.text(VarOperationState.obj.length()), |
| HIGH | tests/integration/test_var_operations.py | 659 | VarOperationState.list3.length(), |
| HIGH | tests/integration/test_var_operations.py | 673 | rx.text(VarOperationState.list3.length()), |
| HIGH | tests/integration/test_call_script.py | 455 | == f'["{script}1",null,{{"{script}3":42,"a":[1,2,3],"s":"js","o":{{"a":1,"b":2}}}},"async {script}4"]' |
| HIGH | tests/integration/test_call_script.py | 474 | call_script.poll_for_value(results, exp_not_equal="[]") == '[["lambda",null]]' |
| HIGH | tests/units/test_state.py | 1121 | assert ds1.dynamic_int.equals(DynamicState.dynamic_int) # pyright: ignore [reportAttributeAccessIssue] |
| HIGH | tests/units/test_state.py | 1126 | assert ds1.dynamic_list.equals(DynamicState.dynamic_list) # pyright: ignore [reportAttributeAccessIssue] |
| HIGH | tests/units/test_state.py | 1134 | assert ds1.dynamic_dict.equals(DynamicState.dynamic_dict) # pyright: ignore [reportAttributeAccessIssue] |
| HIGH | tests/units/test_state.py | 1135 | assert ds2.dynamic_dict.equals(DynamicState.dynamic_dict) # pyright: ignore [reportAttributeAccessIssue] |
| HIGH | tests/units/test_event.py | 221 | == 'ReflexEvent("_call_function", {function:(() => (console?.["log"]("message"))),callback:null})' |
| HIGH | tests/units/test_event.py | 226 | == 'ReflexEvent("_call_function", {function:(() => (console?.["log"](message))),callback:null})' |
| HIGH | tests/units/test_event.py | 231 | == 'ReflexEvent("_call_function", {function:(() => (console?.["log"](message2))),callback:null})' |
| HIGH | tests/units/test_event.py | 246 | == 'ReflexEvent("_call_function", {function:(() => (window?.["alert"]("message"))),callback:null})' |
| HIGH | tests/units/test_event.py | 251 | == 'ReflexEvent("_call_function", {function:(() => (window?.["alert"](message))),callback:null})' |
| HIGH | tests/units/test_event.py | 256 | == 'ReflexEvent("_call_function", {function:(() => (window?.["alert"](message2))),callback:null})' |
| HIGH | tests/units/test_event.py | 743 | assert frontend_handler.equals(chain_event) |
| HIGH | tests/units/test_event.py | 756 | assert not frontend_handler.equals(chain_event) |
| HIGH | tests/units/test_event.py | 931 | assert frontend_handler.equals(chain_event) |
| HIGH | tests/units/test_event.py | 776 | assert frontend_handler.equals(chain_event) |
| HIGH | tests/units/test_event.py | 825 | assert chain_event.equals(Var.create(inner)) |
| HIGH | tests/units/test_event.py | 885 | assert frontend_handler.equals(chain_event) |
| HIGH | tests/units/test_event.py | 903 | assert frontend_handler.equals(chain_event) |
| HIGH | tests/units/test_style.py | 93 | assert value.equals(d2[key]) |
| HIGH | tests/units/test_var.py | 645 | assert str(var[:1]) == f"{var._js_expr}.slice(undefined, 1)" |
| HIGH | tests/units/test_var.py | 646 | assert str(var[1:]) == f"{var._js_expr}.slice(1, undefined)" |
| HIGH | tests/units/test_var.py | 647 | assert str(var[:]) == f"{var._js_expr}.slice(undefined, undefined)" |
| HIGH | tests/units/test_var.py | 659 | assert str(str_var[:1]) == 'str.split("").slice(undefined, 1).join("")' |
| HIGH | tests/units/test_var.py | 660 | assert str(str_var[1:]) == 'str.split("").slice(1, undefined).join("")' |
| HIGH | tests/units/test_var.py | 661 | assert str(str_var[:]) == 'str.split("").slice(undefined, undefined).join("")' |
| HIGH | tests/units/test_var.py | 665 | assert str(str_var[:-1]) == 'str.split("").slice(undefined, -1).join("")' |
| HIGH | tests/units/test_var.py | 666 | assert str(str_var[-1:]) == 'str.split("").slice(-1, undefined).join("")' |
| HIGH | tests/units/test_var.py | 667 | assert str(str_var[:-2]) == 'str.split("").slice(undefined, -2).join("")' |
| HIGH | tests/units/test_var.py | 668 | assert str(str_var[-2:]) == 'str.split("").slice(-2, undefined).join("")' |
| HIGH | tests/units/test_var.py | 278 | assert prop.equals(expected) |
| HIGH | tests/units/test_var.py | 906 | == '[({ ["a"] : 1, ["b"] : 2, ["c"] : ({ ["d"] : 3, ["e"] : 4 }) }), [1, 2, 3, 4], 9, "string", true, false, nul |
| HIGH | tests/units/test_var.py | 1002 | assert str(basic_string.length()) == '"Hello, World!".split("").length' |
| HIGH | tests/units/test_var.py | 1064 | == "[1, 2, 3, 4, 5].slice(0, [1, 2, 3, 4, 5].length).slice().reverse().slice(undefined, undefined).filter((_, i) |
| HIGH | tests/units/test_var.py | 1089 | assert str(array_var.length()) == "[1, 2, 3, 4, 5].length" |
| HIGH | tests/units/test_app.py | 2093 | """fallbackRender:((event_args) => (jsx("div", ({css:({ ["height"] : "100%", ["width"] : "100%", ["position"] : |
| HIGH | tests/units/test_app.py | 2338 | """fallbackRender:((event_args) => (jsx("div", ({css:({ ["height"] : "100%", ["width"] : "100%", ["position"] : |
| HIGH | tests/units/reflex_cli/utils/test_hosting.py | 190 | ('{"project": null}', None), |
| HIGH | tests/units/components/test_component.py | 1964 | "const hook3 = useRef(null)", |
| HIGH | tests/units/components/test_component.py | 1971 | "const hook3 = useRef(null)": None, |
| HIGH | tests/units/components/test_component.py | 1977 | _js_expr="const hook3 = useRef(null)", |
| HIGH | tests/units/components/test_component.py | 1983 | "const hook3 = useRef(null)", |
| HIGH | tests/units/components/test_component.py | 609 | assert c1.number.equals(test_state.num) |
| HIGH | tests/units/components/test_component.py | 1369 | assert comp_var.equals(exp_var) |
| HIGH | tests/units/components/test_component.py | 1726 | assert v1.equals(v2) |
| HIGH | tests/units/components/core/test_colors.py | 40 | f'("var(--"+{color_state_name!s}.color{FIELD_MARKER}+"-"+(((__to_string) => __to_string.toString())({color_s |
| HIGH | tests/units/components/core/test_colors.py | 47 | f'("var(--"+{color_state_name!s}.color{FIELD_MARKER}+"-"+({color_state_name!s}.alpha{FIELD_MARKER} ? "a" : " |
| HIGH | tests/units/components/core/test_colors.py | 52 | f'("var(--"+{color_state_name!s}.color{FIELD_MARKER}+"-"+(((__to_string) => __to_string.toString())({color_s |
| HIGH | tests/units/components/core/test_colors.py | 62 | f'("var(--"+({color_state_name!s}.color_part{FIELD_MARKER}+"ato")+"-"+(((__to_string) => __to_string.toStrin |
| HIGH | tests/units/components/markdown/test_markdown.py | 72 | Var(_js_expr="(({node, children, ...props}) => undefined)"), |
| HIGH | tests/units/components/markdown/test_markdown.py | 114 | Var(_js_expr="(({node, children, ...props}) => undefined)"), |
| HIGH | tests/units/compiler/test_compiler.py | 438 | assert lang.equals(Var.create("en")) |
| HIGH | tests/units/compiler/test_compiler.py | 444 | assert char_set.equals(Var.create("utf-8")) |
| HIGH | tests/units/compiler/test_compiler.py | 448 | assert name.equals(Var.create("viewport")) |
| HIGH | tests/units/compiler/test_compiler.py | 480 | assert lang.equals(Var.create("rx")) |
| HIGH | tests/units/compiler/test_memoize_plugin.py | 393 | Bare.create(SpecialFormMemoState.items.length()), |
| 56 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/__init__.py | 3 | |
| LOW | tests/__init__.py | 5 | |
| LOW | tests/test_node_version.py | 3 | |
| LOW | tests/integration/test_deploy_url.py | 3 | |
| LOW | tests/integration/test_lighthouse.py | 3 | |
| LOW | tests/integration/test_linked_state.py | 3 | |
| LOW | tests/integration/test_event_actions.py | 3 | |
| LOW | tests/integration/test_computed_vars.py | 3 | |
| LOW | tests/integration/test_shared_state.py | 3 | |
| LOW | tests/integration/test_state_inheritance.py | 3 | |
| LOW | tests/integration/test_event_chain.py | 3 | |
| LOW | tests/integration/test_exception_handlers.py | 3 | |
| LOW | tests/integration/utils.py | 3 | |
| LOW | tests/integration/test_call_script.py | 3 | |
| LOW | tests/integration/test_prod_build_pipeline.py | 6 | |
| LOW | tests/integration/test_upload.py | 3 | |
| LOW | tests/integration/test_login_flow.py | 3 | |
| LOW | tests/integration/test_dynamic_routes.py | 3 | |
| LOW | tests/integration/test_precompressed_frontend.py | 3 | |
| LOW | tests/integration/test_client_storage.py | 3 | |
| LOW | tests/integration/lighthouse_utils.py | 3 | |
| LOW | …sts/integration/tests_playwright/test_frontend_path.py | 10 | |
| LOW | tests/integration/tests_playwright/test_mount_target.py | 9 | |
| LOW | tests/integration/tests_playwright/test_backend_path.py | 9 | |
| LOW | tests/units/test_attribute_access_type.py | 1 | |
| LOW | tests/units/test_model.py | 20 | |
| LOW | tests/units/__init__.py | 3 | |
| LOW | tests/units/__init__.py | 5 | |
| LOW | tests/units/test_state.py | 1 | |
| LOW | tests/units/test_style.py | 1 | |
| LOW | tests/units/test_app.py | 1 | |
| LOW | tests/units/middleware/test_hydrate_middleware.py | 1 | |
| LOW | tests/units/vars/test_dep_tracking.py | 3 | |
| LOW | tests/units/vars/test_dep_tracking_integration.py | 3 | |
| LOW | …sts/units/reflex_base/utils/pyi_generator/test_unit.py | 8 | |
| LOW | …its/reflex_base/utils/pyi_generator/test_regression.py | 13 | |
| LOW | tests/units/plugins/test_embed.py | 3 | |
| LOW | tests/units/reflex_cli/utils/test_hosting.py | 1 | |
| LOW | tests/units/reflex_cli/v2/test_apps.py | 1 | |
| LOW | tests/units/reflex_cli/v2/test_gcp.py | 1 | |
| LOW | tests/units/reflex_cli/v2/test_cli.py | 1 | |
| LOW | tests/units/app_mixins/test_lifespan.py | 3 | |
| LOW | tests/units/utils/test_precompressed_staticfiles.py | 3 | |
| LOW | tests/units/utils/test_build.py | 3 | |
| LOW | tests/units/utils/test_format.py | 1 | |
| LOW | tests/units/utils/test_export.py | 3 | |
| LOW | tests/units/utils/test_streaming_response.py | 1 | |
| LOW | …/units/components/test_component_future_annotations.py | 1 | |
| LOW | tests/units/components/test_props.py | 1 | |
| LOW | tests/units/components/test_memo.py | 3 | |
| LOW | tests/units/compiler/test_compiler_utils.py | 1 | |
| LOW | tests/benchmarks/conftest.py | 1 | |
| LOW | tests/benchmarks/conftest.py | 1 | |
| LOW | tests/benchmarks/test_compilation.py | 18 | |
| LOW | docs/app/tests/test_doc_links.py | 14 | |
| LOW | docs/app/reflex_docs/templates/__init__.py | 1 | |
| LOW | docs/app/reflex_docs/templates/docpage/__init__.py | 1 | |
| LOW | docs/app/reflex_docs/templates/docpage/docpage.py | 14 | |
| LOW | docs/app/reflex_docs/templates/docpage/docpage.py | 15 | |
| LOW | docs/app/reflex_docs/templates/docpage/docpage.py | 16 | |
| 547 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …sts/integration/tests_playwright/test_frontend_path.py | 66 | # Create a tiny valid 1x1 red PNG. |
| MEDIUM | tests/units/test_state.py | 1995 | # Create a mocked redis client instead of skipping. |
| MEDIUM | tests/units/mock_redis.py | 272 | # Create a pubsub to keep the internal event log for assertions. |
| MEDIUM | tests/units/vars/test_dep_tracking.py | 498 | # Create a closure to get a cell object |
| MEDIUM | tests/units/utils/test_processes.py | 27 | # Create a server socket to occupy a port |
| MEDIUM | tests/units/components/graphing/test_plotly.py | 23 | # Create a graph. |
| MEDIUM | tests/units/assets/test_assets.py | 25 | # Create a temporary directory to act as the current working directory. |
| MEDIUM | docs/app/reflex_docs/reflex_docs.py | 36 | # Create the app. |
| MEDIUM | packages/reflex-base/src/reflex_base/style.py | 291 | # Create a Var to collapse VarData encoded in f-string. |
| MEDIUM | …kages/reflex-base/src/reflex_base/vars/dep_tracking.py | 344 | # Create a python source string snippet. |
| MEDIUM | packages/reflex-base/src/reflex_base/utils/format.py | 48 | # Create a matrix of size (len(str1) + 1) x (len(str2) + 1) |
| MEDIUM | …es/reflex-base/src/reflex_base/components/component.py | 1110 | # Create the base tag. |
| MEDIUM | …es/reflex-base/src/reflex_base/components/component.py | 1115 | # Create the base tag. |
| MEDIUM | packages/reflex-base/src/reflex_base/event/__init__.py | 150 | # Create an event and append it to the list. |
| MEDIUM | packages/reflex-base/src/reflex_base/event/__init__.py | 2250 | # Create an event and append it to the list. |
| MEDIUM | …ase/src/reflex_base/event/processor/event_processor.py | 743 | # Create a new task in the same context to invoke the exception handler. |
| MEDIUM | …s-radix/src/reflex_components_radix/primitives/form.py | 172 | # This class is created mainly for reflex-web docs. |
| MEDIUM | …d/src/reflex_site_shared/components/blocks/headings.py | 20 | # This function is imported from 'hast-util-to-string' package. |
| MEDIUM | …d/src/reflex_site_shared/components/blocks/headings.py | 25 | # This function is defined by add_custom_code. |
| MEDIUM | …hared/src/reflex_site_shared/components/blocks/demo.py | 57 | # Create the code snippet. |
| MEDIUM | …hared/src/reflex_site_shared/components/blocks/demo.py | 132 | # Create the demo. |
| MEDIUM | …reflex-site-shared/src/reflex_site_shared/lib/route.py | 60 | # Create a path based on the module name. |
| MEDIUM | …ponents-core/src/reflex_components_core/core/upload.py | 306 | # Create the component. |
| MEDIUM | …omponents-core/src/reflex_components_core/core/html.py | 44 | # Create the component. |
| MEDIUM | …omponents-core/src/reflex_components_core/core/cond.py | 193 | # Create the conditional var. |
| MEDIUM | …aeditor/src/reflex_components_dataeditor/dataeditor.py | 472 | # Define the id of the component in case multiple are used in the same page. |
| MEDIUM | …aeditor/src/reflex_components_dataeditor/dataeditor.py | 475 | # Define the name of the getData callback associated with this component and assign to get_cell_content. |
| MEDIUM | …ts-markdown/src/reflex_components_markdown/markdown.py | 259 | # Create the component. |
| MEDIUM | …c/reflex_components_internal/components/base/select.py | 612 | # Create the items children |
| MEDIUM | …nents-gridjs/src/reflex_components_gridjs/datatable.py | 94 | # Create the component. |
| MEDIUM | …lex-components-code/src/reflex_components_code/code.py | 488 | # Create the component. |
| MEDIUM | reflex/assets.py | 199 | # Create the asset folder in the currently compiling app. |
| MEDIUM | reflex/app.py | 510 | # Create the socket app. Note event endpoint constant replaces the default 'socket.io' path. |
| MEDIUM | reflex/app.py | 514 | # Create the event namespace and attach the main app. Not related to any paths. |
| MEDIUM | reflex/app.py | 634 | # Create the event processor. |
| MEDIUM | reflex/app.py | 1605 | # Creating a task prevents the update from being blocked behind other coroutines. |
| MEDIUM | reflex/state.py | 467 | # Create a fresh copy of only the non-inherited backend variables for this instance. |
| MEDIUM | reflex/state.py | 689 | # Create the setvar event handler for this state |
| MEDIUM | reflex/istate/proxy.py | 431 | # Create a new class that has the __dataclass_fields__ defined |
| MEDIUM | reflex/istate/manager/disk.py | 183 | # Create a new root state tree with all substates instantiated. |
| MEDIUM | reflex/istate/manager/redis.py | 502 | # Create the lease break task since we got the lock. |
| MEDIUM | reflex/istate/manager/redis.py | 719 | # Create the task now if one didn't sneak past us. |
| MEDIUM | reflex/istate/manager/redis.py | 892 | # Create a new or get existing set of waiters in manager lock. |
| MEDIUM | reflex/utils/build.py | 109 | # Create a progress bar for zipping the component. |
| MEDIUM | reflex/utils/build.py | 293 | # Create a subdirectory that matches the configured frontend_path. |
| MEDIUM | reflex/utils/js_runtimes.py | 1 | """This module provides utilities for managing JavaScript runtimes like Node.js and Bun.""" |
| MEDIUM | reflex/utils/prerequisites.py | 619 | # Create the reflex directory. |
| MEDIUM | reflex/utils/rename.py | 1 | """This module provides utilities for renaming directories and files in a Reflex app.""" |
| MEDIUM | reflex/utils/path_ops.py | 236 | # Create the parent directory if it doesn't exist. |
| MEDIUM | reflex/utils/path_ops.py | 239 | # Create the file if it doesn't exist. |
| MEDIUM | reflex/utils/path_ops.py | 242 | # Create an empty json object if file is empty |
| MEDIUM | reflex/utils/templates.py | 1 | """This module provides utilities for managing Reflex app templates.""" |
| MEDIUM | reflex/utils/templates.py | 125 | # Create a temp directory for the zip download. |
| MEDIUM | reflex/utils/templates.py | 149 | # Create a temp directory for the zip extraction. |
| MEDIUM | reflex/utils/frontend_skeleton.py | 1 | """This module provides utility functions to initialize the frontend skeleton.""" |
| MEDIUM | reflex/compiler/compiler.py | 536 | # Create the document root. |
| MEDIUM | reflex/compiler/compiler.py | 576 | # Create the theme. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …sts/integration/tests_playwright/test_frontend_path.py | 21 | # --------------------------------------------------------------------------- |
| MEDIUM | …sts/integration/tests_playwright/test_frontend_path.py | 23 | # --------------------------------------------------------------------------- |
| MEDIUM | …sts/integration/tests_playwright/test_frontend_path.py | 233 | # --------------------------------------------------------------------------- |
| MEDIUM | …sts/integration/tests_playwright/test_frontend_path.py | 235 | # --------------------------------------------------------------------------- |
| MEDIUM | …sts/integration/tests_playwright/test_frontend_path.py | 319 | # --------------------------------------------------------------------------- |
| MEDIUM | …sts/integration/tests_playwright/test_frontend_path.py | 321 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/units/components/test_memo.py | 759 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/units/components/test_memo.py | 763 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/units/docgen/test_class_and_component.py | 94 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/units/docgen/test_class_and_component.py | 96 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/units/docgen/test_markdown.py | 485 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/units/docgen/test_markdown.py | 487 | # --------------------------------------------------------------------------- |
| MEDIUM | docs/app/tests/test_docgen_double_eval.py | 84 | # --------------------------------------------------------------------------- |
| MEDIUM | docs/app/tests/test_docgen_double_eval.py | 86 | # --------------------------------------------------------------------------- |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 410 | # ------------------------------------------------------------------ |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 412 | # ------------------------------------------------------------------ |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 57 | # --------------------------------------------------------------------------- |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 59 | # --------------------------------------------------------------------------- |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 145 | # --------------------------------------------------------------------------- |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 147 | # --------------------------------------------------------------------------- |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 201 | # --------------------------------------------------------------------------- |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 203 | # --------------------------------------------------------------------------- |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 218 | # ------------------------------------------------------------------ |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 220 | # ------------------------------------------------------------------ |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 237 | # ------------------------------------------------------------------ |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 239 | # ------------------------------------------------------------------ |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 380 | # ------------------------------------------------------------------ |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 383 | # ------------------------------------------------------------------ |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 763 | # --------------------------------------------------------------------------- |
| MEDIUM | docs/app/reflex_docs/docgen_pipeline.py | 765 | # --------------------------------------------------------------------------- |
| MEDIUM | docs/app/reflex_docs/pages/docs/__init__.py | 97 | # --------------------------------------------------------------------------- |
| MEDIUM | docs/app/reflex_docs/pages/docs/__init__.py | 99 | # --------------------------------------------------------------------------- |
| MEDIUM | …ges/reflex-docgen/src/reflex_docgen/markdown/_types.py | 7 | # --------------------------------------------------------------------------- |
| MEDIUM | …ges/reflex-docgen/src/reflex_docgen/markdown/_types.py | 9 | # --------------------------------------------------------------------------- |
| MEDIUM | …ges/reflex-docgen/src/reflex_docgen/markdown/_types.py | 117 | # --------------------------------------------------------------------------- |
| MEDIUM | …ges/reflex-docgen/src/reflex_docgen/markdown/_types.py | 119 | # --------------------------------------------------------------------------- |
| MEDIUM | …docgen/src/reflex_docgen/markdown/transformer/_base.py | 74 | # ------------------------------------------------------------------ |
| MEDIUM | …docgen/src/reflex_docgen/markdown/transformer/_base.py | 76 | # ------------------------------------------------------------------ |
| MEDIUM | …docgen/src/reflex_docgen/markdown/transformer/_base.py | 92 | # ------------------------------------------------------------------ |
| MEDIUM | …docgen/src/reflex_docgen/markdown/transformer/_base.py | 94 | # ------------------------------------------------------------------ |
| MEDIUM | …docgen/src/reflex_docgen/markdown/transformer/_base.py | 139 | # ------------------------------------------------------------------ |
| MEDIUM | …docgen/src/reflex_docgen/markdown/transformer/_base.py | 141 | # ------------------------------------------------------------------ |
| MEDIUM | …docgen/src/reflex_docgen/markdown/transformer/_base.py | 184 | # ------------------------------------------------------------------ |
| MEDIUM | …docgen/src/reflex_docgen/markdown/transformer/_base.py | 186 | # ------------------------------------------------------------------ |
| MEDIUM | …docgen/src/reflex_docgen/markdown/transformer/_base.py | 221 | # ------------------------------------------------------------------ |
| MEDIUM | …docgen/src/reflex_docgen/markdown/transformer/_base.py | 223 | # ------------------------------------------------------------------ |
| MEDIUM | …docgen/src/reflex_docgen/markdown/transformer/_base.py | 324 | # ------------------------------------------------------------------ |
| MEDIUM | …docgen/src/reflex_docgen/markdown/transformer/_base.py | 326 | # ------------------------------------------------------------------ |
| MEDIUM | …en/src/reflex_docgen/markdown/transformer/_markdown.py | 57 | # ------------------------------------------------------------------ |
| MEDIUM | …en/src/reflex_docgen/markdown/transformer/_markdown.py | 59 | # ------------------------------------------------------------------ |
| MEDIUM | …en/src/reflex_docgen/markdown/transformer/_markdown.py | 76 | # ------------------------------------------------------------------ |
| MEDIUM | …en/src/reflex_docgen/markdown/transformer/_markdown.py | 78 | # ------------------------------------------------------------------ |
| MEDIUM | …en/src/reflex_docgen/markdown/transformer/_markdown.py | 109 | # ------------------------------------------------------------------ |
| MEDIUM | …en/src/reflex_docgen/markdown/transformer/_markdown.py | 111 | # ------------------------------------------------------------------ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/integration/test_large_state.py | 48 | |
| LOW | tests/integration/test_urls.py | 11 | |
| LOW | tests/units/mock_redis.py | 19 | |
| LOW | tests/units/mock_redis.py | 187 | |
| LOW | tests/units/mock_redis.py | 211 | |
| LOW | …its/reflex_base/utils/pyi_generator/test_regression.py | 216 | |
| LOW | docs/app/tests/test_urls.py | 11 | |
| LOW | docs/app/tests/test_doc_links.py | 89 | |
| LOW | docs/app/reflex_docs/docgen_pipeline.py | 83 | |
| LOW | docs/app/reflex_docs/docgen_pipeline.py | 427 | |
| LOW | docs/app/reflex_docs/docgen_pipeline.py | 463 | |
| LOW | docs/app/reflex_docs/docgen_pipeline.py | 516 | |
| LOW | docs/app/reflex_docs/docgen_pipeline.py | 639 | |
| LOW | docs/app/reflex_docs/pages/docs/__init__.py | 65 | |
| LOW | docs/app/reflex_docs/pages/docs/component.py | 266 | |
| LOW | docs/app/reflex_docs/pages/docs/component.py | 450 | |
| LOW | docs/app/reflex_docs/pages/docs/component.py | 597 | |
| LOW | …app/reflex_docs/pages/integrations/integration_list.py | 7 | |
| LOW | …app/reflex_docs/pages/docs_landing/views/ai_builder.py | 13 | |
| LOW | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 457 | |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/apps.py | 52 | |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/apps.py | 209 | |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/apps.py | 274 | |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/apps.py | 338 | |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/apps.py | 457 | |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/apps.py | 657 | |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/apps.py | 764 | |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/cli.py | 77 | |
| LOW | …ckages/reflex-hosting-cli/src/reflex_cli/v2/secrets.py | 40 | |
| LOW | …ckages/reflex-hosting-cli/src/reflex_cli/v2/secrets.py | 120 | |
| LOW | …ckages/reflex-hosting-cli/src/reflex_cli/v2/secrets.py | 202 | |
| LOW | …ckages/reflex-hosting-cli/src/reflex_cli/v2/project.py | 258 | |
| LOW | packages/reflex-base/src/reflex_base/config.py | 399 | |
| LOW | packages/reflex-base/src/reflex_base/config.py | 432 | |
| LOW | packages/reflex-base/src/reflex_base/style.py | 165 | |
| LOW | packages/reflex-base/src/reflex_base/style.py | 342 | |
| LOW | packages/reflex-base/src/reflex_base/environment.py | 245 | |
| LOW | packages/reflex-base/src/reflex_base/vars/base.py | 317 | |
| LOW | packages/reflex-base/src/reflex_base/vars/base.py | 783 | |
| LOW | packages/reflex-base/src/reflex_base/vars/base.py | 3524 | |
| LOW | packages/reflex-base/src/reflex_base/vars/function.py | 54 | |
| LOW | …kages/reflex-base/src/reflex_base/vars/dep_tracking.py | 239 | |
| LOW | …kages/reflex-base/src/reflex_base/vars/dep_tracking.py | 388 | |
| LOW | packages/reflex-base/src/reflex_base/plugins/sitemap.py | 135 | |
| LOW | …ges/reflex-base/src/reflex_base/plugins/_screenshot.py | 86 | |
| LOW | …ges/reflex-base/src/reflex_base/plugins/_screenshot.py | 95 | |
| LOW | …eflex-base/src/reflex_base/utils/streaming_response.py | 38 | |
| LOW | …eflex-base/src/reflex_base/utils/streaming_response.py | 97 | |
| LOW | packages/reflex-base/src/reflex_base/utils/format.py | 35 | |
| LOW | packages/reflex-base/src/reflex_base/utils/format.py | 524 | |
| LOW | …ges/reflex-base/src/reflex_base/utils/pyi_generator.py | 172 | |
| LOW | …ges/reflex-base/src/reflex_base/utils/pyi_generator.py | 308 | |
| LOW | …ges/reflex-base/src/reflex_base/utils/pyi_generator.py | 594 | |
| LOW | …ges/reflex-base/src/reflex_base/utils/pyi_generator.py | 698 | |
| LOW | …ges/reflex-base/src/reflex_base/utils/pyi_generator.py | 801 | |
| LOW | …ges/reflex-base/src/reflex_base/utils/pyi_generator.py | 845 | |
| LOW | …ges/reflex-base/src/reflex_base/utils/pyi_generator.py | 1208 | |
| LOW | …ges/reflex-base/src/reflex_base/utils/pyi_generator.py | 1310 | |
| LOW | …ges/reflex-base/src/reflex_base/utils/pyi_generator.py | 1655 | |
| LOW | packages/reflex-base/src/reflex_base/utils/types.py | 409 | |
| 50 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/integration/test_urls.py | 51 | except Exception as e: |
| LOW | tests/integration/lighthouse_utils.py | 1033 | except Exception: |
| LOW | docs/app/tests/test_urls.py | 58 | except Exception as e: |
| LOW | docs/app/tests/test_doc_links.py | 152 | except Exception as exc: |
| LOW | docs/app/reflex_docs/docgen_pipeline.py | 447 | except Exception as e: |
| LOW | docs/app/reflex_docs/docgen_pipeline.py | 482 | except Exception as e: |
| LOW | docs/app/reflex_docs/pages/docs/component.py | 143 | except Exception: |
| LOW | docs/app/reflex_docs/pages/docs/component.py | 546 | except Exception: |
| LOW | docs/app/reflex_docs/pages/docs/component.py | 553 | except Exception as e: |
| LOW | docs/app/reflex_docs/pages/docs/component.py | 585 | except Exception: |
| MEDIUM | docs/app/reflex_docs/pages/docs/component.py | 259 | def safe_issubclass(cls, class_or_tuple): |
| LOW | docs/api-reference/utils.md | 70 | except Exception as e: |
| LOW | docs/api-reference/utils.md | 98 | except Exception as e: |
| LOW | scripts/wait_for_listening_port.py | 42 | except Exception: |
| LOW | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 361 | except Exception as ex: |
| LOW | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 386 | except Exception: |
| LOW | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 433 | except Exception as ex: |
| LOW | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 447 | except Exception as ex: |
| LOW | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 477 | except Exception as ex: |
| LOW | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1074 | except Exception as ex: |
| LOW | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1106 | except Exception as ex: |
| LOW | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 1966 | except Exception as ex: |
| LOW | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 2048 | except Exception as ex: |
| LOW | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 2140 | except Exception as ex: |
| LOW | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 2206 | except Exception as ex: |
| LOW | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 2242 | except Exception as ex: |
| LOW | …/reflex-hosting-cli/src/reflex_cli/utils/dependency.py | 41 | except Exception: |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/apps.py | 408 | except Exception: |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/apps.py | 613 | except Exception: |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/apps.py | 620 | except Exception as ex: |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/cli.py | 232 | except Exception as ex: |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/cli.py | 294 | except Exception: |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/cli.py | 407 | except Exception as ex: |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/cli.py | 435 | except Exception as ex: |
| LOW | …ckages/reflex-hosting-cli/src/reflex_cli/v2/project.py | 228 | except Exception as e: |
| LOW | …ckages/reflex-hosting-cli/src/reflex_cli/v2/project.py | 295 | except Exception as e: |
| LOW | packages/reflex-base/src/reflex_base/config.py | 457 | except Exception: |
| LOW | packages/reflex-base/src/reflex_base/config.py | 764 | except Exception: |
| LOW | packages/reflex-base/src/reflex_base/environment.py | 178 | except Exception as e: |
| LOW | packages/reflex-base/src/reflex_base/environment.py | 208 | except Exception as e: |
| LOW | packages/reflex-base/src/reflex_base/vars/base.py | 2456 | except Exception as e: |
| LOW | …ges/reflex-base/src/reflex_base/utils/pyi_generator.py | 1643 | except Exception: |
| LOW | …ase/src/reflex_base/event/processor/event_processor.py | 304 | except Exception as ex: |
| LOW | …ase/src/reflex_base/event/processor/event_processor.py | 674 | except Exception: |
| LOW | …ase/src/reflex_base/event/processor/event_processor.py | 732 | except Exception as ex: |
| LOW | …rc/reflex_base/event/processor/base_state_processor.py | 160 | except Exception as ex: |
| LOW | …rc/reflex_base/event/processor/base_state_processor.py | 230 | except Exception as ex: |
| LOW | packages/reflex-docgen/src/reflex_docgen/_class.py | 338 | except Exception as e: |
| LOW | …ite-shared/src/reflex_site_shared/backend/get_blogs.py | 42 | except Exception: |
| LOW | reflex/model.py | 528 | except Exception as exc: |
| LOW | reflex/app.py | 179 | except Exception as e: |
| LOW | reflex/app.py | 1253 | except Exception as exc: |
| LOW | reflex/state.py | 2221 | except Exception: |
| LOW | reflex/istate/__init__.py | 21 | except Exception: |
| LOW | reflex/istate/shared.py | 29 | except Exception as e: |
| LOW | reflex/istate/manager/disk.py | 129 | except Exception: |
| LOW | reflex/istate/manager/disk.py | 284 | except Exception as e: |
| LOW | reflex/istate/manager/redis.py | 689 | except Exception as e: |
| LOW | reflex/app_mixins/lifespan.py | 134 | except Exception as e: |
| LOW | reflex/utils/tasks.py | 45 | except Exception as e: |
| 24 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/units/reflex_cli/v2/test_gcp.py | 38 | mocker: MockFixture, account: str = "user@example.com" |
| LOW | tests/benchmarks/fixtures.py | 337 | LOREM_IPSUM = "Lorem ipsum dolor sit amet, dolor ut dolore pariatur aliqua enim tempor sed. Labore excepteur sed exercit |
| LOW | tests/benchmarks/fixtures.py | 337 | LOREM_IPSUM = "Lorem ipsum dolor sit amet, dolor ut dolore pariatur aliqua enim tempor sed. Labore excepteur sed exercit |
| LOW | docs/enterprise/mantine/spoiler.md | 17 | "This is a spoiler zone where lorem ipsum text dolor sit amet, consectetur adipiscing elit. Sed do eiusmod t |
| LOW | docs/enterprise/mantine/spoiler.md | 17 | "This is a spoiler zone where lorem ipsum text dolor sit amet, consectetur adipiscing elit. Sed do eiusmod t |
| LOW | docs/library/tables-and-data-grids/table.md | 262 | "name": "John Doe", |
| LOW | docs/library/tables-and-data-grids/table.md | 264 | "phone": "555-1234", |
| LOW | docs/library/tables-and-data-grids/table.md | 265 | "address": "123 Main St", |
| LOW | docs/library/tables-and-data-grids/table.md | 270 | "phone": "555-5678", |
| LOW | docs/library/tables-and-data-grids/table.md | 276 | "phone": "555-9012", |
| LOW | docs/library/tables-and-data-grids/table.md | 282 | "phone": "555-3456", |
| LOW | docs/library/tables-and-data-grids/table.md | 500 | "name": "John Doe", |
| LOW | docs/library/tables-and-data-grids/table.md | 502 | "phone": "555-1234", |
| LOW | docs/library/tables-and-data-grids/table.md | 503 | "address": "123 Main St", |
| LOW | docs/library/tables-and-data-grids/table.md | 508 | "phone": "555-5678", |
| LOW | docs/library/tables-and-data-grids/table.md | 514 | "phone": "555-9012", |
| LOW | docs/library/tables-and-data-grids/table.md | 520 | "phone": "555-3456", |
| LOW | docs/library/tables-and-data-grids/table.md | 624 | "name": "John Doe", |
| LOW | docs/library/tables-and-data-grids/table.md | 626 | "phone": "555-1234", |
| LOW | docs/library/tables-and-data-grids/table.md | 627 | "address": "123 Main St", |
| LOW | docs/library/tables-and-data-grids/table.md | 632 | "phone": "555-5678", |
| LOW | docs/library/tables-and-data-grids/table.md | 638 | "phone": "555-9012", |
| LOW | docs/library/tables-and-data-grids/table.md | 644 | "phone": "555-3456", |
| LOW | docs/library/tables-and-data-grids/table.md | 650 | "phone": "555-7890", |
| LOW | docs/library/tables-and-data-grids/table.md | 656 | "phone": "555-2345", |
| LOW | docs/library/tables-and-data-grids/table.md | 837 | name="John Doe", |
| LOW | docs/library/tables-and-data-grids/table.md | 839 | phone="555-1234", |
| LOW | docs/library/tables-and-data-grids/table.md | 840 | address="123 Main St", |
| LOW | docs/library/tables-and-data-grids/table.md | 845 | phone="555-5678", |
| LOW | docs/library/tables-and-data-grids/table.md | 851 | phone="555-9012", |
| LOW | docs/library/tables-and-data-grids/table.md | 857 | phone="555-3456", |
| LOW | docs/library/tables-and-data-grids/table.md | 863 | phone="555-7890", |
| LOW | docs/library/tables-and-data-grids/table.md | 869 | phone="555-2345", |
| LOW | docs/library/tables-and-data-grids/table.md | 1069 | name="John Doe", |
| LOW | docs/library/tables-and-data-grids/table.md | 1071 | phone="555-1234", |
| LOW | docs/library/tables-and-data-grids/table.md | 1072 | address="123 Main St", |
| LOW | docs/library/tables-and-data-grids/table.md | 1077 | phone="555-5678", |
| LOW | docs/library/tables-and-data-grids/table.md | 1083 | phone="555-9012", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/units/components/datadisplay/test_shiki_code.py | 135 | # Check if the transformer is set correctly if expected |
| LOW | tests/units/components/datadisplay/test_shiki_code.py | 141 | # Check if the second child is the copy button if can_copy is True |
| LOW | docs/app/tests/test_urls.py | 27 | # Check if the root path contains the target directories |
| LOW | docs/app/reflex_docs/templates/docpage/docpage.py | 854 | # Check if first is (toc, doc_content) from get_toc |
| LOW | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 528 | # Check if the user is authenticated |
| LOW | …ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py | 545 | # Check if the user is authenticated |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/cli.py | 387 | # Check if the reflex version is >= 0.7.6 |
| LOW | packages/reflex-hosting-cli/src/reflex_cli/v2/cli.py | 415 | # Check if the reflex version is >= 0.7.6 |
| LOW | …ges/reflex-base/src/reflex_base/utils/pyi_generator.py | 384 | # Check if this line has a prop. |
| LOW | packages/reflex-base/src/reflex_base/utils/types.py | 305 | # Check if the class inherits from a generic class (using __orig_bases__) |
| LOW | packages/reflex-base/src/reflex_base/utils/types.py | 1080 | # Check if the origin of both types is the same (e.g., list for list[int]) |
| LOW | …ckages/reflex-base/src/reflex_base/components/props.py | 244 | # Check if this field expects a specific Props type and we got a dict |
| LOW | …ckages/reflex-base/src/reflex_base/components/props.py | 250 | # Check if this field expects a list of Props and we got a list of dicts |
| LOW | …es/reflex-base/src/reflex_base/components/component.py | 979 | # Check if the key is an event trigger. |
| LOW | reflex/reflex.py | 867 | # Check if we are set up. |
| LOW | reflex/app.py | 871 | # Check if the route given is valid |
| LOW | reflex/app.py | 1390 | # Check if the function has the necessary annotations and types in the right order |
| LOW | reflex/app.py | 1416 | # Check if the return type is valid for backend exception handler |
| LOW | reflex/state.py | 555 | # Check if another substate class with the same name has already been defined. |
| LOW | reflex/state.py | 934 | # Check if the method is overridden and not a dunder method |
| LOW | reflex/state.py | 1227 | # Check if function has stored event_actions from decorator |
| LOW | reflex/istate/manager/redis.py | 184 | asyncio.get_running_loop() # Check if we're in an event loop. |
| LOW | reflex/istate/manager/redis.py | 515 | # Check if we still have the redis lock, then just try to send this one update and release it. |
| LOW | reflex/istate/manager/redis.py | 1029 | # Check if this process got a lease, then we can abandon waiting on the redis lock. |
| LOW | reflex/utils/token_manager.py | 145 | # Check if token is already mapped to a different SID (duplicate tab) |
| LOW | reflex/utils/templates.py | 230 | # Check if the template is a github repo. |
| LOW | reflex/utils/templates.py | 387 | # Check if the app is already initialized. |
| LOW | reflex/utils/processes.py | 356 | # Check if the process failed (not printing the logs for SIGINT). |
| LOW | reflex/utils/frontend_skeleton.py | 40 | # Write files to the .gitignore file. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/integration/test_lifespan.py | 323 | # find the harness in a stopped state and fail. |
| MEDIUM | tests/integration/test_tailwind.py | 45 | # Write next to the compiled app (Path.cwd() inside the harness) so reruns |
| MEDIUM | packages/reflex-base/src/reflex_base/environment.py | 618 | # Whether to run app harness tests in headless mode. |
| MEDIUM | packages/reflex-base/src/reflex_base/environment.py | 621 | # Which app harness driver to use. |
| MEDIUM | packages/reflex-base/src/reflex_base/environment.py | 624 | # Arguments to pass to the app harness driver. |
| LOW | packages/reflex-base/src/reflex_base/utils/format.py | 462 | # If there's no enclosing state, just return the full name. |
| MEDIUM | docker-example/production-compose/compose.yaml | 4 | # See `compose.prod.yaml` for more robust and performant deployment option. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .github/workflows/codeql.yml | 56 | # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how |
| MEDIUM | reflex/custom_components/custom_components.py | 124 | # you can use aliases to differentiate between them and avoid naming conflicts. |
| MEDIUM | reflex/custom_components/custom_components.py | 136 | # In this case you can use the lib_dependencies property to specify other libraries to install. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/integration/test_lifespan.py | 321 | # --- Do NOT add new test cases below this line. --- |
| LOW | …/app/reflex_docs/components/docpage/navbar/__init__.py | 1 | # Navbar components: buttons.sidebar, search, state |
| LOW | …lex_docs/templates/docpage/sidebar/sidebar_items/ai.py | 41 | ai_builder.app_lifecycle.download_app, |
| LOW | packages/reflex-base/src/reflex_base/components/memo.py | 1461 | # specific children at any given call site. Original descendants stay |
| LOW | …ts-code/src/reflex_components_code/shiki_code_block.py | 501 | # "position": "relative", # noqa: ERA001 |
| LOW | .github/workflows/codeql.yml | 1 | # For most projects, this workflow file will not need changing; you simply need |
| LOW | reflex/custom_components/custom_components.py | 101 | # Some libraries you want to wrap may require dynamic imports. |
| LOW | reflex/custom_components/custom_components.py | 121 | # is_default = True |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/units/test_state.py | 199 | def do_something(self): |
| LOW | …sts/units/reflex_base/utils/pyi_generator/test_unit.py | 434 | def helper(self) -> str: |
| LOW | …sts/units/reflex_base/utils/pyi_generator/test_unit.py | 440 | assert "def helper(self) -> str:" in result |
| LOW | tests/units/components/test_component.py | 53 | def do_something(self): |
| LOW | tests/units/components/test_component.py | 2068 | def do_something(self): |
| LOW | tests/units/docgen/test_class_and_component.py | 283 | def do_stuff(self) -> None: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/units/istate/test_proxy.py | 59 |