from typing import NamedTuple class SomeObject(NamedTuple): """Class description Attributes --------- attr1: attr1 description """ attr1 = 1