Skip to content

Standardize conversion to dict and json#71

Merged
jepebe merged 1 commit into
prelectai:mainfrom
jepebe:standardize-dumping
Nov 25, 2025
Merged

Standardize conversion to dict and json#71
jepebe merged 1 commit into
prelectai:mainfrom
jepebe:standardize-dumping

Conversation

@jepebe

@jepebe jepebe commented Nov 25, 2025

Copy link
Copy Markdown
Contributor

Toadr3 converts to json with exclusion of unset fields and fields that is set to None. This PR standardises this approach by having these settings automatically applied by the model.

The reason for this is to make it easier to replicate the behaviour of toadr3 for library users.

@jepebe jepebe force-pushed the standardize-dumping branch from 1c1cb73 to 62a40b5 Compare November 25, 2025 08:08
@jepebe jepebe requested review from kbjorke and tahaum November 25, 2025 08:09

@tahaum tahaum left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jepebe jepebe merged commit 0c7b79f into prelectai:main Nov 25, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants