Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
RequestConfig thread-local singleton

The Routes RequestConfig object is a thread-local singleton that should 
be initialized by the web framework that is utilizing Routes.

src/r/o/routes-HEAD/tests/test_units/test_base.py   routes(Download)
import unittest
from routes import request_config, _RequestConfig
from routes.base import Route
 
class TestBase(unittest.TestCase):

src/r/o/Routes-2.0/tests/test_units/test_base.py   Routes(Download)
import unittest
from routes import request_config, _RequestConfig
from routes.base import Route
 
class TestBase(unittest.TestCase):