Skip to content

Commit 4abed57

Browse files
committed
Fix proto enum access due to 3.6 proto version
1 parent b24a84a commit 4abed57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_etcd3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def callback(event):
476476
watch_id = etcd.add_watch_prefix_callback(
477477
'/doot/watch/prefix/callback/',
478478
callback,
479-
filters=[etcdrpc.WatchCreateRequest.FilterType.NODELETE]
479+
filters=[etcdrpc.WatchCreateRequest.FilterType.Value('NODELETE')]
480480
)
481481

482482
t.join()

0 commit comments

Comments
 (0)