[Bug]: [Python] Error and log messages print {placeholders} literally because of missing f-string prefixes
Los mantenedores suelen responder en 2 días
@rokadepiyush49-rgb ya está trabajando en esto.
Desde el 23/11/2026.
- #41598 de @rokadepiyush49-rgb — abierto
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
- Lenguaje dominante
- Java
- Estrellas
- 8.7k
- Forks
- 4.8k
- Merge medio
- 3 d 16 h
- PR fusionados (30 d)
- 445
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/beam
-
awaiting triage java new feature P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
[Bug]: [Python] BigTableEnrichmentHandler coerces None lookup keys to literal b'None' and formats blank key name on KeyErrorPosiblemente ocupada @shikhabhadoria la tomó hace 6 días. Abiertoio P2 python
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
apache/beam#41346 · 4 comentarios · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
Release notes links wrongPosiblemente ocupada @schizophrenicmaniac la tomó hace 20 días. Abiertobug P3
Dificultad 1/5 Menos de una hora Aptitud para principiantes 67/100
apache/beam#41197 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
apache/beam#39624 · 2 reacciones ·
Los mantenedores suelen responder en 2 días
-
[Bug]: PubsubIO used in batch incorrect batch cutoff sizePosiblemente ocupada @1fanwang la tomó hace 98 días. Abiertobug io P3 pinned pubsub
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
apache/beam#28011 · 4 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de apache/beam
Issues similares
-
effort/l priority/p1 risk/high triage/core
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
iflytek/skillhub#1188 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
testng-team/testng#3675 ·
Los mantenedores suelen responder en 1 día
-
Improve readability of build file paths in the Run/Debug configuration "Build file" dropdownAbiertodesign
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
OpenLiberty/liberty-tools-intellij#1869 ·
Los mantenedores suelen responder en 1 día
-
`ovsx verify` fails for a version older than the 100 newest of an extensionPosiblemente ocupada @trivikr la tomó hoy. Abiertocli
Dificultad 2/5 1-3 horas Aptitud para principiantes 81/100
eclipse-openvsx/openvsx#2482 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día