from types import SimpleNamespace pre_settings = { "token_refresh_sec": 100, "api_base": "https://sandbox-b2b.revolut.com/api/1.0", "webhook_url": "https://callback-sandbox.pathogen.is/callback", "redis_socket": "/var/run/redis/redis.sock", "refresh_token": "", "access_token": "", "client_id": "", "jwt": "", } settings = SimpleNamespace(**pre_settings)