Pydantic.dataclasses.dataclass only supports init=False

Seems like you’re using Pydantic 2.x (which comes with some breaking changes)

I’d suggest you to try to downgrade Pydantic to 1.x