Mapped Record Bases: Record An asyncpg Record subclass registered as a Mapping. This allows Pydantic to validate record instances directly, without converting the base Record class itself into a Mapping.