original_docstring: Clean up underlying session.
  
          .. note::
  
             If the transaction has been shared across multiple machines,
             calling this on any machine would invalidate the transaction
             everywhere. Ideally this would be called when data has been read
             from all the partitions.
          
docstring: Clean up underlying session.
  note:.
  
  If the transaction has been shared across multiple machines,
  calling this on any machine would invalidate the transaction
  everywhere. Ideally this would be called when data has been read
  from all the partitions.
docstring_tokens: Clean up underlying session . note : . If the transaction has been shared across multiple machines calling this on any machine would invalidate the transaction everywhere . Ideally this would be called when data has been read from all the partitions .
code: def close(self):
          """Clean up underlying session.
  
          .. note::
  
             If the transaction has been shared across multiple machines,
             calling this on any machine would invalidate the transaction
             everywhere. Ideally this would be called when data has been read
             from all the partitions.
          """
          if self._session is not None:
              self._session.delete()
code_tokens: def close ( self ) : if self . _session is not None : self . _session . delete ( )
short_docstring: Clean up underlying session.
short_docstring_tokens: Clean up underlying session .
comment: """Clean up underlying session.
  
          .. note::
  
             If the transaction has been shared across multiple machines,
             calling this on any machine would invalidate the transaction
             everywhere. Ideally this would be called when data has been read
             from all the partitions.
          """