from dataclasses import dataclass @dataclass(frozen=True) class UserResponse: name: str email: str