From 4c87397a699f4a4f62dd5b8db5f22890e4a149f1 Mon Sep 17 00:00:00 2001 From: gruebel Date: Thu, 13 Feb 2025 18:48:39 +0100 Subject: [PATCH] add passthrough init to abstract provider Signed-off-by: gruebel --- openfeature/provider/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openfeature/provider/__init__.py b/openfeature/provider/__init__.py index 5b9ffd09..17300c0a 100644 --- a/openfeature/provider/__init__.py +++ b/openfeature/provider/__init__.py @@ -112,6 +112,10 @@ async def resolve_object_details_async( 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[