Skip to content

Commit 088409e

Browse files
authored
fix: add passthrough init to abstract provider (#450)
Signed-off-by: gruebel <[email protected]>
1 parent 1198728 commit 088409e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

openfeature/provider/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ async def resolve_object_details_async(
112112

113113

114114
class AbstractProvider(FeatureProvider):
115+
def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None:
116+
# this makes sure to invoke the parent of `FeatureProvider` -> `object`
117+
super(FeatureProvider, self).__init__(*args, **kwargs)
118+
115119
def attach(
116120
self,
117121
on_emit: typing.Callable[

0 commit comments

Comments
 (0)