We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 074add2 commit a20545cCopy full SHA for a20545c
1 file changed
infisical_sdk/client.py
@@ -46,9 +46,9 @@ def close(self):
46
"""
47
Close the client and release resources.
48
49
- This stops the background cache cleanup thread. Call this method when
50
- you're done using the client, or use the client as a context manager.
51
- Note that this is only necessary if you are not using the client as a context manager, and if secret caching is enabled.
+ This stops the background cache cleanup thread. You don't need to call
+ this if you're using the client as a context manager (with statement),
+ as cleanup happens automatically when exiting the context.
52
53
if self.cache:
54
self.cache.close()
0 commit comments