async def set_config(request: ConfigSetRequest):
    """
    Endpoint to set a configuration value.

    Args:
        key: The configuration key
        value: The configuration value

    Returns:
        A success message
    """
    Configuration.set(request.key, request.value)
    return {"message": "Configuration updated successfully"}

    Endpoint to set a configuration value.

    Args:
        key: The configuration key
        value: The configuration value

    Returns:
        A success message
    
src/upsonic/server/storage/server/server.py