[DOCS](packages) StrEnum changelog entries name a migration that does not give `Class.MEMBER`
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 38/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- documentation
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 219
- Fork
- 20
- Merge medio
- 1g 21h
- PR unite (30g)
- 37
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OvertureMaps/schema
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
OvertureMaps/schema#867 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
OvertureMaps/schema#694 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
OvertureMaps/schema#693 ·
I maintainer di solito rispondono entro 1 giorno
-
chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
OvertureMaps/schema#675 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG](ci) `main` fails `make check` on unused `type: ignore` commentsForse già presa @sethfitz l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
OvertureMaps/schema#899 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di OvertureMaps/schema
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
521xueweihan/HelloGitHub#4729 ·
-
auto-reported bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
cliproxy-quota: a tab around a credential email skips own-accounts and paced-accounts matchingApertaneeds-triage type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
pollen-robotics/reachy_mini_conversation_app#631 ·
I maintainer di solito rispondono entro 7 giorni
-
stix-atlas.json: the same relationship id is used for several different mitigates relationshipsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100