Current Series Release Notes¶
5.17.0-6¶
New Features¶
Add a
Session.close()method tokeystoneauth1.session.Sessionfor deterministic release of the underlyingrequests.Sessionand its pooled keep-alive connections. The session is only closed if keystoneauth1 created it itself; arequests.Sessionsupplied via thesessionconstructor argument is left untouched, as its ownership belongs to the caller.close()is idempotent and non-fatal: the session remains usable after being closed, establishing new connections as needed, and no re-authentication is required. Errors from the socket layer (OSError) or fromrequestsraised while tearing down idle pooled connections are caught and discarded rather than propagated to the caller.