Class Attributes

from typing import ClassVar

@dataclass
class test:
    myclassvar1: ClassVar[str] = "Somestring"
    myclassvar2 = "AnotherString"