[DOCS](packages) StrEnum changelog entries name a migration that does not give `Class.MEMBER`
Los mantenedores suelen responder en 1 día
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
- Área
- documentation
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
- 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 OvertureMaps/schema
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
OvertureMaps/schema#867 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
OvertureMaps/schema#694 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
OvertureMaps/schema#693 ·
Los mantenedores suelen responder en 1 día
-
chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
OvertureMaps/schema#675 ·
Los mantenedores suelen responder en 1 día
-
[BUG](ci) `main` fails `make check` on unused `type: ignore` commentsPosiblemente ocupada @sethfitz la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
OvertureMaps/schema#899 ·
Los mantenedores suelen responder en 1 día
Todos los issues de OvertureMaps/schema
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
521xueweihan/HelloGitHub#4729 ·
-
Relatório de erro do LinuxToysAbiertoauto-reported bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
cliproxy-quota: a tab around a credential email skips own-accounts and paced-accounts matchingAbiertoneeds-triage type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
pollen-robotics/reachy_mini_conversation_app#631 ·
Los mantenedores suelen responder en 7 días
-
stix-atlas.json: the same relationship id is used for several different mitigates relationshipsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100