20 lines
		
	
	
		
			571 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			571 B
		
	
	
	
		
			Python
		
	
	
	
	
	
"""
 | 
						|
Per-session configuration management for DNScope.
 | 
						|
Provides isolated configuration instances for each user session.
 | 
						|
"""
 | 
						|
 | 
						|
from config import Config
 | 
						|
 | 
						|
class SessionConfig(Config):
 | 
						|
    """
 | 
						|
    Session-specific configuration that inherits from global config
 | 
						|
    but maintains isolated API keys and provider settings.
 | 
						|
    """
 | 
						|
    
 | 
						|
    def __init__(self):
 | 
						|
        """Initialize session config with global defaults."""
 | 
						|
        super().__init__()
 | 
						|
 | 
						|
def create_session_config() -> 'SessionConfig':
 | 
						|
    """Create a new session configuration instance."""
 | 
						|
    return SessionConfig() |