File tree 3 files changed +8
-3
lines changed 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ def connect(*,
25
25
lifecycle_handler : Optional [LifecycleHandler ]= None ,
26
26
timeout : float = 10.0 ) -> GreengrassCoreIPCClient :
27
27
"""
28
- Creates an IPC client and connects to the GreengrassCoreIPC service.
28
+ Creates an IPC client and connects to the GreengrassCoreIPC service. When finished with the client,
29
+ you must call close() to free the client's native resources.
29
30
30
31
Args:
31
32
ipc_socket: Path to the Unix domain socket of Greengrass Nucleus, defaults to
Original file line number Diff line number Diff line change @@ -1340,7 +1340,10 @@ def close(self): # type: (...) -> concurrent.futures.Future[None]
1340
1340
1341
1341
class GreengrassCoreIPCClient (rpc .Client ):
1342
1342
"""
1343
- Client for the GreengrassCoreIPC service.
1343
+ Client for the GreengrassCoreIPC service. When finished with the client,
1344
+ you must call close() to free the client's native resources.
1345
+
1346
+
1344
1347
There is a new V2 client which should be preferred.
1345
1348
See the GreengrassCoreIPCClientV2 class in the clientv2 subpackage.
1346
1349
Original file line number Diff line number Diff line change 14
14
15
15
class GreengrassCoreIPCClientV2 :
16
16
"""
17
- V2 client for the GreengrassCoreIPC service.
17
+ V2 client for the GreengrassCoreIPC service. When finished with the client,
18
+ you must call close() to free the client's native resources.
18
19
19
20
Args:
20
21
client: Connection that this client will use. If you do not provide one, it will be made automatically.
You can’t perform that action at this time.
0 commit comments