Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSDK-9623: Add Discover Service and GetModelsFromModules to Python #827

Merged
merged 16 commits into from
Feb 3, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
new protos
  • Loading branch information
martha-johnston committed Jan 27, 2025
commit e0de21dd53d4b836c70d68da3f90cb3b6597fe68
493 changes: 248 additions & 245 deletions src/viam/proto/app/__init__.py

Large diffs are not rendered by default.

31 changes: 17 additions & 14 deletions src/viam/proto/app/agent/__init__.py
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
"""
'''
@generated by Viam.
Do not edit manually!
"""

from ....gen.app.agent.v1.agent_grpc import AgentDeviceServiceBase, AgentDeviceServiceStub, UnimplementedAgentDeviceServiceBase
'''
from ....gen.app.agent.v1.agent_grpc import (
AgentDeviceServiceBase,
AgentDeviceServiceStub,
UnimplementedAgentDeviceServiceBase
)
from ....gen.app.agent.v1.agent_pb2 import (
DeviceAgentConfigRequest,
DeviceAgentConfigResponse,
DeviceSubsystemConfig,
HostInfo,
PackageFormat,
SubsystemUpdateInfo,
SubsystemUpdateInfo
)

__all__ = [
"AgentDeviceServiceBase",
"AgentDeviceServiceStub",
"UnimplementedAgentDeviceServiceBase",
"DeviceAgentConfigRequest",
"DeviceAgentConfigResponse",
"DeviceSubsystemConfig",
"HostInfo",
"PackageFormat",
"SubsystemUpdateInfo",
'AgentDeviceServiceBase',
'AgentDeviceServiceStub',
'UnimplementedAgentDeviceServiceBase',
'DeviceAgentConfigRequest',
'DeviceAgentConfigResponse',
'DeviceSubsystemConfig',
'HostInfo',
'PackageFormat',
'SubsystemUpdateInfo',
]
55 changes: 29 additions & 26 deletions src/viam/proto/app/billing.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
"""
'''
@generated by Viam.
Do not edit manually!
"""

from ...gen.app.v1.billing_grpc import BillingServiceBase, BillingServiceStub, UnimplementedBillingServiceBase
'''
from ...gen.app.v1.billing_grpc import (
BillingServiceBase,
BillingServiceStub,
UnimplementedBillingServiceBase
)
from ...gen.app.v1.billing_pb2 import (
GetCurrentMonthUsageRequest,
GetCurrentMonthUsageResponse,
@@ -22,29 +25,29 @@
SendPaymentRequiredEmailResponse,
SourceType,
UsageCost,
UsageCostType,
UsageCostType
)

__all__ = [
"BillingServiceBase",
"BillingServiceStub",
"UnimplementedBillingServiceBase",
"GetCurrentMonthUsageRequest",
"GetCurrentMonthUsageResponse",
"GetInvoicePdfRequest",
"GetInvoicePdfResponse",
"GetInvoicesSummaryRequest",
"GetInvoicesSummaryResponse",
"GetOrgBillingInformationRequest",
"GetOrgBillingInformationResponse",
"InvoiceSummary",
"PaymentMethodCard",
"PaymentMethodType",
"ResourceUsageCosts",
"ResourceUsageCostsBySource",
"SendPaymentRequiredEmailRequest",
"SendPaymentRequiredEmailResponse",
"SourceType",
"UsageCost",
"UsageCostType",
'BillingServiceBase',
'BillingServiceStub',
'UnimplementedBillingServiceBase',
'GetCurrentMonthUsageRequest',
'GetCurrentMonthUsageResponse',
'GetInvoicePdfRequest',
'GetInvoicePdfResponse',
'GetInvoicesSummaryRequest',
'GetInvoicesSummaryResponse',
'GetOrgBillingInformationRequest',
'GetOrgBillingInformationResponse',
'InvoiceSummary',
'PaymentMethodCard',
'PaymentMethodType',
'ResourceUsageCosts',
'ResourceUsageCostsBySource',
'SendPaymentRequiredEmailRequest',
'SendPaymentRequiredEmailResponse',
'SourceType',
'UsageCost',
'UsageCostType',
]
53 changes: 28 additions & 25 deletions src/viam/proto/app/cloudslam/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
"""
'''
@generated by Viam.
Do not edit manually!
"""

from ....gen.app.cloudslam.v1.cloud_slam_grpc import CloudSLAMServiceBase, CloudSLAMServiceStub, UnimplementedCloudSLAMServiceBase
'''
from ....gen.app.cloudslam.v1.cloud_slam_grpc import (
CloudSLAMServiceBase,
CloudSLAMServiceStub,
UnimplementedCloudSLAMServiceBase
)
from ....gen.app.cloudslam.v1.cloud_slam_pb2 import (
CaptureInterval,
EndStatus,
@@ -21,28 +24,28 @@
StartMappingSessionRequest,
StartMappingSessionResponse,
StopMappingSessionRequest,
StopMappingSessionResponse,
StopMappingSessionResponse
)

