File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ class RobotClientOptions {
5858
5959/// {@category Viam SDK}
6060/// Represents a discovery query in the SDK to query for discoverable components.
61+ ///
62+ /// deprecated, remove on march 10th
6163class DiscoveryQuery {
6264 final String subtype;
6365 final String model;
@@ -334,6 +336,8 @@ class RobotClient {
334336 return await _client.getCloudMetadata (rpb.GetCloudMetadataRequest ());
335337 }
336338
339+ /// Deprecated: use the Discovery Service APIs instead.
340+ ///
337341 /// Discover components that the robot can connect to, given specific query metadata.
338342 ///
339343 /// ```
@@ -347,6 +351,7 @@ class RobotClient {
347351 ..model = sdkQuery.model
348352 ..extra = sdkQuery.extraStruct));
349353
354+ _logger.w ("RobotClient.discoverComponents is deprecated. It will be removed on March 10 2025. Use the DiscoveryService APIs instead." );
350355 final response = await _client.discoverComponents (request);
351356 return response.discovery.map ((d) => Discovery .fromProto (d)).toList ();
352357 }
You can’t perform that action at this time.
0 commit comments