ni / ni/measurement-plugin-python

Allow representing paths as pathlib.Path

Open
#283 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
21
Forks
20
Avg merge
1d 16h
Merged PRs (30d)
3

Description

Problem to Solve

Python 3.x has a standard data type for paths, pathlib.Path, but we are not using it. Specifying that has a configuration parameter has a data type of ni_measurementlink_service.DataType.Path yields a str, not a pathlib.Path.

Proposed Solution

Interpret ni_measurementlink_service.DataType.Path as pathlib.Path, possibly with a opt-in for compatibility.

AB#2414585

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 how ni_measurementlink_service.DataType.Path is interpreted and where its resulting value type is tested. Check the existing compatibility behavior before deciding how an opt-in should work. Done means Path values are represented as pathlib.Path while the compatibility requirement is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.