Skip to content

Commit 8ed56a6

Browse files
authored
feat: Add support for shutdown method (#3)
1 parent 962a63f commit 8ed56a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ld_openfeature/provider.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ def __init__(self, client: LDClient):
1919
self.__context_converter = EvaluationContextConverter()
2020
self.__details_converter = ResolutionDetailsConverter()
2121

22+
def shutdown(self):
23+
self.__client.close()
24+
2225
def get_metadata(self) -> Metadata:
2326
return Metadata("launchdarkly-openfeature-server")
2427

0 commit comments

Comments
 (0)