From 5b99041d532fa75dff521402fe47b2986ff57f19 Mon Sep 17 00:00:00 2001 From: Federico Bond Date: Tue, 14 Nov 2023 00:22:55 -0300 Subject: [PATCH] docs: document shutdown function Signed-off-by: Federico Bond --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fce384ee..935454d2 100644 --- a/README.md +++ b/README.md @@ -199,7 +199,13 @@ Events are not yet available in the Python SDK. Progress on this feature can be ### Shutdown -A shutdown method is not yet available in the Python SDK. Progress on this feature can be tracked [here](https://github.com/open-feature/python-sdk/issues/125). +The OpenFeature API provides a shutdown function to perform a cleanup of all registered providers. This should only be called when your application is in the process of shutting down. + +```python +from openfeature import api + +api.shutdown() +``` ## Extending