Skip to content

Commit eb75158

Browse files
committed
regenerate code with updated protobufs
1 parent 1200f2e commit eb75158

File tree

19 files changed

+1207
-3196
lines changed

19 files changed

+1207
-3196
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ async def main():
3939
response = await service.capabilities()
4040
print(response.to_json(indent=2))
4141

42-
response = await service.get(
42+
request = gnmi.proto.GetRequest(
4343
path=[gnmi.proto.Path(elem=[gnmi.proto.PathElem(name="interfaces")])],
4444
)
45+
response = await service.get(request)
4546
print(response.to_json(indent=2))
4647

4748

src/gnmi/proto/__init__.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
SubscriptionList,
2121
Subscription,
2222
QosMarking as QoSMarking,
23-
Alias,
24-
AliasList,
2523
SetRequest,
2624
SetResponse,
2725
UpdateResult,
@@ -34,6 +32,8 @@
3432
Nil,
3533
GNmiStub as gNMIStub,
3634
CollectorStub,
35+
GNmiBase as gNMIBase,
36+
CollectorBase,
3737
)
3838

3939
# noinspection PyProtectedMember
@@ -44,6 +44,14 @@
4444
MasterArbitration,
4545
Uint128,
4646
Role,
47+
History,
48+
TimeRange,
49+
Commit,
50+
CommitRequest,
51+
CommitConfirm,
52+
CommitCancel,
53+
CommitSetRollbackDuration,
54+
Depth,
4755
)
4856

4957
# noinspection PyProtectedMember

0 commit comments

Comments
 (0)