[Bug]: [Python] Error and log messages print {placeholders} literally because of missing f-string prefixes
Maintainer thường phản hồi trong vòng 2 ngày
@rokadepiyush49-rgb đang làm issue này rồi.
Từ ngày 23/11/2026.
- #41598 của @rokadepiyush49-rgb — đang mở
Đánh giá
Issue này chưa được đánh giá.
Mô tả
What happened?
Four messages in the Python SDK are plain strings with {...} placeholders, so they print the placeholder instead of the value:
transforms/core.py,_ContextParam.__init__: passing an already-constructed context manager toDoFn.BundleContextParamorDoFn.SetupContextParamraisesTypeError: ... write {class_name}(tempfile.TemporaryDirectory, args=(...)) rather than {class_name}(tempfile.TemporaryDirectory(...)).transforms/core.py,ParDo.infer_batch_converters: for a DoFn whoseget_input_batch_type()returnsNone, the error isTypeError: process_batch method on {self.fn!r} does not have an input type annoation.typehints/schemas.py,SchemaTranslation.atomic_value_to_runner_api:ValueError: Unrecognized atomic_type {atomic_type} when encoding value {value}.runners/worker/data_sampler.py,DataSampler.sampler_for_output: the warning readsOut-of-bounds access for transform "..." and output "{output_index}" OutputSampler. ....
To reproduce the first one:
import contextlib
import apache_beam as beam
beam.DoFn.BundleContextParam(contextlib.nullcontext())
The same kind of bug was fixed in yaml/ by #41165, and #41134 fixes more there.
Issue Priority
Priority: 3 (minor)
Issue Components
- Component: Python SDK
- Ngôn ngữ chính
- Java
- Star
- 8.7k
- Fork
- 4.8k
- Merge trung bình
- 3 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 445
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apache/beam
-
awaiting triage java new feature P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug]: [Python] BigTableEnrichmentHandler coerces None lookup keys to literal b'None' and formats blank key name on KeyErrorCó thể đã có người làm @shikhabhadoria đã nhận 6 ngày trước. Đang mởio P2 python
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
apache/beam#41346 · 4 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Release notes links wrongCó thể đã có người làm @schizophrenicmaniac đã nhận 20 ngày trước. Đang mởbug P3
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 67/100
apache/beam#41197 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
apache/beam#39624 · 2 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug]: PubsubIO used in batch incorrect batch cutoff sizeCó thể đã có người làm @1fanwang đã nhận 98 ngày trước. Đang mởbug io P3 pinned pubsub
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/beam#28011 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Issue tương tự
-
`ovsx verify` fails for a version older than the 100 newest of an extensionCó thể đã có người làm @trivikr đã nhận hôm nay. Đang mởcli
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 81/100
eclipse-openvsx/openvsx#2482 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
32x and 48x Item Model IssuesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Magic-team-jvav/confluence#281 ·
-
CVE-2026-139999 react-routerĐang mởarea/dependencies area/dependencies/js backport/26.6 backport/26.8 kind/cve severity/medium source/scan-dependencies status/triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 2 ngày
-
[DEFECT] AsciiDoc builders write a stray ## before every schema member when the namespace prefixes file binds the schema's own namespaceCó thể đã có người làm @Beehtrix đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
cimug-org/CIMTool#427 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
userRaised
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
eclipse-openj9/openj9#25285 ·
Maintainer thường phản hồi trong vòng 1 ngày