Skip to content

Commit 95d69e2

Browse files
authored
docs: document shutdown function (#237)
Signed-off-by: Federico Bond <federicobond@gmail.com>
1 parent e24a634 commit 95d69e2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,13 @@ Events are not yet available in the Python SDK. Progress on this feature can be
199199

200200
### Shutdown
201201

202-
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).
202+
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.
203+
204+
```python
205+
from openfeature import api
206+
207+
api.shutdown()
208+
```
203209

204210
## Extending
205211

0 commit comments

Comments
 (0)