From c1827da9e3ca1908b09956f455ed0249d36d2ff4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 21:03:36 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/routers/openml/datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routers/openml/datasets.py b/src/routers/openml/datasets.py index dda2511..a4c79ff 100644 --- a/src/routers/openml/datasets.py +++ b/src/routers/openml/datasets.py @@ -183,7 +183,7 @@ def quality_clause(quality: str, range_: str | None) -> str: {number_classes_filter} {number_missing_values_filter} AND IFNULL(cs.`status`, 'in_preparation') IN ({where_status}) LIMIT {pagination.limit} OFFSET {pagination.offset} - """, # noqa: S608 + """, # I am not sure how to do this correctly without an error from Bandit here. # However, the `status` input is already checked by FastAPI to be from a set # of given options, so no injection is possible (I think). The `current_status`