Skip to content

Commit

Permalink
add passthrough init to abstract provider
Browse files Browse the repository at this point in the history
Signed-off-by: gruebel <[email protected]>
  • Loading branch information
gruebel committed Feb 13, 2025
1 parent f29c450 commit 4c87397
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openfeature/provider/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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[
Expand Down

0 comments on commit 4c87397

Please sign in to comment.