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

Open
#896 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@sethfitz is already working on this.

Since Dec 4, 2026.

  • #897 by @sethfitz — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
38/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
documentation

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
219
Forks
20
Avg merge
1d 21h
Merged PRs (30d)
37

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OvertureMaps/schema

All issues in OvertureMaps/schema

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.