Skip to content

Commit a20545c

Browse files
committed
Update client.py
1 parent 074add2 commit a20545c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

infisical_sdk/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ def close(self):
4646
"""
4747
Close the client and release resources.
4848
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.
49+
This stops the background cache cleanup thread. You don't need to call
50+
this if you're using the client as a context manager (with statement),
51+
as cleanup happens automatically when exiting the context.
5252
"""
5353
if self.cache:
5454
self.cache.close()

0 commit comments

Comments
 (0)