"""Nexus — Infrastructure Layer
Concrete implementations of domain interfaces.
"""

def __getattr__(name):
    if name == "get_async_session":
        from server.infrastructure.database.session import get_async_session
        return get_async_session
    if name == "init_db":
        from server.infrastructure.database.session import init_db
        return init_db
    if name == "get_redis":
        from server.infrastructure.redis.client import get_redis
        return get_redis
    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
