(self)
This method is responsible for defining the necessary interface to
        disconnect from a NoSQL database.
This method is responsible for defining the necessary interface to
        disconnect from a NoSQL database.
This method is responsible for defining the necessary interface to disconnect from a NoSQL database .
def disconnect(self):
        '''
        This method is responsible for defining the necessary interface to
        disconnect from a NoSQL database.
        '''

        if self.proceed:
            try:
                self.client.close()

                return {
                    'status': True,
                    'error': None,
                }

            except errors, error:
                self.list_error.append(error)

                return {
                    'status': False,
                    'error': self.list_error,
                }
def disconnect ( self ) : if self . proceed : try : self . client . close ( ) return { 'status' : True , 'error' : None , } except errors , error : self . list_error . append ( error ) return { 'status' : False , 'error' : self . list_error , }