Merge "Replace abc.abstractproperty with property and abc.abstractmethod"

This commit is contained in:
Zuul 2022-08-04 12:34:34 +00:00 committed by Gerrit Code Review
commit 553ca961a6
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ class EventConsumer(h_base.EventHandler, metaclass=abc.ABCMeta):
def __init__(self):
super(EventConsumer, self).__init__()
@abc.abstractproperty
@property
@abc.abstractmethod
def consumes(self):
"""Predicates determining events supported by this handler.