diff --git a/src/viam/app/data_client.py b/src/viam/app/data_client.py index e6c7ae69e..cb1ef4465 100644 --- a/src/viam/app/data_client.py +++ b/src/viam/app/data_client.py @@ -3,8 +3,8 @@ from datetime import datetime from pathlib import Path from typing import Any, Dict, List, Mapping, Optional, Sequence, Tuple, Union -import bson +import bson from google.protobuf.struct_pb2 import Struct from grpclib.client import Channel, Stream diff --git a/src/viam/version_metadata.py b/src/viam/version_metadata.py index 04dbeb305..d7475a336 100644 --- a/src/viam/version_metadata.py +++ b/src/viam/version_metadata.py @@ -1,4 +1,4 @@ -__version__ = "0.32.0" +__version__ = "0.33.0" API_VERSION = "v0.1.354" SDK_VERSION = __version__ diff --git a/tests/mocks/services.py b/tests/mocks/services.py index b9df06445..812032f46 100644 --- a/tests/mocks/services.py +++ b/tests/mocks/services.py @@ -1,10 +1,10 @@ +from datetime import datetime from typing import Any, Dict, List, Mapping, Optional, Sequence, Union +import bson import numpy as np from grpclib.server import Stream from numpy.typing import NDArray -from datetime import datetime -import bson from viam.app.data_client import DataClient from viam.gen.app.v1.app_pb2 import FragmentHistoryEntry, GetFragmentHistoryRequest, GetFragmentHistoryResponse @@ -793,6 +793,7 @@ async def SetSmartMachineCredentials( self.cloud_config = request.cloud await stream.send_message(SetSmartMachineCredentialsResponse()) + class MockData(UnimplementedDataServiceBase): def __init__( self, diff --git a/tests/test_data_client.py b/tests/test_data_client.py index beb3d730f..df643f4a0 100644 --- a/tests/test_data_client.py +++ b/tests/test_data_client.py @@ -1,10 +1,10 @@ +from datetime import datetime from typing import List import pytest from google.protobuf.timestamp_pb2 import Timestamp from grpclib.testing import ChannelFor -from datetime import datetime from viam.app.data_client import DataClient from viam.proto.app.data import Annotations, BinaryData, BinaryID, BinaryMetadata, BoundingBox, CaptureMetadata, Filter, Order from viam.utils import create_filter