Commit 09c7e7e
Replace ni.protobuf.types stubs with dependency on ni.protobuf.types package (#1212)
* First pass at removing protobuf and panel generated stubs and pulling them in from ni.protobuf.types
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
* Fix linting errors.
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
* Modified stub generation to exclude protobuf and panels
* Lint
* Add code to stop adding the _internal stub path to ni.protobuf.types and ni.panels.v1.
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
* Fix example_renders to match what is generated and add them to the styleguide exclude list since they don't conform to the styleguide as generated.
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
* Missing a comma.
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
* Re-lock dependencies after simplifying numpy deps
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
* Run poetry lock on the examples.
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
* Refactor stub namespace exclusions.
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
* Add dev dependencies for numpy to fix errors on python 3.13.
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
---------
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
Co-authored-by: Michael Johansen <michael.johansen@ni.com>
Co-authored-by: Johann Scholtz <johann.scholtz@ni.com>1 parent 145381e commit 09c7e7e
68 files changed
Lines changed: 281 additions & 2414 deletions
File tree
- examples
- game_of_life
- sample_measurement
- packages
- generator
- ni_measurement_plugin_sdk_generator/client
- tests
- acceptance
- test_assets/example_renders/measurement_plugin_client
- utilities/measurements
- localized_measurement
- non_streaming_data_measurement
- service
- ni_measurement_plugin_sdk_service
- _internal/stubs/ni
- panels
- v1
- protobuf
- types
- scripts
- tests
- unit
- utilities
- stubs/serialization
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 14 | + | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
53 | 61 | | |
54 | 62 | | |
55 | 63 | | |
| |||
64 | 72 | | |
65 | 73 | | |
66 | 74 | | |
67 | | - | |
| 75 | + | |
68 | 76 | | |
69 | 77 | | |
70 | 78 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 11 | + | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
| |||
Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
28 | 22 | | |
29 | 23 | | |
30 | 24 | | |
| |||
0 commit comments