ni / ni/nimi-python

Redundant metadata about repeated capabilities

Open
#1,351 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

codegen
Dominant language
Python
Stars
128
Forks
110
Avg merge
5d 14h
Merged PRs (30d)
10

Description

Description of issue

We have parameter metadata that looks like:

                'is_repeated_capability': True,
                 'repeated_capability_type': 'sites',

We should eliminate is_repeated_capability and simply set repeated_capability_type to None when applicable.

This might alos apply to NI's internal metadata.

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

No file, test, or entry point is named in the issue. Start by locating parameter metadata definitions and all uses of is_repeated_capability and repeated_capability_type, including any NI internal metadata, then verify that the redundant field is removed and applicable repeated_capability_type values are None without breaking metadata consumers.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.