import uuid def generate_uuid() -> str: """Generate a random UUID and return it as a string.""" return str(uuid.uuid4())