(self)
Close a session opened by
		:meth:`~ipfshttpclient.http.HTTPClient.open_session`.
		
		If there is no session currently open (ie: it was already closed), then
		this method does nothing.
Close a session opened by
		:meth:`~ipfshttpclient.http.HTTPClient.open_session`.
		
		If there is no session currently open (ie: it was already closed), then
		this method does nothing.
Close a session opened by : meth : ~ipfshttpclient . http . HTTPClient . open_session . If there is no session currently open ( ie : it was already closed ) then this method does nothing .
def close_session(self) -> None:
		"""Close a session opened by
		:meth:`~ipfshttpclient.http.HTTPClient.open_session`.
		
		If there is no session currently open (ie: it was already closed), then
		this method does nothing."""
		if self._session is not None:
			self._session.close()
			self._session = None
def close_session ( self ) -> None : if self . _session is not None : self . _session . close ( ) self . _session = None