__all__ = [
"CloudSLAMServiceBase",
"CloudSLAMServiceStub",
"UnimplementedCloudSLAMServiceBase",
"CaptureInterval",
"EndStatus",
"GetActiveMappingSessionsForRobotRequest",
"GetActiveMappingSessionsForRobotResponse",
"GetMappingSessionMetadataByIDRequest",
"GetMappingSessionMetadataByIDResponse",
"GetMappingSessionPointCloudRequest",
"GetMappingSessionPointCloudResponse",
"ListMappingSessionsRequest",
"ListMappingSessionsResponse",
"MappingMetadata",
"Module",
"SensorInfo",
"StartMappingSessionRequest",
"StartMappingSessionResponse",
"StopMappingSessionRequest",
"StopMappingSessionResponse",
'CloudSLAMServiceBase',
'CloudSLAMServiceStub',
'UnimplementedCloudSLAMServiceBase',
'CaptureInterval',
'EndStatus',
'GetActiveMappingSessionsForRobotRequest',
'GetActiveMappingSessionsForRobotResponse',
'GetMappingSessionMetadataByIDRequest',
'GetMappingSessionMetadataByIDResponse',
'GetMappingSessionPointCloudRequest',
'GetMappingSessionPointCloudResponse',
'ListMappingSessionsRequest',
'ListMappingSessionsResponse',
'MappingMetadata',
'Module',
'SensorInfo',
'StartMappingSessionRequest',
'StartMappingSessionResponse',
'StopMappingSessionRequest',
'StopMappingSessionResponse',
]
139 changes: 71 additions & 68 deletions src/viam/proto/app/data/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
"""
'''
@generated by Viam.
Do not edit manually!
"""

