Search:

Search all manuals
Search this manual
Manual
Couchbase Client Library: Python 1.0
Community Wiki and Resources
Download Client Library
Python Client Library
SDK Forum
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
8 Connection Operations
Chapter Sections
Chapters

8.1. Done Method

The done() method closes all connections to the Couchbase server. This is a crucial step as it forces the subprocesses to complete, otherwise they will not end and your Python application may freeze. If you fail to issue the method before the end of your script, you will likely have to kill the process using operating system tools.

The done() function takes no arguments, returns nothing, and closes the given connection:

couchbase.done()