> Because our enhanced Session class now enables retries by default, we don't even need to instantiate it directly. modshim's AST rewriting ensures that internal references within the requests module are updated. This means convenience functions like requests.get() will automatically use our enhanced Session class
This seems to explicitly handle the case you are interested in - automatically updating library-internal references to the lower to instead use the upper?