Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fastapi/sqlmodel
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: encount/sqlmodel
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 15, 2024

  1. Support upcoming changes in Pydantic version 2.10.

    Without this fix, any SQLModel-based model with `table=True` and a `Field` that sets `default_factory=...` will brake with the following error message: `ValueError: 'validated_data' must be provided if 'call_default_factory' is True.`
    mtr committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    8f10485 View commit details
    Browse the repository at this point in the history
  2. Support upcoming changes in Pydantic version 2.10.

    Without this fix, any SQLModels with a `Field` that uses `default_factory=...` will brake with the following error message: `ValueError: 'validated_data' must be provided if 'call_default_factory' is True`.
    
    Made the fix backwards compatible.
    mtr committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    b49104a View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2025

  1. Configuration menu
    Copy the full SHA
    e51d8c3 View commit details
    Browse the repository at this point in the history
Loading