Skip to main content


Tags: python

Generator of code data and classes

Tuples hides some codes. Are immutable.

Next came types.SimpleNamespace which generates somethings

ORM came and generated code to connect to databases

Trailets package was used to generate class attributes for data validators

Dataclasses are a "Mutable named tuple with defaults"

Bastante úteis pois geram bastante código ao invés de criar classes de raiz. Podem ser uma alternativa a namedtuples ao serem mutáveis