Skip to content

Commit 1348d04

Browse files
committed
Bump version to 0.48.0
1 parent 7aaded0 commit 1348d04

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/viam/app/data_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1921,7 +1921,9 @@ async def create_data_pipeline(
19211921
str: The ID of the newly created pipeline.
19221922
"""
19231923
binary: List[bytes] = [bson.encode(query) for query in mql_binary]
1924-
request = CreateDataPipelineRequest(organization_id=organization_id, name=name, mql_binary=binary, schedule=schedule, data_source_type=data_source_type)
1924+
request = CreateDataPipelineRequest(
1925+
organization_id=organization_id, name=name, mql_binary=binary, schedule=schedule, data_source_type=data_source_type
1926+
)
19251927
response: CreateDataPipelineResponse = await self._data_pipelines_client.CreateDataPipeline(request, metadata=self._metadata)
19261928
return response.id
19271929

src/viam/rpc/server.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
from typing import TYPE_CHECKING, Callable, List, Optional
2-
31
import sys
2+
from typing import TYPE_CHECKING, Callable, List, Optional
43

54
from grpclib import GRPCError, Status
65
from grpclib._typing import IServable
@@ -92,7 +91,6 @@ async def _serve(
9291
*,
9392
path: Optional[str] = None,
9493
):
95-
9694
if path:
9795
await self._server.start(path=path)
9896
LOGGER.info(f"Serving on {path}")
@@ -126,7 +124,7 @@ async def serve(
126124
logging.setLevel(log_level)
127125
listen(self._server, RecvRequest, self._grpc_recvrequest_handler)
128126

129-
if sys.platform != 'win32':
127+
if sys.platform != "win32":
130128
with graceful_exit([self._server]):
131129
await self._serve(host=host, port=port, log_level=log_level, path=path)
132130
else:

src/viam/version_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.47.0"
1+
__version__ = "0.48.0"
22

33
API_VERSION = "v0.1.445"
44
SDK_VERSION = __version__

tests/test_data_pipelines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
from grpclib.testing import ChannelFor
55

66
from viam.app.data_client import DataClient
7+
from viam.proto.app.data import TabularDataSourceType
78
from viam.proto.app.datapipelines import DataPipeline, DataPipelineRun, DataPipelineRunStatus
89
from viam.utils import datetime_to_timestamp
9-
from viam.proto.app.data import TabularDataSourceType
1010

1111
from .mocks.services import MockDataPipelines
1212

0 commit comments

Comments
 (0)