Skip to content

Commit a75cbe2

Browse files
committed
ok
1 parent 090569c commit a75cbe2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v4
2424
- uses: ./.github/actions/setup_build_env
2525
with:
26-
python-version: 3.13
26+
python-version: 3.14
2727
run-uv-sync: true
2828
- uses: actions/checkout@v4
2929
with:

reflex/components/core/upload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def _format_rejected_file_record(rf: ObjectVar[dict[str, Any]]) -> str:
189189
rf = rf.to(ObjectVar, dict[str, dict[str, Any]])
190190
file = rf["file"].to(ObjectVar, dict[str, Any])
191191
errors = rf["errors"].to(ArrayVar, list[dict[str, Any]])
192-
return f"{file['path']}: {errors.foreach(operator.itemgetter('message')).join(', ')}"
192+
return f"{file['path']}: {errors.foreach(lambda kv: kv['message']).join(', ')}" # noqa: FURB118
193193

194194
return toast.error(
195195
title="Files not Accepted",

0 commit comments

Comments
 (0)