Skip to content

Commit 9be9e6b

Browse files
rc-0.18.0rc2 (#584)
Co-authored-by: benjirewis <[email protected]>
1 parent e6ebe47 commit 9be9e6b

File tree

4 files changed

+16
-18
lines changed

4 files changed

+16
-18
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "viam-sdk"
3-
version = "0.18.0rc1"
3+
version = "0.18.0rc2"
44
description = "Viam Robotics Python SDK"
55
authors = [ "Naveed <[email protected]>" ]
66
license = "Apache-2.0"

src/viam/app/provisioning_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Mapping, List, Optional
1+
from typing import List, Mapping, Optional
22

33
from grpclib.client import Channel
44

tests/mocks/services.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,18 @@
265265
PoseInFrame,
266266
ResourceName,
267267
)
268+
from viam.proto.provisioning import (
269+
GetNetworkListRequest,
270+
GetNetworkListResponse,
271+
GetSmartMachineStatusRequest,
272+
GetSmartMachineStatusResponse,
273+
NetworkInfo,
274+
ProvisioningServiceBase,
275+
SetNetworkCredentialsRequest,
276+
SetNetworkCredentialsResponse,
277+
SetSmartMachineCredentialsRequest,
278+
SetSmartMachineCredentialsResponse,
279+
)
268280
from viam.proto.service.mlmodel import (
269281
FlatTensor,
270282
FlatTensorDataDouble,
@@ -279,18 +291,6 @@
279291
FlatTensorDataUInt64,
280292
FlatTensors,
281293
)
282-
from viam.proto.provisioning import (
283-
NetworkInfo,
284-
ProvisioningServiceBase,
285-
GetNetworkListRequest,
286-
GetNetworkListResponse,
287-
GetSmartMachineStatusRequest,
288-
GetSmartMachineStatusResponse,
289-
SetNetworkCredentialsRequest,
290-
SetNetworkCredentialsResponse,
291-
SetSmartMachineCredentialsRequest,
292-
SetSmartMachineCredentialsResponse,
293-
)
294294
from viam.proto.service.motion import (
295295
Constraints,
296296
GetPlanRequest,

tests/test_provisioning_client.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import pytest
2-
32
from grpclib.testing import ChannelFor
43

54
from viam.app.provisioning_client import ProvisioningClient
6-
7-
from viam.proto.provisioning import GetSmartMachineStatusResponse, NetworkInfo, ProvisioningInfo, CloudConfig
5+
from viam.proto.provisioning import CloudConfig, GetSmartMachineStatusResponse, NetworkInfo, ProvisioningInfo
86

97
from .mocks.services import MockProvisioning
108

@@ -35,7 +33,7 @@
3533
has_smart_machine_credentials=HAS_CREDENTIALS,
3634
is_online=IS_ONLINE,
3735
latest_connection_attempt=NETWORK_INFO_LATEST,
38-
errors=ERRORS
36+
errors=ERRORS,
3937
)
4038
CLOUD_CONFIG = CloudConfig(id=ID, secret=SECRET, app_address=APP_ADDRESS)
4139

0 commit comments

Comments
 (0)