from ....gen.app.data.v1.data_grpc import DataServiceBase, DataServiceStub, UnimplementedDataServiceBase
'''
from ....gen.app.data.v1.data_grpc import (
DataServiceBase,
DataServiceStub,
UnimplementedDataServiceBase
)
from ....gen.app.data.v1.data_pb2 import (
AddBinaryDataToDatasetByIDsRequest,
AddBinaryDataToDatasetByIDsResponse,
@@ -64,71 +67,71 @@
TagsFilter,
TagsFilterType,
UpdateBoundingBoxRequest,
UpdateBoundingBoxResponse,
UpdateBoundingBoxResponse
)

__all__ = [
"DataServiceBase",
"DataServiceStub",
"UnimplementedDataServiceBase",
"AddBinaryDataToDatasetByIDsRequest",
"AddBinaryDataToDatasetByIDsResponse",
"AddBoundingBoxToImageByIDRequest",
"AddBoundingBoxToImageByIDResponse",
"AddTagsToBinaryDataByFilterRequest",
"AddTagsToBinaryDataByFilterResponse",
"AddTagsToBinaryDataByIDsRequest",
"AddTagsToBinaryDataByIDsResponse",
"Annotations",
"BinaryData",
"BinaryDataByFilterRequest",
"BinaryDataByFilterResponse",
"BinaryDataByIDsRequest",
"BinaryDataByIDsResponse",
"BinaryID",
"BinaryMetadata",
"BoundingBox",
"BoundingBoxLabelsByFilterRequest",
"BoundingBoxLabelsByFilterResponse",
"CaptureInterval",
"CaptureMetadata",
"Classification",
"ConfigureDatabaseUserRequest",
"ConfigureDatabaseUserResponse",
"DataRequest",
"DeleteBinaryDataByFilterRequest",
"DeleteBinaryDataByFilterResponse",
"DeleteBinaryDataByIDsRequest",
"DeleteBinaryDataByIDsResponse",
"DeleteTabularDataRequest",
"DeleteTabularDataResponse",
"ExportTabularDataRequest",
"ExportTabularDataResponse",
"Filter",
"GetDatabaseConnectionRequest",
"GetDatabaseConnectionResponse",
"GetLatestTabularDataRequest",
"GetLatestTabularDataResponse",
"Order",
"RemoveBinaryDataFromDatasetByIDsRequest",
"RemoveBinaryDataFromDatasetByIDsResponse",
"RemoveBoundingBoxFromImageByIDRequest",
"RemoveBoundingBoxFromImageByIDResponse",
"RemoveTagsFromBinaryDataByFilterRequest",
"RemoveTagsFromBinaryDataByFilterResponse",
"RemoveTagsFromBinaryDataByIDsRequest",
"RemoveTagsFromBinaryDataByIDsResponse",
"TabularData",
"TabularDataByFilterRequest",
"TabularDataByFilterResponse",
"TabularDataByMQLRequest",
"TabularDataByMQLResponse",
"TabularDataBySQLRequest",
"TabularDataBySQLResponse",
"TagsByFilterRequest",
"TagsByFilterResponse",
"TagsFilter",
"TagsFilterType",
"UpdateBoundingBoxRequest",
"UpdateBoundingBoxResponse",
'DataServiceBase',
'DataServiceStub',
'UnimplementedDataServiceBase',
'AddBinaryDataToDatasetByIDsRequest',
'AddBinaryDataToDatasetByIDsResponse',
'AddBoundingBoxToImageByIDRequest',
'AddBoundingBoxToImageByIDResponse',
'AddTagsToBinaryDataByFilterRequest',
'AddTagsToBinaryDataByFilterResponse',
'AddTagsToBinaryDataByIDsRequest',
'AddTagsToBinaryDataByIDsResponse',
'Annotations',
'BinaryData',
'BinaryDataByFilterRequest',
'BinaryDataByFilterResponse',
'BinaryDataByIDsRequest',
'BinaryDataByIDsResponse',
'BinaryID',
'BinaryMetadata',
'BoundingBox',
'BoundingBoxLabelsByFilterRequest',
'BoundingBoxLabelsByFilterResponse',
'CaptureInterval',
'CaptureMetadata',
'Classification',
'ConfigureDatabaseUserRequest',
'ConfigureDatabaseUserResponse',
'DataRequest',
'DeleteBinaryDataByFilterRequest',
'DeleteBinaryDataByFilterResponse',
'DeleteBinaryDataByIDsRequest',
'DeleteBinaryDataByIDsResponse',
'DeleteTabularDataRequest',
'DeleteTabularDataResponse',
'ExportTabularDataRequest',
'ExportTabularDataResponse',
'Filter',
'GetDatabaseConnectionRequest',
'GetDatabaseConnectionResponse',
'GetLatestTabularDataRequest',
'GetLatestTabularDataResponse',
'Order',
'RemoveBinaryDataFromDatasetByIDsRequest',
'RemoveBinaryDataFromDatasetByIDsResponse',
'RemoveBoundingBoxFromImageByIDRequest',
'RemoveBoundingBoxFromImageByIDResponse',
'RemoveTagsFromBinaryDataByFilterRequest',
'RemoveTagsFromBinaryDataByFilterResponse',
'RemoveTagsFromBinaryDataByIDsRequest',
'RemoveTagsFromBinaryDataByIDsResponse',
'TabularData',
'TabularDataByFilterRequest',
'TabularDataByFilterResponse',
'TabularDataByMQLRequest',
'TabularDataByMQLResponse',
'TabularDataBySQLRequest',
'TabularDataBySQLResponse',
'TagsByFilterRequest',
'TagsByFilterResponse',
'TagsFilter',
'TagsFilterType',
'UpdateBoundingBoxRequest',
'UpdateBoundingBoxResponse',
]
41 changes: 22 additions & 19 deletions src/viam/proto/app/dataset/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
"""
'''
@generated by Viam.
Do not edit manually!
"""

from ....gen.app.dataset.v1.dataset_grpc import DatasetServiceBase, DatasetServiceStub, UnimplementedDatasetServiceBase
'''
from ....gen.app.dataset.v1.dataset_grpc import (
DatasetServiceBase,
DatasetServiceStub,
UnimplementedDatasetServiceBase
)
from ....gen.app.dataset.v1.dataset_pb2 import (
CreateDatasetRequest,
CreateDatasetResponse,
@@ -15,22 +18,22 @@
ListDatasetsByOrganizationIDRequest,
ListDatasetsByOrganizationIDResponse,
RenameDatasetRequest,
RenameDatasetResponse,
RenameDatasetResponse
)

__all__ = [
"DatasetServiceBase",
"DatasetServiceStub",
"UnimplementedDatasetServiceBase",
"CreateDatasetRequest",
"CreateDatasetResponse",
"Dataset",
"DeleteDatasetRequest",
"DeleteDatasetResponse",
"ListDatasetsByIDsRequest",
"ListDatasetsByIDsResponse",
"ListDatasetsByOrganizationIDRequest",
"ListDatasetsByOrganizationIDResponse",
"RenameDatasetRequest",
"RenameDatasetResponse",
'DatasetServiceBase',
'DatasetServiceStub',
'UnimplementedDatasetServiceBase',
'CreateDatasetRequest',
'CreateDatasetResponse',
'Dataset',
'DeleteDatasetRequest',
'DeleteDatasetResponse',
'ListDatasetsByIDsRequest',
'ListDatasetsByIDsResponse',
'ListDatasetsByOrganizationIDRequest',
'ListDatasetsByOrganizationIDResponse',
'RenameDatasetRequest',
'RenameDatasetResponse',
]
Loading