NotNotMike@programming.dev to Python@programming.dev · 1 month 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 · 1 month agomessage-square6linkfedilink
minus-squaresouperk@reddthat.comlinkfedilinkarrow-up11·1 month 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·1 month 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