Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
45e05f2
Update pydantic version across various files
BenjaminCharmes Jun 7, 2026
faa3464
Refactor server config for pydantic v2
BenjaminCharmes Nov 11, 2025
f1bcce9
Update traits module to pydantic v2
ml-evs Jun 7, 2026
126f42b
Refactor model imports to avoid circular deps
ml-evs Nov 11, 2025
239f84d
Rework all models and tasks into pydantic v2 amenable form
BenjaminCharmes Nov 11, 2025
66d24ea
Load FTS fields for MongoDB from model schemas directly
BenjaminCharmes Nov 11, 2025
dcae303
Misc pydantic v2 bumps around code
ml-evs Nov 11, 2025
796cac3
Update various routes for pydantic v2
BenjaminCharmes Nov 11, 2025
785d241
More model updates
ml-evs Jun 7, 2026
15d92ae
Minimal test updates
ml-evs Jun 7, 2026
ee52022
Patch optional vs default value for plugin data blocks
ml-evs Jun 7, 2026
ea36008
Simplify error handling of all item routes
ml-evs Jun 7, 2026
8d7c046
Fix exports for pydantic 2
ml-evs Jun 7, 2026
bc5c0a3
Fix info endpoint for pydantic 2
ml-evs Jun 7, 2026
71d23a9
Unpick circular dependencies between export/items routes by moving lo…
ml-evs Jun 7, 2026
b3d5e66
Move `datalab_*` fields in schema to `json_schema_extra` and allow ca…
ml-evs Jun 7, 2026
50b55fe
Final wave of model_dump/dict changes
ml-evs Jun 7, 2026
c5698a0
Minor tweaks suggested by copilot
ml-evs Jun 7, 2026
62c1503
Fix docker build by reordering tasks imports
ml-evs Jun 7, 2026
2d9337b
Fix for auth routes
ml-evs Jun 8, 2026
43e2ab3
Update plugin config validator for pydantic 2
ml-evs Jun 8, 2026
e8b38e5
Added test to check if None fields are preserved with saving items an…
be-smith Jun 25, 2026
18893b8
Fix None field stripping in item creation and version snapshots (pyda…
be-smith Jun 25, 2026
3b0c96d
Add failing test. Checking if saving None overwrites a previously sav…
be-smith Jun 25, 2026
c3fdafd
Remove exclude None from the save_item route
be-smith Jun 25, 2026
2e9d9d7
Fix status dropdown broken by Pydantic v2 schema migration
jbouquiaux Jun 12, 2026
ebfd511
Fix enum value sanitisation in change-user-role
ml-evs Aug 4, 2026
6d809c7
Use `model_dump(mode=json)` to prevent repeated deserialization
ml-evs Aug 4, 2026
725bedf
Add theoretical capacity and calculation of nominal capacity to cell …
be-smith Jul 17, 2026
cd64952
Added unit test for nominal capacity calculation
be-smith Jul 17, 2026
fd3bdc3
Add post-plot hooks so plugins can compute derived metrics from Cycle…
be-smith Jul 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ updates:
- minor
- patch
ignore:
- dependency-name: "pydantic"
versions: [ ">=2" ]
- dependency-name: "bokeh"
versions: [ ">=3" ]
- dependency-name: "langchain"
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ repos:
hooks:
- id: mypy
additional_dependencies:
["types-python-dateutil", "types-requests", "types-paramiko", "pydantic~=1.10"]
["types-python-dateutil", "types-requests", "types-paramiko", "pydantic", "pydantic-settings"]
args: ["--config-file", "pydatalab/pyproject.toml"]

- repo: local
Expand Down
4 changes: 3 additions & 1 deletion pydatalab/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ dependencies = [
"bokeh ~= 2.4, < 3.0",
"matplotlib ~= 3.8",
"periodictable ~= 1.7",
"pydantic[email, dotenv] < 2.0",
"pydantic[email] >= 2.11, < 3.0",
"pydantic-settings ~= 2.10",
"python-dotenv ~= 1.1",
"pint ~= 0.24",
"pandas[excel] ~= 2.2",
"pymongo ~= 4.7",
Expand Down
Loading
Loading