Skip to content

Commit ef20c68

Browse files
github-actions[bot]viambotnjooma
authored
Automated Protos Update (#513)
Co-authored-by: viambot <[email protected]> Co-authored-by: Naveed Jooma <[email protected]>
1 parent 3f5bd4d commit ef20c68

File tree

8 files changed

+43
-428
lines changed

8 files changed

+43
-428
lines changed

src/viam/gen/app/v1/billing_grpc.py

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,6 @@
99

1010
class BillingServiceBase(abc.ABC):
1111

12-
@abc.abstractmethod
13-
async def GetCurrentMonthUsageSummary(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.GetCurrentMonthUsageSummaryRequest, app.v1.billing_pb2.GetCurrentMonthUsageSummaryResponse]') -> None:
14-
pass
15-
16-
@abc.abstractmethod
17-
async def GetUnpaidBalance(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.GetUnpaidBalanceRequest, app.v1.billing_pb2.GetUnpaidBalanceResponse]') -> None:
18-
pass
19-
20-
@abc.abstractmethod
21-
async def GetInvoiceHistory(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.GetInvoiceHistoryRequest, app.v1.billing_pb2.GetInvoiceHistoryResponse]') -> None:
22-
pass
23-
24-
@abc.abstractmethod
25-
async def GetItemizedInvoice(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.GetItemizedInvoiceRequest, app.v1.billing_pb2.GetItemizedInvoiceResponse]') -> None:
26-
pass
27-
28-
@abc.abstractmethod
29-
async def GetBillingSummary(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.GetBillingSummaryRequest, app.v1.billing_pb2.GetBillingSummaryResponse]') -> None:
30-
pass
31-
3212
@abc.abstractmethod
3313
async def GetCurrentMonthUsage(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.GetCurrentMonthUsageRequest, app.v1.billing_pb2.GetCurrentMonthUsageResponse]') -> None:
3414
pass
@@ -46,16 +26,11 @@ async def GetInvoicePdf(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.
4626
pass
4727

4828
def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
49-
return {'/viam.app.v1.BillingService/GetCurrentMonthUsageSummary': grpclib.const.Handler(self.GetCurrentMonthUsageSummary, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetCurrentMonthUsageSummaryRequest, app.v1.billing_pb2.GetCurrentMonthUsageSummaryResponse), '/viam.app.v1.BillingService/GetUnpaidBalance': grpclib.const.Handler(self.GetUnpaidBalance, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetUnpaidBalanceRequest, app.v1.billing_pb2.GetUnpaidBalanceResponse), '/viam.app.v1.BillingService/GetInvoiceHistory': grpclib.const.Handler(self.GetInvoiceHistory, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetInvoiceHistoryRequest, app.v1.billing_pb2.GetInvoiceHistoryResponse), '/viam.app.v1.BillingService/GetItemizedInvoice': grpclib.const.Handler(self.GetItemizedInvoice, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetItemizedInvoiceRequest, app.v1.billing_pb2.GetItemizedInvoiceResponse), '/viam.app.v1.BillingService/GetBillingSummary': grpclib.const.Handler(self.GetBillingSummary, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetBillingSummaryRequest, app.v1.billing_pb2.GetBillingSummaryResponse), '/viam.app.v1.BillingService/GetCurrentMonthUsage': grpclib.const.Handler(self.GetCurrentMonthUsage, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetCurrentMonthUsageRequest, app.v1.billing_pb2.GetCurrentMonthUsageResponse), '/viam.app.v1.BillingService/GetOrgBillingInformation': grpclib.const.Handler(self.GetOrgBillingInformation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetOrgBillingInformationRequest, app.v1.billing_pb2.GetOrgBillingInformationResponse), '/viam.app.v1.BillingService/GetInvoicesSummary': grpclib.const.Handler(self.GetInvoicesSummary, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetInvoicesSummaryRequest, app.v1.billing_pb2.GetInvoicesSummaryResponse), '/viam.app.v1.BillingService/GetInvoicePdf': grpclib.const.Handler(self.GetInvoicePdf, grpclib.const.Cardinality.UNARY_STREAM, app.v1.billing_pb2.GetInvoicePdfRequest, app.v1.billing_pb2.GetInvoicePdfResponse)}
29+
return {'/viam.app.v1.BillingService/GetCurrentMonthUsage': grpclib.const.Handler(self.GetCurrentMonthUsage, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetCurrentMonthUsageRequest, app.v1.billing_pb2.GetCurrentMonthUsageResponse), '/viam.app.v1.BillingService/GetOrgBillingInformation': grpclib.const.Handler(self.GetOrgBillingInformation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetOrgBillingInformationRequest, app.v1.billing_pb2.GetOrgBillingInformationResponse), '/viam.app.v1.BillingService/GetInvoicesSummary': grpclib.const.Handler(self.GetInvoicesSummary, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetInvoicesSummaryRequest, app.v1.billing_pb2.GetInvoicesSummaryResponse), '/viam.app.v1.BillingService/GetInvoicePdf': grpclib.const.Handler(self.GetInvoicePdf, grpclib.const.Cardinality.UNARY_STREAM, app.v1.billing_pb2.GetInvoicePdfRequest, app.v1.billing_pb2.GetInvoicePdfResponse)}
5030

5131
class BillingServiceStub:
5232

5333
def __init__(self, channel: grpclib.client.Channel) -> None:
54-
self.GetCurrentMonthUsageSummary = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/GetCurrentMonthUsageSummary', app.v1.billing_pb2.GetCurrentMonthUsageSummaryRequest, app.v1.billing_pb2.GetCurrentMonthUsageSummaryResponse)
55-
self.GetUnpaidBalance = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/GetUnpaidBalance', app.v1.billing_pb2.GetUnpaidBalanceRequest, app.v1.billing_pb2.GetUnpaidBalanceResponse)
56-
self.GetInvoiceHistory = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/GetInvoiceHistory', app.v1.billing_pb2.GetInvoiceHistoryRequest, app.v1.billing_pb2.GetInvoiceHistoryResponse)
57-
self.GetItemizedInvoice = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/GetItemizedInvoice', app.v1.billing_pb2.GetItemizedInvoiceRequest, app.v1.billing_pb2.GetItemizedInvoiceResponse)
58-
self.GetBillingSummary = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/GetBillingSummary', app.v1.billing_pb2.GetBillingSummaryRequest, app.v1.billing_pb2.GetBillingSummaryResponse)
5934
self.GetCurrentMonthUsage = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/GetCurrentMonthUsage', app.v1.billing_pb2.GetCurrentMonthUsageRequest, app.v1.billing_pb2.GetCurrentMonthUsageResponse)
6035
self.GetOrgBillingInformation = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/GetOrgBillingInformation', app.v1.billing_pb2.GetOrgBillingInformationRequest, app.v1.billing_pb2.GetOrgBillingInformationResponse)
6136
self.GetInvoicesSummary = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/GetInvoicesSummary', app.v1.billing_pb2.GetInvoicesSummaryRequest, app.v1.billing_pb2.GetInvoicesSummaryResponse)

0 commit comments

Comments
 (0)