Skip to content

Commit

Permalink
docs: document shutdown function (#237)
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Bond <federicobond@gmail.com>
  • Loading branch information
federicobond authored Nov 14, 2023
1 parent e24a634 commit 95d69e2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 95d69e2

Please sign in to comment.