ni / ni/nimi-python

Cleanup enums_addon metadata that was added when fixing enum value python_name behavior

Open
#2,072 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

nidcpower nidmm tech-debt
Dominant language
Python
Stars
128
Forks
110
Avg merge
5d 14h
Merged PRs (30d)
10

Description

Description of issue

In order to address #2066, we had to override some enum metadata to avoid altering the generated enum value names.
The python_name for these cases needs to be updated in internal metadata, then the overrides can be deleted when the updated metadata gets pulled in.

Contributor guide

Open the contributing guide

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.

Research direction

Start by locating the enums_addon metadata, the internal metadata that supplies enum python_name values, and the overrides added for issue #2066. Confirm which metadata entries need updating, then remove the corresponding overrides and verify that generated enum value names remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.