oca-ocb-core/odoo-bringout-oca-ocb-base/odoo/_monkeypatches/urllib3.py
Ernad Husremovic 991d2234ca 19.0 vanilla
2025-10-03 18:07:25 +02:00

12 lines
278 B
Python

from urllib3 import PoolManager
orig_pool_init = PoolManager.__init__
def pool_init(self, *args, **kwargs):
orig_pool_init(self, *args, **kwargs)
self.pool_classes_by_scheme = {**self.pool_classes_by_scheme}
def patch_module():
PoolManager.__init__ = pool_init