fix: add passthrough init to abstract provider (#450)
Signed-off-by: gruebel <anton.gruebel@gmail.com>
This commit is contained in:
parent
11987280ba
commit
088409ea5c
|
|
@ -112,6 +112,10 @@ class FeatureProvider(typing.Protocol): # pragma: no cover
|
|||
|
||||
|
||||
class AbstractProvider(FeatureProvider):
|
||||
def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None:
|
||||
# this makes sure to invoke the parent of `FeatureProvider` -> `object`
|
||||
super(FeatureProvider, self).__init__(*args, **kwargs)
|
||||
|
||||
def attach(
|
||||
self,
|
||||
on_emit: typing.Callable[
|
||||
|
|
|
|||
Loading…
Reference in New Issue