from dodgygithubproject import * import requests I wish to log the connection info (user agent/header etc) for every request made by dodgygithubproject. Is that a job for contextmanager? How can I be sure that every connection gets logged in the sub-classes etc? Continue reading...