[BUG](system) Discovery gives a RootModel entry point none of its root's tags

Open Beginner friendly
#867 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
cli, data

Research direction

Start with _generate_tags and the entry point classification path; the issue identifies collect_types(denoted_type(entry)) as the way to obtain the union arms or wrapped model. Check how the CLI's --tag selection and generated PySpark PARTITIONS use those tags, then update the relevant explanation in docs/walkthrough.md. Done when a RootModel entry point receives its feature and theme tags, its generated partitions include the theme, and the walkthrough matches the behavior.

Written by the indexing model from the issue text.

Description

_generate_tags calls collect_types on the wrapper, which returns the wrapper class rather than the union's arms or the wrapped model. A RootModel entry point over a feature gets no feature tag and no theme tag, so it drops out of --tag selection without an error, and its generated PySpark module has PARTITIONS = {} instead of {'theme': ...}. collect_types(denoted_type(entry)) returns the arms (denoted_type is added by #832). The CLI's classification of entry points, and docs/walkthrough.md's account of it, change with this.

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.