[DOCS](packages) StrEnum changelog entries name a migration that does not give `Class.MEMBER`

Abierto
#896 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@sethfitz ya está trabajando en esto.

Desde el 4/12/2026.

  • #897 de @sethfitz — abierto

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
38/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
python

Línea de trabajo

Review the six changelog.d/886.feature.md fragments under the named packages and compare their migration examples with the existing StrEnum behavior described in the issue. The work is done when none of those fragments recommends repr() or .name for producing the old Class.MEMBER text and the six package entries remain consistent.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Type

Task

Scope

Multi-theme or Platform

Skillset

engineering

Description

The changelog fragments that #887 added for the StrEnum change tell code that relied on the old Class.MEMBER text to use repr() or .name. Neither returns it:

from overture.schema.common.scoping.heading import Heading

repr(Heading.FORWARD)  # "<Heading.FORWARD: 'forward'>"
Heading.FORWARD.name  # 'FORWARD'

A reader who follows the advice gets a different string and finds out at run time. The text ships in the next release notes of six packages: overture-schema-common, -system, -theme-base, -theme-buildings, -theme-places and -theme-transportation, each in changelog.d/886.feature.md.

Change. Replace the advice in those six fragments with an expression that returns the old text:

f"{type(member).__name__}.{member.name}"  # 'Heading.FORWARD'

Acceptance. No fragment under packages/*/changelog.d/ recommends repr() or .name for the Class.MEMBER text.

Lenguaje dominante
Python
Estrellas
219
Forks
20
Merge medio
1 d 21 h
PR fusionados (30 d)
37

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de OvertureMaps/schema

Todos los issues de OvertureMaps/schema

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.