Skip to content

Commit 1a7c7fb

Browse files
committed
Ignore [no-any-return]
1 parent 06b5200 commit 1a7c7fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sqlmodel/sql/sqltypes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ def process_bind_param(self, value: Any, dialect: Any) -> JSONValue: # noqa: AN
7474
for k, v in value.items()
7575
}
7676

77-
return to_jsonable_python(value)
77+
# We know to_jsonable_python returns a JSON-serializable value, but mypy sees it as Any
78+
return to_jsonable_python(value) # type: ignore[no-any-return]
7879

7980
def process_result_value(
8081
self, value: Any, dialect: Any

0 commit comments

Comments
 (0)