Saleor Core: the high performance, composable, headless commerce API.
16199 matches across 15 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | conftest.py | 66 | def pytest_collection_modifyitems(config, items): |
| LOW | CONTRIBUTING.md | 279 | def test_apps_for_federation_query_count( |
| LOW | AGENTS.md | 119 | def my_model_qs_select_for_update() -> QuerySet[MyModel]: |
| LOW | CLAUDE.md | 119 | def my_model_qs_select_for_update() -> QuerySet[MyModel]: |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 74 | def test_log_exception_with_finally_block(): |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 84 | def test_log_exception_with_else_block(): |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 94 | def test_log_exception_with_finally_else_block(): |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 106 | def test_not_logging_exception(): |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 115 | def test_not_logging_exception(): |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 10 | def test_log_catch_multiple_exceptions(): |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 29 | def test_log_middle_of_statement(): |
| LOW | …elery/celery-migration-task-missing-dedicated-queue.py | 9 | def migration_task_without_queue_set(): |
| LOW | …elery/celery-migration-task-missing-dedicated-queue.py | 16 | def migration_task_without_queue_set_and_more_decorators(): |
| LOW | …elery/celery-migration-task-missing-dedicated-queue.py | 22 | def migration_task_with_no_args(): |
| LOW | …elery/celery-migration-task-missing-dedicated-queue.py | 34 | def migration_task_with_args_and_kwargs( |
| LOW | …elery/celery-migration-task-missing-dedicated-queue.py | 42 | def migration_task_with_queue_set_to_raw_value(): |
| LOW | …elery/celery-migration-task-missing-dedicated-queue.py | 48 | def migration_task_with_args_kwargs_and_queue_set_to_raw_value(self): |
| LOW | …elery/celery-migration-task-missing-dedicated-queue.py | 54 | def migration_task_with_queue_set(): |
| LOW | …elery/celery-migration-task-missing-dedicated-queue.py | 61 | def migration_task_with_queue_set_and_more_decorators(): |
| LOW | …elery/celery-migration-task-missing-dedicated-queue.py | 67 | def migration_task_with_kwargs_and_queue_set_first(self): |
| LOW | …elery/celery-migration-task-missing-dedicated-queue.py | 73 | def migration_task_with_kwargs_and_queue_set_last(self): |
| LOW | …elery/celery-migration-task-missing-dedicated-queue.py | 79 | def migration_task_with_kwargs_and_queue_set_in_the_middle(self): |
| LOW | …elery/celery-migration-task-missing-dedicated-queue.py | 85 | def migration_task_with_multiline_kwargs_and_queue(): |
| LOW | …mgrep/correctness/celery/task-logger-without-suffix.py | 10 | def same_name_with_celery_first(): |
| LOW | …mgrep/correctness/celery/task-logger-without-suffix.py | 17 | def different_name_get_task_logger(): |
| LOW | …mgrep/correctness/celery/task-logger-without-suffix.py | 22 | def different_name_logging_getlogger(): |
| LOW | …mgrep/correctness/celery/task-logger-without-suffix.py | 34 | def same_name_without_variables(): |
| LOW | …orrectness/django/django-migration-wrong-app-config.py | 24 | def wrong_app_config_multiline(apps, _schema_editor): |
| LOW | …orrectness/django/django-migration-wrong-app-config.py | 35 | def correct_app_config_multiline(apps, _schema_editor): |
| LOW | …orrectness/django/django-no-default-token-generator.py | 1 | def test_using_default_token_generator(): |
| LOW | …orrectness/django/django-no-default-token-generator.py | 6 | def test_using_token_generator_class(): |
| LOW | …orrectness/django/django-no-default-token-generator.py | 10 | def test_ok_not_using_django_builtin_default_token_generator(): |
| LOW | saleor/webhook/serializers.py | 20 | def serialize_variant_full_name( |
| LOW | saleor/webhook/serializers.py | 73 | def serialize_product_attributes(product: "Product") -> list[dict]: |
| LOW | saleor/webhook/serializers.py | 139 | def serialize_variant_attributes(variant: "ProductVariant") -> list[dict]: |
| LOW | saleor/webhook/utils.py | 27 | def get_filter_for_single_webhook_event( |
| LOW | saleor/webhook/utils.py | 94 | def get_webhooks_for_app_lifecycle_event( |
| LOW | saleor/webhook/utils.py | 129 | def get_webhooks_for_multiple_events( |
| LOW | saleor/webhook/utils.py | 162 | def calculate_webhooks_for_multiple_events( |
| LOW | saleor/webhook/utils.py | 202 | def filter_webhooks_for_channel( |
| LOW | saleor/webhook/payloads.py | 108 | def generate_metadata_updated_payload( |
| LOW | saleor/webhook/payloads.py | 128 | def prepare_order_lines_allocations_payload(line): |
| LOW | saleor/webhook/payloads.py | 143 | def generate_order_lines_payload(lines: Iterable[OrderLine]): |
| LOW | saleor/webhook/payloads.py | 195 | def _generate_collection_point_payload(warehouse: "Warehouse"): |
| LOW | saleor/webhook/payloads.py | 211 | def _generate_shipping_method_payload(shipping_method, channel): |
| LOW | saleor/webhook/payloads.py | 333 | def _generate_order_payment_payload(payments: Iterable["Payment"]): |
| LOW | saleor/webhook/payloads.py | 435 | def generate_sale_toggle_payload( |
| LOW | saleor/webhook/payloads.py | 478 | def _generate_order_payload_for_invoice(order: "Order"): |
| LOW | saleor/webhook/payloads.py | 499 | def generate_checkout_payload( |
| LOW | saleor/webhook/payloads.py | 595 | def generate_customer_payload( |
| LOW | saleor/webhook/payloads.py | 634 | def generate_collection_payload( |
| LOW | saleor/webhook/payloads.py | 672 | def serialize_product_channel_listing_payload(channel_listings): |
| LOW | saleor/webhook/payloads.py | 694 | def _get_charge_taxes_for_product(product: "Product") -> bool: |
| LOW | saleor/webhook/payloads.py | 752 | def generate_product_deleted_payload( |
| LOW | saleor/webhook/payloads.py | 783 | def generate_product_variant_listings_payload(variant_channel_listings): |
| LOW | saleor/webhook/payloads.py | 800 | def generate_product_variant_media_payload(product_variant): |
| LOW | saleor/webhook/payloads.py | 816 | def generate_product_variant_payload( |
| LOW | saleor/webhook/payloads.py | 855 | def generate_product_variant_stocks_payload(product_variant: "ProductVariant"): |
| LOW | saleor/webhook/payloads.py | 861 | def generate_fulfillment_lines_payload(fulfillment: Fulfillment): |
| LOW | saleor/webhook/payloads.py | 936 | def generate_fulfillment_payload( |
| 13821 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | saleor/webhook/validators.py | 1 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/webhook/tests/test_webhook_validators.py | 2 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/thumbnail/models.py | 1 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/thumbnail/validators.py | 3 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/thumbnail/tests/test_validators.py | 5 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/order/utils.py | 9 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/order/tests/test_calculations.py | 1272 | line.variant.product.tax_class.country_rates.update_or_create( |
| CRITICAL | saleor/order/tests/test_fulfillments_actions.py | 4 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/core/notification/validation.py | 1 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/core/tests/test_notification.py | 2 | from django.core.exceptions import ValidationError |
| CRITICAL | …leor/core/management/commands/clean_editorjs_fields.py | 5 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/core/utils/url.py | 4 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/core/utils/promo_code.py | 3 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/core/editorjs/models.py | 4 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/core/editorjs/cleaners.py | 6 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/core/editorjs/converters.py | 5 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/app/tasks.py | 4 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/app/manifest_validations.py | 5 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/app/manifest_schema.py | 3 | from django.core.exceptions import ValidationError as DjangoValidationError |
| CRITICAL | saleor/app/tests/test_installation_utils.py | 8 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/app/tests/test_validators.py | 2 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/app/tests/test_manifest_validations.py | 2 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/app/management/commands/install_app.py | 4 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/plugins/email_common.py | 17 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/plugins/avatax/plugin.py | 9 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/plugins/avatax/tests/test_avatax.py | 9 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/plugins/sendgrid/plugin.py | 5 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/plugins/sendgrid/tests/test_plugin.py | 6 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/plugins/tests/test_email_common.py | 5 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/plugins/openid_connect/utils.py | 13 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/plugins/openid_connect/plugin.py | 7 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/plugins/openid_connect/tests/test_utils.py | 11 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/plugins/openid_connect/tests/test_plugin.py | 8 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/plugins/admin_email/tests/test_plugin.py | 6 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/plugins/user_email/tests/test_plugin.py | 6 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/payment/gateways/braintree/tests/test_errors.py | 11 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/payment/gateways/stripe/plugin.py | 4 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/payment/gateways/stripe/webhooks.py | 5 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/payment/gateways/stripe/tests/test_plugin.py | 5 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/payment/gateways/stripe/tests/test_webhooks.py | 7 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/tax/tests/test_checkout_calculations.py | 193 | first_line.variant.product.tax_class.country_rates.update_or_create( |
| CRITICAL | saleor/tax/tests/test_checkout_calculations.py | 251 | first_line.variant.product.tax_class.country_rates.update_or_create( |
| CRITICAL | saleor/tax/tests/test_checkout_calculations.py | 310 | first_line.variant.product.tax_class.country_rates.update_or_create( |
| CRITICAL | saleor/checkout/tasks.py | 8 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/checkout/complete_checkout.py | 11 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/checkout/utils.py | 10 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/checkout/checkout_cleaner.py | 6 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/checkout/tests/test_checkout_complete.py | 6 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/checkout/tests/test_calculations.py | 335 | line.variant.product.tax_class.country_rates.update_or_create( |
| CRITICAL | saleor/checkout/tests/test_calculations.py | 444 | line.variant.product.tax_class.country_rates.update_or_create( |
| CRITICAL | saleor/checkout/tests/test_order_from_checkout.py | 6 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/graphql/error.py | 1 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/graphql/webhook/mixins.py | 1 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/graphql/webhook/subscription_query.py | 4 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/graphql/webhook/mutations/webhook_delete.py | 2 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/graphql/webhook/mutations/webhook_create.py | 2 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/graphql/webhook/tests/test_subscription_query.py | 2 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/graphql/order/types.py | 8 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/graphql/order/utils.py | 8 | from django.core.exceptions import ValidationError |
| CRITICAL | saleor/graphql/order/filters.py | 6 | from django.core.exceptions import ValidationError |
| 244 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …orrectness/django/django-no-default-token-generator.py | 3 | |
| LOW | …orrectness/django/django-no-default-token-generator.py | 8 | |
| LOW | …orrectness/django/django-no-default-token-generator.py | 12 | |
| LOW | saleor/__init__.py | 1 | |
| LOW | saleor/webhook/serializers.py | 16 | |
| LOW | saleor/webhook/serializers.py | 17 | |
| LOW | saleor/webhook/payload_helpers.py | 11 | |
| LOW | saleor/webhook/utils.py | 14 | |
| LOW | saleor/webhook/payloads.py | 13 | |
| LOW | saleor/webhook/payloads.py | 31 | |
| LOW | saleor/webhook/payloads.py | 33 | |
| LOW | saleor/webhook/payloads.py | 50 | |
| LOW | saleor/webhook/payloads.py | 51 | |
| LOW | saleor/webhook/payloads.py | 52 | |
| LOW | saleor/webhook/payloads.py | 52 | |
| LOW | saleor/webhook/payloads.py | 52 | |
| LOW | saleor/webhook/payloads.py | 52 | |
| LOW | saleor/webhook/payloads.py | 58 | |
| LOW | saleor/webhook/payloads.py | 59 | |
| LOW | saleor/webhook/circuit_breaker/breaker_board.py | 21 | |
| LOW | saleor/webhook/transport/list_stored_payment_methods.py | 8 | |
| LOW | saleor/webhook/transport/payment.py | 4 | |
| LOW | saleor/webhook/transport/payment.py | 5 | |
| LOW | saleor/webhook/transport/asynchronous/transport.py | 65 | |
| LOW | saleor/webhook/transport/asynchronous/__init__.py | 1 | |
| LOW | saleor/webhook/transport/asynchronous/__init__.py | 1 | |
| LOW | saleor/webhook/transport/asynchronous/__init__.py | 1 | |
| LOW | saleor/webhook/transport/synchronous/transport.py | 28 | |
| LOW | saleor/webhook/transport/synchronous/transport.py | 59 | |
| LOW | saleor/webhook/transport/synchronous/transport.py | 60 | |
| LOW | saleor/webhook/transport/synchronous/transport.py | 61 | |
| LOW | saleor/webhook/observability/obfuscation.py | 26 | |
| LOW | saleor/webhook/observability/obfuscation.py | 28 | |
| LOW | saleor/webhook/observability/__init__.py | 1 | |
| LOW | saleor/webhook/observability/__init__.py | 2 | |
| LOW | saleor/webhook/observability/__init__.py | 3 | |
| LOW | saleor/webhook/observability/__init__.py | 3 | |
| LOW | saleor/webhook/observability/__init__.py | 4 | |
| LOW | saleor/webhook/observability/__init__.py | 5 | |
| LOW | saleor/webhook/observability/__init__.py | 5 | |
| LOW | saleor/webhook/observability/__init__.py | 5 | |
| LOW | saleor/webhook/observability/__init__.py | 5 | |
| LOW | saleor/webhook/observability/__init__.py | 5 | |
| LOW | saleor/webhook/observability/__init__.py | 5 | |
| LOW | saleor/webhook/observability/__init__.py | 5 | |
| LOW | saleor/webhook/observability/__init__.py | 5 | |
| LOW | saleor/webhook/observability/__init__.py | 5 | |
| LOW | saleor/webhook/observability/utils.py | 27 | |
| LOW | saleor/webhook/observability/utils.py | 28 | |
| LOW | saleor/webhook/observability/utils.py | 30 | |
| LOW | saleor/webhook/observability/payloads.py | 43 | |
| LOW | saleor/webhook/observability/payloads.py | 44 | |
| LOW | saleor/thumbnail/utils.py | 26 | |
| LOW | saleor/order/fetch.py | 8 | |
| LOW | saleor/order/fetch.py | 14 | |
| LOW | saleor/order/fetch.py | 19 | |
| LOW | saleor/order/fetch.py | 26 | |
| LOW | saleor/order/fetch.py | 31 | |
| LOW | saleor/order/delivery_context.py | 9 | |
| LOW | saleor/order/delivery_context.py | 21 | |
| 1287 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …on_webhooks/test_create_deliveries_for_subscription.py | 0 | subscription { event { ... on calculatetaxes { taxbase { sourceobject { ...on checkout{ totalprice { gross { amount } } |
| HIGH | …eor/graphql/webhook/tests/test_subscription_payload.py | 0 | subscription { event { ... on calculatetaxes { taxbase { sourceobject { ...on checkout{ totalprice { gross { amount } } |
| HIGH | …eor/graphql/webhook/tests/test_subscription_payload.py | 0 | subscription { event { ... on calculatetaxes { taxbase { sourceobject { ...on checkout{ totalprice { gross { amount } } |
| HIGH | …ok/tests/subscription_webhooks/subscription_queries.py | 0 | subscription{ event{ ...on productupdated{ product{ id } } } } |
| HIGH | …ok/tests/subscription_webhooks/subscription_queries.py | 0 | subscription{ event{ ...on productupdated{ product{ id } } } } |
| HIGH | …ok/tests/subscription_webhooks/subscription_queries.py | 0 | subscription{ event{ ...on productupdated{ product{ id } } } } |
| HIGH | saleor/attribute/tests/test_utils.py | 0 | ensure multiple values in proper order are assigned. |
| HIGH | saleor/attribute/tests/test_utils.py | 0 | ensure multiple values in proper order are assigned. |
| HIGH | saleor/attribute/tests/test_utils.py | 0 | ensure multiple values in proper order are assigned. |
| HIGH | saleor/plugins/avatax/plugin.py | 0 | deprecated. this plugin is deprecated and will be removed in future version. |
| HIGH | saleor/plugins/sendgrid/plugin.py | 0 | deprecated. this plugin is deprecated and will be removed in future version. |
| HIGH | saleor/payment/gateways/braintree/plugin.py | 0 | deprecated. this plugin is deprecated and will be removed in future version. |
| HIGH | saleor/payment/gateways/dummy/plugin.py | 0 | deprecated. this plugin is deprecated and will be removed in future version. |
| HIGH | saleor/payment/gateways/dummy_credit_card/plugin.py | 0 | deprecated. this plugin is deprecated and will be removed in future version. |
| HIGH | saleor/payment/gateways/razorpay/plugin.py | 0 | deprecated. this plugin is deprecated and will be removed in future version. |
| HIGH | saleor/plugins/sendgrid/tasks.py | 0 | send an invoice to user of related order with url to download it. |
| HIGH | saleor/plugins/user_email/tasks.py | 0 | send an invoice to user of related order with url to download it. |
| HIGH | saleor/invoice/notifications.py | 0 | send an invoice to user of related order with url to download it. |
| HIGH | saleor/payment/interface.py | 0 | dataclass for storing the response information from payment app. |
| HIGH | saleor/payment/interface.py | 0 | dataclass for storing the response information from payment app. |
| HIGH | saleor/payment/interface.py | 0 | dataclass for storing the response information from payment app. |
| HIGH | saleor/payment/interface.py | 0 | dataclass for storing the request information for payment app. |
| HIGH | saleor/payment/interface.py | 0 | dataclass for storing the request information for payment app. |
| HIGH | saleor/payment/interface.py | 0 | dataclass for storing the request information for payment app. |
| HIGH | saleor/payment/interface.py | 0 | dataclass for storing the request information for payment app. |
| HIGH | saleor/graphql/order/mutations/order_line_update.py | 0 | retrieve the instance channel id for channel permission accessible check. |
| HIGH | saleor/graphql/core/mutations.py | 0 | retrieve the instance channel id for channel permission accessible check. |
| HIGH | saleor/graphql/core/mutations.py | 0 | retrieve the instance channel id for channel permission accessible check. |
| HIGH | saleor/graphql/translations/mutations/utils.py | 0 | retrieve the instance channel id for channel permission accessible check. |
| HIGH | …nchmark/test_fulfillment_refund_and_return_products.py | 0 | mutation orderfulfillmentrefundproducts( $order: id!, $input: orderrefundproductsinput! ) { orderfulfillmentrefundproduc |
| HIGH | …er/tests/mutations/test_fulfillment_refund_products.py | 0 | mutation orderfulfillmentrefundproducts( $order: id!, $input: orderrefundproductsinput! ) { orderfulfillmentrefundproduc |
| HIGH | saleor/graphql/order/tests/deprecated/test_order.py | 0 | mutation orderfulfillmentrefundproducts( $order: id!, $input: orderrefundproductsinput! ) { orderfulfillmentrefundproduc |
| HIGH | …r/graphql/order/tests/mutations/test_order_discount.py | 0 | manual line discount takes precedence over vouchers. |
| HIGH | …r/graphql/order/tests/mutations/test_order_discount.py | 0 | manual line discount takes precedence over vouchers. |
| HIGH | …aphql/order/tests/mutations/test_draft_order_update.py | 0 | manual line discount takes precedence over vouchers. |
| HIGH | …aphql/order/tests/mutations/test_draft_order_update.py | 0 | manual line discount takes precedence over vouchers. |
| HIGH | …raphql/order/tests/mutations/test_order_line_update.py | 0 | the voucher discount should use denormalized voucher values. |
| HIGH | …raphql/order/tests/mutations/test_order_line_update.py | 0 | the voucher discount should use denormalized voucher values. |
| HIGH | …raphql/order/tests/mutations/test_order_line_update.py | 0 | the voucher discount should use denormalized voucher values. |
| HIGH | saleor/graphql/order/bulk_mutations/draft_orders.py | 0 | get the instances channel ids for channel permission accessible check. |
| HIGH | saleor/graphql/order/bulk_mutations/draft_orders.py | 0 | get the instances channel ids for channel permission accessible check. |
| HIGH | …leor/graphql/order/bulk_mutations/order_bulk_cancel.py | 0 | get the instances channel ids for channel permission accessible check. |
| HIGH | saleor/graphql/core/mutations.py | 0 | get the instances channel ids for channel permission accessible check. |
| HIGH | saleor/graphql/order/bulk_mutations/draft_orders.py | 0 | perform a mutation that deletes a list of model instances. |
| HIGH | saleor/graphql/core/mutations.py | 0 | perform a mutation that deletes a list of model instances. |
| HIGH | saleor/graphql/core/mutations.py | 0 | perform a mutation that deletes a list of model instances. |
| HIGH | saleor/graphql/discount/mutations/bulk_mutations.py | 0 | perform a mutation that deletes a list of model instances. |
| HIGH | saleor/graphql/core/tests/test_query_cost_validation.py | 0 | query variantavailability($id: id!, $channel: string) {{ {query_fields} }} |
| HIGH | saleor/graphql/tests/test_tracing.py | 0 | query variantavailability($id: id!, $channel: string) {{ {query_fields} }} |
| HIGH | saleor/graphql/tests/test_metrics.py | 0 | query variantavailability($id: id!, $channel: string) {{ {query_fields} }} |
| HIGH | …raphql/app/tests/mutations/test_app_problem_dismiss.py | 0 | mutation appproblemdismiss($input: appproblemdismissinput!) { appproblemdismiss(input: $input) { errors { field code mes |
| HIGH | …tations/test_app_problem_dismiss_by_staff_with_keys.py | 0 | mutation appproblemdismiss($input: appproblemdismissinput!) { appproblemdismiss(input: $input) { errors { field code mes |
| HIGH | …utations/test_app_problem_dismiss_by_staff_with_ids.py | 0 | mutation appproblemdismiss($input: appproblemdismissinput!) { appproblemdismiss(input: $input) { errors { field code mes |
| HIGH | …app/tests/mutations/test_app_problem_dismiss_by_app.py | 0 | mutation appproblemdismiss($input: appproblemdismissinput!) { appproblemdismiss(input: $input) { errors { field code mes |
| HIGH | …graphql/app/tests/mutations/test_app_problem_create.py | 0 | mutation appproblemcreate($input: appproblemcreateinput!) { appproblemcreate(input: $input) { appproblem { id message ke |
| HIGH | …/tests/mutations/test_app_problem_create_validation.py | 0 | mutation appproblemcreate($input: appproblemcreateinput!) { appproblemcreate(input: $input) { appproblem { id message ke |
| HIGH | …tests/mutations/test_app_problem_create_aggregation.py | 0 | mutation appproblemcreate($input: appproblemcreateinput!) { appproblemcreate(input: $input) { appproblem { id message ke |
| HIGH | …pp/tests/mutations/test_app_problem_create_eviction.py | 0 | mutation appproblemcreate($input: appproblemcreateinput!) { appproblemcreate(input: $input) { appproblem { id message ke |
| HIGH | …pp/tests/mutations/test_app_problem_create_critical.py | 0 | mutation appproblemcreate($input: appproblemcreateinput!) { appproblemcreate(input: $input) { appproblem { id message ke |
| HIGH | …ent/tests/mutations/test_payment_gateway_initialize.py | 0 | subscription { event { ... on shippinglistmethodsforcheckout { checkout { email token } } } } |
| 81 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | saleor/webhook/tests/test_payment_webhook_utils.py | 157 | "name": "John Doe", |
| LOW | saleor/core/cleaners/tests/test_urls.py | 114 | "mailto:" + ",".join(["user@example.com"] * 11), |
| LOW | saleor/core/tests/test_search.py | 90 | assert parse_search_query("user@example.com") == "user@example.com:*" |
| LOW | saleor/core/tests/test_core.py | 73 | "email": "admin@example.com", |
| LOW | saleor/core/management/commands/populatedb.py | 86 | superuser_email = "admin@example.com" |
| LOW | saleor/app/tests/test_installation_utils.py | 163 | app_manifest["author"] = "Acme Ltd" |
| LOW | saleor/app/tests/test_manifest_validations.py | 118 | assert schema.author == "Acme Ltd" |
| LOW | …app/tests/cassettes/test_sends_data_to_target_url.yaml | 18 | : \"Lorem ipsum\",\n \"data_privacy\": \"Lorem ipsum\",\n \"data_privacy_url\"\ |
| LOW | …t_app_tasks/test_install_app_task_request_timeout.yaml | 18 | : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\ |
| LOW | …ts/cassettes/test_app_tasks/test_install_app_task.yaml | 18 | : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\ |
| LOW | …install_app_task_wrong_format_of_target_token_url.yaml | 18 | : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\ |
| LOW | …pp_from_manifest_app_has_all_required_permissions.yaml | 18 | : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\ |
| LOW | …pp_from_manifest_app_has_all_required_permissions.yaml | 69 | : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\ |
| LOW | …est_creates_app_from_manifest_installation_failed.yaml | 18 | : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\ |
| LOW | …est_creates_app_from_manifest_installation_failed.yaml | 67 | : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\ |
| LOW | …/test_app_commands/test_creates_app_from_manifest.yaml | 18 | : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\ |
| LOW | …/test_app_commands/test_creates_app_from_manifest.yaml | 69 | : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\ |
| LOW | …mands/test_creates_app_from_manifest_activate_app.yaml | 18 | : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\ |
| LOW | …mands/test_creates_app_from_manifest_activate_app.yaml | 69 | : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\ |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 154 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 161 | "new_email": "user@example.com", |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 45 | "recipient_email": "user@example.com", |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 89 | recipient_email = "admin@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 118 | recipient_email = "admin@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 195 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 234 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 267 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 301 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 348 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 394 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 525 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 570 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 611 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 652 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 695 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 737 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 782 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 828 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 873 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/sendgrid/tests/test_tasks.py | 916 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/openid_connect/tests/conftest.py | 118 | "name": "John Doe", |
| LOW | saleor/plugins/openid_connect/tests/conftest.py | 137 | "email": "admin@example.com", |
| LOW | saleor/plugins/openid_connect/tests/test_plugin.py | 778 | staff_user.email = "admin@example.com" |
| LOW | saleor/plugins/admin_email/tests/conftest.py | 49 | sender_address="admin@example.com", |
| LOW | saleor/plugins/admin_email/tests/test_notify_events.py | 25 | "recipient_email": "user@example.com", |
| LOW | saleor/plugins/admin_email/tests/test_notify_events.py | 51 | "recipient_email": "user@example.com", |
| LOW | saleor/plugins/admin_email/tests/test_notify_events.py | 72 | "recipient_email": "admin@example.com", |
| LOW | saleor/plugins/admin_email/tests/test_notify_events.py | 93 | "recipient_email": "admin@example.com", |
| LOW | saleor/plugins/admin_email/tests/test_notify_events.py | 113 | "recipient_email": "admin@example.com", |
| LOW | saleor/plugins/admin_email/tests/test_notify_events.py | 134 | "recipient_email": "admin@example.com", |
| LOW | saleor/plugins/admin_email/tests/test_notify_events.py | 155 | "recipient_list": ["admin@example.com"], |
| LOW | saleor/plugins/admin_email/tests/test_notify_events.py | 177 | "recipient_list": ["admin@example.com"], |
| LOW | saleor/plugins/admin_email/tests/test_notify_events.py | 194 | "recipient_email": "admin@example.com", |
| LOW | saleor/plugins/admin_email/tests/test_notify_events.py | 211 | "recipient_email": "admin@example.com", |
| LOW | saleor/plugins/admin_email/tests/test_tasks.py | 23 | recipient_email = "admin@example.com" |
| LOW | saleor/plugins/admin_email/tests/test_tasks.py | 56 | recipient_email = "admin@example.com" |
| LOW | saleor/plugins/admin_email/tests/test_tasks.py | 88 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/admin_email/tests/test_tasks.py | 121 | recipient_email = "user@example.com" |
| LOW | saleor/plugins/admin_email/tests/test_tasks.py | 154 | recipient_email = "admin@example.com" |
| LOW | saleor/plugins/admin_email/tests/test_tasks.py | 191 | recipient_email = "admin@example.com" |
| 103 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .claude/skills/filter-benchmark/analyze_query.py | 67 | |
| LOW | saleor/webhook/utils.py | 162 | |
| LOW | saleor/webhook/payloads.py | 1082 | |
| LOW | saleor/webhook/payloads.py | 1116 | |
| LOW | saleor/webhook/transport/asynchronous/transport.py | 85 | |
| LOW | saleor/webhook/transport/asynchronous/transport.py | 332 | |
| LOW | saleor/webhook/transport/asynchronous/transport.py | 852 | |
| LOW | saleor/webhook/transport/asynchronous/transport.py | 947 | |
| LOW | saleor/webhook/transport/asynchronous/transport.py | 1008 | |
| LOW | saleor/webhook/transport/asynchronous/transport.py | 1020 | |
| LOW | saleor/webhook/transport/asynchronous/transport.py | 150 | |
| LOW | saleor/webhook/observability/utils.py | 59 | |
| LOW | saleor/thumbnail/utils.py | 163 | |
| LOW | saleor/order/actions.py | 863 | |
| LOW | saleor/order/actions.py | 1441 | |
| LOW | saleor/order/utils.py | 127 | |
| LOW | saleor/order/utils.py | 210 | |
| LOW | saleor/order/base_calculations.py | 85 | |
| LOW | saleor/order/base_calculations.py | 215 | |
| LOW | saleor/asgi/cors_handler.py | 15 | |
| LOW | saleor/asgi/cors_handler.py | 16 | |
| LOW | saleor/asgi/cors_handler.py | 69 | |
| LOW | saleor/asgi/gzip_compression.py | 17 | |
| LOW | saleor/asgi/gzip_compression.py | 20 | |
| LOW | saleor/asgi/gzip_compression.py | 41 | |
| LOW | saleor/core/sqs.py | 13 | |
| LOW | saleor/core/search.py | 89 | |
| LOW | …leor/core/management/commands/clean_editorjs_fields.py | 162 | |
| LOW | saleor/core/management/commands/remove_invalid_files.py | 136 | |
| LOW | saleor/core/editorjs/models.py | 220 | |
| LOW | saleor/attribute/search.py | 11 | |
| LOW | saleor/attribute/models/base.py | 290 | |
| LOW | saleor/attribute/models/base.py | 530 | |
| LOW | saleor/plugins/manager.py | 151 | |
| LOW | saleor/plugins/manager.py | 2601 | |
| LOW | saleor/plugins/admin_email/plugin.py | 206 | |
| LOW | saleor/plugins/admin_email/plugin.py | 213 | |
| LOW | saleor/plugins/user_email/plugin.py | 359 | |
| LOW | saleor/plugins/user_email/plugin.py | 366 | |
| LOW | saleor/payment/tasks.py | 89 | |
| LOW | saleor/payment/utils.py | 587 | |
| LOW | saleor/payment/transaction_item_calculations.py | 235 | |
| LOW | saleor/payment/transaction_item_calculations.py | 265 | |
| LOW | saleor/payment/gateways/stripe/plugin.py | 160 | |
| LOW | saleor/tests/utils.py | 91 | |
| LOW | saleor/tests/e2e/shop/utils/preparing_shop.py | 51 | |
| LOW | saleor/checkout/delivery_context.py | 771 | |
| LOW | saleor/checkout/complete_checkout.py | 1561 | |
| LOW | saleor/checkout/utils.py | 179 | |
| LOW | saleor/checkout/payment_utils.py | 16 | |
| LOW | saleor/checkout/payment_utils.py | 42 | |
| LOW | saleor/checkout/base_calculations.py | 264 | |
| LOW | saleor/discount/utils/voucher.py | 512 | |
| LOW | saleor/graphql/schema_printer.py | 375 | |
| LOW | saleor/graphql/views.py | 339 | |
| LOW | saleor/graphql/webhook/mutations/webhook_trigger.py | 159 | |
| LOW | saleor/graphql/order/utils.py | 95 | |
| LOW | saleor/graphql/order/utils.py | 173 | |
| LOW | saleor/graphql/order/mutations/order_lines_create.py | 71 | |
| LOW | saleor/graphql/order/mutations/draft_order_complete.py | 118 | |
| 60 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .claude/skills/filter-benchmark/analyze_query.py | 191 | except Exception as e: |
| MEDIUM | …p/security/logging/exception-object-in-logger-extra.py | 2 | def test_log_info_exception(): |
| MEDIUM | …p/security/logging/exception-object-in-logger-extra.py | 10 | def test_log_catch_multiple_exceptions(): |
| MEDIUM | …p/security/logging/exception-object-in-logger-extra.py | 39 | def test_log_info_exception(): |
| MEDIUM | …p/security/logging/exception-object-in-logger-extra.py | 55 | def test_log_exception_trailing_arguments_case1(): |
| MEDIUM | …p/security/logging/exception-object-in-logger-extra.py | 65 | def test_log_exception_trailing_arguments_case2(): |
| MEDIUM | …p/security/logging/exception-object-in-logger-extra.py | 74 | def test_log_exception_with_finally_block(): |
| MEDIUM | …p/security/logging/exception-object-in-logger-extra.py | 84 | def test_log_exception_with_else_block(): |
| MEDIUM | …p/security/logging/exception-object-in-logger-extra.py | 94 | def test_log_exception_with_finally_else_block(): |
| MEDIUM | …p/security/logging/exception-object-in-logger-extra.py | 106 | def test_not_logging_exception(): |
| MEDIUM | …p/security/logging/exception-object-in-logger-extra.py | 115 | def test_not_logging_exception(): |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 50 | except Exception as exc: |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 58 | except Exception as exc: |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 68 | except Exception as exc: |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 77 | except Exception as exc: |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 87 | except Exception as exc: |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 97 | except Exception as exc: |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 109 | except Exception as exc: |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 118 | except Exception as exc: |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 5 | except Exception as exc: |
| LOW | …p/security/logging/exception-object-in-logger-extra.py | 32 | except Exception as exc: |
| LOW | saleor/webhook/observability/utils.py | 101 | except Exception: |
| LOW | saleor/webhook/observability/utils.py | 111 | except Exception: |
| LOW | saleor/asgi/usage_telemetry.py | 39 | except Exception: |
| LOW | saleor/asgi/usage_telemetry.py | 224 | except Exception: |
| LOW | saleor/core/transactions.py | 17 | except Exception as e: |
| LOW | saleor/core/jwt_manager.py | 219 | except Exception as e: |
| LOW | saleor/core/management/commands/remove_invalid_files.py | 165 | except Exception: |
| LOW | saleor/core/management/commands/remove_invalid_files.py | 167 | except Exception as e: |
| LOW | saleor/core/management/commands/remove_invalid_files.py | 196 | except Exception as e: |
| LOW | saleor/core/utils/lazyobjects.py | 29 | except Exception as exc: |
| LOW | saleor/core/db/tests/test_connection.py | 35 | except Exception: |
| LOW | saleor/core/telemetry/tests/test_utils.py | 222 | except Exception as e: |
| LOW | saleor/app/tasks.py | 58 | except Exception as e: |
| MEDIUM | saleor/app/tasks.py | 23 | def install_app_task(job_id, activate=False): |
| LOW | saleor/app/manifest_validations.py | 292 | except Exception as e: |
| MEDIUM | saleor/app/manifest_validations.py | 75 | def clean_manifest_url(manifest_url): |
| LOW | saleor/app/actions.py | 69 | except Exception: |
| LOW | saleor/app/installation_utils.py | 49 | except Exception: |
| LOW | saleor/app/management/commands/install_app.py | 73 | except Exception as e: |
| LOW | saleor/plugins/email_common.py | 324 | except Exception as e: |
| LOW | saleor/plugins/openid_connect/utils.py | 574 | except Exception: |
| MEDIUM | saleor/plugins/openid_connect/utils.py | 125 | def get_user_info(user_info_url, access_token) -> dict | None: |
| LOW | saleor/checkout/search/indexing.py | 45 | except Exception: |
| LOW | saleor/graphql/context.py | 58 | except Exception: |
| LOW | saleor/graphql/views.py | 506 | except Exception as e: |
| MEDIUM | saleor/graphql/order/filters.py | 108 | def get_payment_id_from_query(value): |
| LOW | saleor/graphql/order/filters.py | 111 | except Exception: |
| LOW | …leor/graphql/order/bulk_mutations/order_bulk_create.py | 1104 | except Exception: |
| LOW | …leor/graphql/order/bulk_mutations/order_bulk_create.py | 1134 | except Exception: |
| LOW | saleor/graphql/core/validators/query_cost.py | 88 | except Exception as e: |
| LOW | saleor/graphql/utils/__init__.py | 74 | except Exception: |
| LOW | saleor/graphql/checkout/filters.py | 42 | except Exception: |
| LOW | saleor/graphql/checkout/filters.py | 49 | except Exception: |
| MEDIUM | saleor/graphql/checkout/filters.py | 30 | def get_checkout_token_from_query(value): |
| MEDIUM | saleor/graphql/checkout/filters.py | 46 | def get_checkout_id_from_query(value): |
| LOW | …leor/graphql/account/mutations/authentication/utils.py | 25 | except Exception: |
| MEDIUM | …leor/graphql/account/mutations/authentication/utils.py | 22 | def get_user(payload): |
| LOW | …graphql/account/bulk_mutations/customer_bulk_update.py | 167 | except Exception: |
| LOW | …/graphql/warehouse/bulk_mutations/stock_bulk_update.py | 141 | except Exception: |
| 1 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | saleor/core/tests/test_sqs.py | 28 | # Create a mock connection object with all required attributes |
| MEDIUM | saleor/core/tests/test_sqs.py | 62 | # Create a mock connection object with all required attributes |
| MEDIUM | saleor/core/tests/test_view.py | 16 | # Create a dummy empty image file |
| MEDIUM | saleor/core/utils/__init__.py | 164 | # Create a BytesIO object to store the file content |
| MEDIUM | saleor/core/utils/__init__.py | 170 | # Create a Django File object from the BytesIO object |
| MEDIUM | saleor/graphql/views.py | 86 | # This class is our implementation of `graphene_django.views.GraphQLView`, |
| MEDIUM | saleor/graphql/order/mutations/order_lines_create.py | 211 | # Create the products added event |
| MEDIUM | saleor/graphql/order/mutations/order_line_delete.py | 96 | # Create the removal event |
| MEDIUM | saleor/graphql/order/tests/queries/test_order_events.py | 325 | # Create the test event |
| MEDIUM | saleor/graphql/order/tests/queries/test_order_events.py | 364 | # Create the test event |
| MEDIUM | …leor/graphql/order/bulk_mutations/order_bulk_create.py | 2259 | # Create a copy of stocks. If full iteration over order lines |
| MEDIUM | saleor/graphql/core/connection.py | 463 | # This function handles pagination for list-based data (e.g., from dataloaders). |
| MEDIUM | saleor/graphql/core/connection.py | 721 | # Create the edge type using the new EdgeBase. |
| MEDIUM | …r/graphql/core/tests/garbage_collection/test_django.py | 23 | # Create a copy of the Django connection object and close it to free resources. |
| MEDIUM | saleor/graphql/core/utils/reordering.py | 140 | # Create the bulk update to run |
| MEDIUM | …raphql/attribute/tests/queries/test_attributes_sort.py | 77 | # Create a dummy attribute with a higher ID |
| MEDIUM | …raphql/attribute/tests/queries/test_attributes_sort.py | 136 | # Create a dummy attribute with a higher ID |
| MEDIUM | …aphql/attribute/tests/queries/test_attribute_filter.py | 1078 | # Create a second product type that shares the same attribute |
| MEDIUM | …aphql/attribute/tests/queries/test_attribute_filter.py | 1152 | # Create a second product type that shares the same attribute |
| MEDIUM | …raphql/attribute/tests/queries/test_attribute_where.py | 1497 | # Create a second product type that shares the same attribute |
| MEDIUM | …raphql/attribute/tests/queries/test_attribute_where.py | 1571 | # Create a second product type that shares the same attribute |
| MEDIUM | …aphql/product/tests/test_product_sorting_attributes.py | 582 | # Create a product with a value |
| MEDIUM | …aphql/product/tests/test_product_sorting_attributes.py | 591 | # Create a product having the same product type but no attribute data |
| MEDIUM | …aphql/product/tests/test_product_sorting_attributes.py | 596 | # Create a new product having a name that would be ordered first in ascending |
| MEDIUM | saleor/graphql/product/tests/test_attributes.py | 415 | # Create a value for each dummy attribute to ensure they are not returned |
| MEDIUM | saleor/graphql/checkout/mutations/checkout_create.py | 477 | # Create the checkout object |
| MEDIUM | …tests/mutations/test_checkout_complete_with_payment.py | 5535 | # Create a dummy payment to charge |
| MEDIUM | saleor/account/models.py | 304 | # This method is overridden to accept perm as BasePermissionEnum |
| MEDIUM | saleor/account/models.py | 315 | # This method is overridden to accept perm as BasePermissionEnum |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .claude/skills/filter-benchmark/analyze_query.py | 172 | # Check if the planner uses different scan with seqscan off |
| LOW | saleor/settings.py | 831 | # Set this to `True` if you want to create default channel, warehouse, product type and |
| LOW | saleor/settings.py | 1030 | # Set None to route to the default queue, or a string value to use a separate one |
| LOW | saleor/order/actions.py | 1364 | # Check if line for order_line_id and stock_id does not exist in DB. |
| LOW | saleor/order/tests/test_calculations.py | 1929 | # Check if order was deleted |
| LOW | saleor/order/tests/test_calculations.py | 1933 | # Check if prices are recalculated and returned in objects |
| LOW | saleor/order/tests/test_calculations.py | 1980 | # Check if prices are recalculated and returned in objects |
| LOW | saleor/order/tests/test_calculations.py | 1993 | # Check if database contains updated order by other requests |
| LOW | saleor/core/tests/test_metadata_manager.py | 148 | # Check if the key with the same value was overwritten |
| LOW | saleor/core/db/connection.py | 44 | # Check if we are already in an allow_writer block. If so we don't need to do |
| LOW | saleor/plugins/avatax/tests/test_avatax.py | 6789 | # Set SKU to the same as the lines from the: |
| LOW | saleor/plugins/openid_connect/plugin.py | 550 | # Check if the token is created by this plugin |
| LOW | saleor/tests/e2e/utils.py | 29 | # Check if all key-value pairs in body1 are present in body2 |
| LOW | saleor/tests/e2e/utils.py | 37 | # Check if there are any extra key-value pairs in body2 |
| LOW | saleor/checkout/tests/test_calculations.py | 1439 | # Check if checkout was deleted. |
| LOW | saleor/checkout/tests/test_calculations.py | 1443 | # Check if prices are recalculated and returned in info objects. |
| LOW | saleor/checkout/tests/test_calculations.py | 1491 | # Check if prices are recalculated and returned in info objects. |
| LOW | saleor/checkout/tests/test_calculations.py | 1502 | # Check if database contains updated checkout by other requests. |
| LOW | saleor/checkout/tests/test_calculations.py | 1538 | # Check if checkout was deleted. |
| LOW | saleor/checkout/webhooks/exclude_shipping.py | 55 | # Set cache to None as Checkout doesn't use cache flow anymore |
| LOW | …raphql/app/tests/test_app_by_token_loader_use_cache.py | 185 | # Check if the token was removed from the cache |
| LOW | …raphql/app/tests/test_app_by_token_loader_use_cache.py | 219 | # Check if the token was removed from the cache |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 112 | # Check if the attribute was correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 122 | # Check if the attribute values were correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 648 | # Check if the attribute was correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 657 | # Check if the attribute values were correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 745 | # Check if the attribute was correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 754 | # Check if the attribute values were correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 833 | # Check if the attribute was correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 842 | # Check if the attribute values were correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 977 | # Check if the attribute was correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 986 | # Check if the attribute values were correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 316 | # Check if the attribute was correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 325 | # Check if the attribute values were correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 379 | # Check if the attribute was correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 388 | # Check if the attribute values were correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 443 | # Check if the attribute was correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 452 | # Check if the attribute values were correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 590 | # Check if the attribute was correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 599 | # Check if the attribute values were correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 881 | # Check if the attribute was correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 894 | # Check if the attribute values were correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 1507 | # Check if the attribute was correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 1569 | # Check if the attribute was correctly created |
| LOW | …hql/attribute/tests/mutations/test_attribute_create.py | 1631 | # Check if the attribute was correctly created |
| LOW | …raphql/attribute/tests/queries/test_attributes_sort.py | 92 | # Assign attributes to the product |
| LOW | …raphql/attribute/tests/queries/test_attributes_sort.py | 151 | # Assign attributes to the product |
| LOW | …phql/tax/mutations/tax_country_configuration_update.py | 78 | # Check if only one default rate is provided (only one item without the tax |
| LOW | …/product/tests/mutations/test_product_media_reorder.py | 49 | # Check if order has been changed |
| LOW | …/product/tests/mutations/test_product_media_reorder.py | 79 | # Check if order has not been changed |
| LOW | saleor/graphql/checkout/tests/test_checkout.py | 570 | # Check if webhook was called with correct payload |
| LOW | saleor/graphql/checkout/tests/test_checkout.py | 585 | # Check if shipping methods are correct |
| LOW | …eor/graphql/account/mutations/staff/customer_create.py | 80 | # Verify if object already exists in DB. |
| LOW | saleor/warehouse/models.py | 238 | # Check if the ordered line quantities can be fulfilled using stock from |
| LOW | .github/workflows/check-migration-tasks.yml | 32 | # Check if any new python file was added in a *migrations/tasks/ directory |
| LOW | .github/workflows/check-migration-tasks.yml | 39 | # Check if celeryconf.py is in the list of all changed files |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | saleor/patch_local.py | 21 | # just the plain thread local (i.e, "global within |
| LOW | saleor/order/tests/test_tasks.py | 681 | # 4. create draft order and associate it with the code-123 |
| LOW | saleor/asgi/asgi_handler.py | 121 | # Tasks need to be cleared to prevent cycles is memory. Task `self.listen_for_disconnect(receive)` always |
| LOW | saleor/core/cleaners/html.py | 21 | |
| LOW | saleor/auth/__init__.py | 1 | # This module was created to be able to handle the migration process after we move |
| LOW | saleor/plugins/base_plugin.py | 161 | # |
| LOW | saleor/plugins/base_plugin.py | 181 | # set password is requested. |
| LOW | saleor/plugins/base_plugin.py | 201 | # Note: this method is deprecated and will be removed in a future release. |
| LOW | saleor/plugins/base_plugin.py | 221 | address_created: Callable[["Address", None], None] |
| LOW | saleor/plugins/base_plugin.py | 241 | # Overwrite this method if you need to trigger specific logic after an app is |
| LOW | saleor/plugins/base_plugin.py | 261 | # |
| LOW | saleor/plugins/base_plugin.py | 281 | # Webhook-related functionality will be moved from the plugin to core modules. |
| LOW | saleor/plugins/base_plugin.py | 301 | |
| LOW | saleor/plugins/base_plugin.py | 321 | # |
| LOW | saleor/plugins/base_plugin.py | 441 | # Overwrite this method if you need to trigger specific logic after a category is |
| LOW | saleor/plugins/base_plugin.py | 461 | # |
| LOW | saleor/plugins/base_plugin.py | 481 | # Webhook-related functionality will be moved from the plugin to core modules. |
| LOW | saleor/plugins/base_plugin.py | 501 | |
| LOW | saleor/plugins/base_plugin.py | 521 | checkout_created: Callable[["Checkout", Any, None], Any] |
| LOW | saleor/plugins/base_plugin.py | 541 | # Trigger when checkout is fully authorized with transactions. |
| LOW | saleor/plugins/base_plugin.py | 561 | # Overwrite this method if you need to trigger specific logic after a collection is |
| LOW | saleor/plugins/base_plugin.py | 581 | # |
| LOW | saleor/plugins/base_plugin.py | 601 | # |
| LOW | saleor/plugins/base_plugin.py | 621 | # Webhook-related functionality will be moved from the plugin to core modules. |
| LOW | saleor/plugins/base_plugin.py | 661 | external_verify: Callable[ |
| LOW | saleor/plugins/base_plugin.py | 681 | # Webhook-related functionality will be moved from the plugin to core modules. |
| LOW | saleor/plugins/base_plugin.py | 761 | # Overwrite this method if you need to trigger specific logic after a gift card is |
| LOW | saleor/plugins/base_plugin.py | 781 | # |
| LOW | saleor/plugins/base_plugin.py | 801 | # Webhook-related functionality will be moved from the plugin to core modules. |
| LOW | saleor/plugins/base_plugin.py | 821 | |
| LOW | saleor/plugins/base_plugin.py | 841 | [dict, InitializedPaymentResponse | None], InitializedPaymentResponse |
| LOW | saleor/plugins/base_plugin.py | 921 | # Webhook-related functionality will be moved from the plugin to core modules. |
| LOW | saleor/plugins/base_plugin.py | 941 | |
| LOW | saleor/plugins/base_plugin.py | 961 | # |
| LOW | saleor/plugins/base_plugin.py | 981 | order_cancelled: Callable[["Order", Any, None], Any] |
| LOW | saleor/plugins/base_plugin.py | 1001 | # created. |
| LOW | saleor/plugins/base_plugin.py | 1021 | # Note: This method is deprecated and will be removed in a future release. |
| LOW | saleor/plugins/base_plugin.py | 1041 | order_refunded: Callable[["Order", Any, None], Any] |
| LOW | saleor/plugins/base_plugin.py | 1061 | # Trigger when order metadata is updated. |
| LOW | saleor/plugins/base_plugin.py | 1081 | # Overwrite this method if you need to trigger specific logic when a page is |
| LOW | saleor/plugins/base_plugin.py | 1101 | # |
| LOW | saleor/plugins/base_plugin.py | 1121 | # Webhook-related functionality will be moved from the plugin to core modules. |
| LOW | saleor/plugins/base_plugin.py | 1141 | |
| LOW | saleor/plugins/base_plugin.py | 1221 | # |
| LOW | saleor/plugins/base_plugin.py | 1241 | # created. |
| LOW | saleor/plugins/base_plugin.py | 1261 | # Note: This method is deprecated and will be removed in a future release. |
| LOW | saleor/plugins/base_plugin.py | 1281 | product_media_updated: Callable[["ProductMedia", Any], Any] |
| LOW | saleor/plugins/base_plugin.py | 1301 | # Trigger when product variant is created. |
| LOW | saleor/plugins/base_plugin.py | 1321 | # Overwrite this method if you need to trigger specific logic after a product |
| LOW | saleor/plugins/base_plugin.py | 1341 | product_variant_metadata_updated: Callable[["ProductVariant", Any], Any] |
| LOW | saleor/plugins/base_plugin.py | 1361 | |
| LOW | saleor/plugins/base_plugin.py | 1381 | |
| LOW | saleor/plugins/base_plugin.py | 1401 | # |
| LOW | saleor/plugins/base_plugin.py | 1421 | # a promotion is ended. |
| LOW | saleor/plugins/base_plugin.py | 1441 | # Note: This method is deprecated and will be removed in a future release. |
| LOW | saleor/plugins/base_plugin.py | 1461 | shipping_price_created: Callable[["ShippingMethod", None], None] |
| LOW | saleor/plugins/base_plugin.py | 1481 | # Trigger when shipping zone is created. |
| LOW | saleor/plugins/base_plugin.py | 1501 | # Overwrite this method if you need to trigger specific logic after a shipping zone |
| LOW | saleor/plugins/base_plugin.py | 1521 | # |
| LOW | saleor/plugins/base_plugin.py | 1541 | # Webhook-related functionality will be moved from the plugin to core modules. |
| 14 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | saleor/app/tests/test_validators.py | 37 | ("3.8 - 3.9 || ~3.10.2 || 3.11.* || 3.12.x", "3.12.1", True), |
| HIGH | saleor/tax/utils.py | 331 | # the name is non-null). This is a valid case when recalculating shipping price |
| HIGH | saleor/tax/utils.py | 332 | # and the tax class is null, because it was removed from the system. |
| HIGH | saleor/product/managers.py | 188 | # then consider the concatenated values as empty (non-null). |
| HIGH | saleor/graphql/shop/filters.py | 9 | "If the argument is not provided (null), return all countries." |
| HIGH | saleor/graphql/tax/types.py | 198 | "Tax rate for a country. When tax class is null, it represents the default " |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | saleor/core/telemetry/trace.py | 84 | Start a new span and set it as the current span in the context. Args: name: The name of the span |
| HIGH | saleor/core/telemetry/trace.py | 130 | Create a new span without setting it as current in the context. Args: name: The name of the span |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | saleor/graphql/app/types.py | 212 | # Resolve if app from context is the same as requested app |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …/e2e/account/account/test_staff_login_disabled_mode.py | 37 | # Step 1: Assign permissions and prepare product type and category |
| LOW | …/e2e/account/account/test_staff_login_disabled_mode.py | 59 | # Step 2: Login with ENABLED mode and create a product, fetch orders — should succeed |
| LOW | …/e2e/account/account/test_staff_login_disabled_mode.py | 79 | # Step 3: Switch to DISABLED mode |
| LOW | …/e2e/account/account/test_staff_login_disabled_mode.py | 83 | # Step 4: Try to create a product and fetch orders — should fail (user is not authenticated) |
| LOW | …/e2e/account/account/test_staff_login_disabled_mode.py | 98 | # Step 5: Switch back to ENABLED mode — should succeed again |
| LOW | …ccount/account/test_staff_login_customers_only_mode.py | 37 | # Step 1: Assign permissions and prepare product type and category |
| LOW | …ccount/account/test_staff_login_customers_only_mode.py | 59 | # Step 2: Login with ENABLED mode and create a product, fetch orders — should succeed |
| LOW | …ccount/account/test_staff_login_customers_only_mode.py | 79 | # Step 3: Switch to CUSTOMERS_ONLY mode |
| LOW | …ccount/account/test_staff_login_customers_only_mode.py | 83 | # Step 4: Try to create a product and fetch orders — should fail |
| LOW | …ccount/account/test_staff_login_customers_only_mode.py | 94 | # Step 5: Switch back to ENABLED mode — should succeed again |
| LOW | saleor/checkout/complete_checkout.py | 1903 | # As payment processing might take a while, we need to check if the payment |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | saleor/order/fetch.py | 115 | """Fetch the necessary order lines info in order to recalculate its prices. |
| LOW | saleor/core/tests/test_view.py | 81 | # When DEBUG=False, it should just return HTTP 404 |
| MEDIUM | saleor/static/populatedb_data.json | 9630 | "text": "3 We enable developers to <a href=\"https://docs.saleor.io/developer/extending/apps/overview\">ex |