ni / ni/datastore-python

In the Extension Attributes example, the OData query we use should reference at least one extension attribute.

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

Nobody has claimed this yet.

tech debt
Dominant language
Python
Stars
2
Forks
0
Avg merge
1d 14h
Merged PRs (30d)
6

Description

Right now the query just searches based on the name of the measurement. Since this example is about extension attributes, we should update the query to actually look for something related to extension attributes. Here's the query we're using in the LabVIEW and C# examples:

var oDataQuery = "$filter=testresult/hardwareitems/any (h: h/extension/cable_length eq '1.5') and Name eq 'scope reading'";

AB#3760273

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

Locate the LabVIEW and C# examples containing the shown OData query and read the surrounding Extension Attributes example. Confirm that the query filters on an extension attribute, then update the example query where needed and verify both examples consistently demonstrate an extension-attribute lookup.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, python
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.