Skip to content

Pydantic for settings template#2341

Closed
electro199 wants to merge 4 commits into
elebumm:developfrom
electro199:patch-p1-p3
Closed

Pydantic for settings template#2341
electro199 wants to merge 4 commits into
elebumm:developfrom
electro199:patch-p1-p3

Conversation

@electro199

Copy link
Copy Markdown
Contributor

Description

Use Pydantic for settings template and then in future use pydantic obj as config obj

  • All validation pattern supported via pydantic
  • Better templating and linting support

Issue Fixes

Confusing templating with toml

Checklist:

  • I am pushing changes to the develop branch
  • I am using the recommended development environment
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have formatted and linted my code using python-black and pylint
  • I have cleaned up unnecessary files
  • My changes generate no new warnings
  • My changes follow the existing code-style
  • My changes are relevant to the project

Any other information (e.g how to test the changes)

None

@electro199 electro199 changed the title Patch p1 p3 Pydantic for settings template Jun 10, 2025
@JasonLovesDoggo

Copy link
Copy Markdown
Collaborator

pydantic is a great choice. Just want to wait a bit to merge this. Would like lewis's PR in first

@electro199

Copy link
Copy Markdown
Contributor Author

Sure meanwhile I can update whole project to use the Pydantic config object. What are you thoughts ?

@github-actions

Copy link
Copy Markdown
Contributor

This pull request is stale as it has been open for 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.

@github-actions github-actions Bot added the stale label Jun 19, 2025
@github-actions

github-actions Bot commented Jul 5, 2025

Copy link
Copy Markdown
Contributor

Pull request closed due to being stale.

@github-actions github-actions Bot closed this Jul 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants