NotNotMike@programming.dev to Python@programming.dev · 2 months agoOpinions: Dataclasses or Pydantic model base?message-squaremessage-square6linkfedilinkarrow-up113arrow-down11
arrow-up112arrow-down1message-squareOpinions: Dataclasses or Pydantic model base?NotNotMike@programming.dev to Python@programming.dev · 2 months agomessage-square6linkfedilink
minus-squaresouperk@reddthat.comlinkfedilinkarrow-up11·2 months agoDepends on what you are trying to accomplish, pydantic is great for encoding/decoding If you don’t need that go with dataclasses
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up3·2 months agoI was going to comment this too
Depends on what you are trying to accomplish, pydantic is great for encoding/decoding
If you don’t need that go with dataclasses
I was going to comment this too