How to Define Class Attributes after Inheriting Pydantic's BaseModel?

In normal python classes I can define class attributes like class Example: x = 3 def __init__(self): pass And if I then do Example.x or Example().x, I get 3. When I inherit pydantic's Base...