parameters: (self)
docstring: Close a session.
  
          Once this operation has completed, the :const:`LOCAL_CLOSED` state flag
          will be set. This may be called without calling
          :meth:`open`, in this case it is equivalent to calling
          :meth:`open` followed by :meth:`close`.
docstring_summary: Close a session.
docstring_tokens: Close a session .
function: def close(self) -> None:
          """
          Close a session.
  
          Once this operation has completed, the :const:`LOCAL_CLOSED` state flag
          will be set. This may be called without calling
          :meth:`open`, in this case it is equivalent to calling
          :meth:`open` followed by :meth:`close`.
  
          """
          self._update_cond()
          pn_session_close(self._impl)
function_tokens: def close ( self ) -> None : self . _update_cond ( ) pn_session_close ( self . _impl )