Skip to content

Commit 9c8fa0b

Browse files
author
Michael Johansen
committed
Commit what I have for now. Still work to be done.
Signed-off-by: Michael Johansen <[email protected]>
1 parent 5494a94 commit 9c8fa0b

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

src/nipanel/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from importlib.metadata import version
44

5+
from ni.protobuf.types import array_pb2
56
from nipanel._panel_value_accessor import PanelValueAccessor
67
from nipanel._streamlit_panel import StreamlitPanel
78
from nipanel._streamlit_panel_initializer import (

src/nipanel/converters/protobuf_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import nitypes.bintime as bt
99
import numpy as np
10-
from ni.protobuf.types import array_pb2, scalar_pb2
10+
from ni.protobuf.types import attribute_value_pb2, scalar_pb2, array_pb2
1111
from ni.protobuf.types.precision_timestamp_pb2 import PrecisionTimestamp
1212
from ni.protobuf.types.scalar_conversion import scalar_from_protobuf, scalar_to_protobuf
1313
from ni.protobuf.types.precision_timestamp_conversion import (

tests/unit/test_convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import pytest
66
from google.protobuf import any_pb2, duration_pb2, timestamp_pb2, wrappers_pb2
77
from google.protobuf.message import Message
8-
from ni.protobuf.types import array_pb2, attribute_value_pb2, scalar_pb2
8+
from ni.protobuf.types import attribute_value_pb2, scalar_pb2, array_pb2
99
from ni.protobuf.types.waveform_pb2 import DoubleAnalogWaveform
1010
from nitypes.scalar import Scalar
1111
from nitypes.waveform import AnalogWaveform

tests/unit/test_protobuf_type_conversion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import numpy
55
import pytest
6-
from ni.protobuf.types import array_pb2, attribute_value_pb2, scalar_pb2
6+
from ni.protobuf.types import attribute_value_pb2, scalar_pb2, array_pb2
77
from ni.protobuf.types.waveform_pb2 import (
88
DoubleAnalogWaveform,
99
WaveformAttributeValue,

0 commit comments

Comments
 (0)