Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
fastapi
/
sqlmodel
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
890
Star
18.3k
Code
Issues
1
Pull requests
54
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
✨ Add
PydanticJSONB
TypeDecorator for Automatic Pydantic Model Serialization in SQLModel
- #1324
#1324
Draft
amanmibra
wants to merge 27 commits into
fastapi:main
fastapi/sqlmodel:main
from
amanmibra:ami/pydantic-jsonb
amanmibra/sqlmodel:ami/pydantic-jsonb
Copy head branch name to clipboard
Conversation
Commits
27
(27)
Checks
Files changed
Draft
✨ Add
PydanticJSONB
TypeDecorator for Automatic Pydantic Model Serialization in SQLModel
#1324
amanmibra
wants to merge 27 commits into
fastapi:main
fastapi/sqlmodel:main
from
amanmibra:ami/pydantic-jsonb
amanmibra/sqlmodel:ami/pydantic-jsonb
Copy head branch name to clipboard
Commits
Commits on Mar 17, 2025
✨ Add PydanticJSONB type for automatic Pydantic model serialization in PostgreSQL
amanmibra
committed
a80bb85
View commit details
Copy full SHA for a80bb85
Browse repository at this point
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
pre-commit-ci[bot]
committed
1dab2cb
View commit details
Copy full SHA for 1dab2cb
Browse repository at this point
Support serialization of lists and improve type hints for model binding and result processing
amanmibra
committed
10fd481
View commit details
Copy full SHA for 10fd481
Browse repository at this point
Support dict[str, BaseModel]
amanmibra
committed
5f3adaf
View commit details
Copy full SHA for 5f3adaf
Browse repository at this point
Enhance PydanticJSONB to support Dict and List type hints for model validation
amanmibra
committed
e24cb0e
View commit details
Copy full SHA for e24cb0e
Browse repository at this point
Commits on Mar 21, 2025
Refactor type hints in PydanticJSONB for improved clarity and support for optional types
amanmibra
committed
093ff19
View commit details
Copy full SHA for 093ff19
Browse repository at this point
Fix lint issues
amanmibra
committed
5329960
View commit details
Copy full SHA for 5329960
Browse repository at this point
Merge branch 'main' into ami/pydantic-jsonb
amanmibra
authored
636a45c
View commit details
Copy full SHA for 636a45c
Browse repository at this point
Commits on Mar 22, 2025
Enhance PydanticJSONB serialization by integrating to_jsonable_python for non-BaseModel types in lists and dictionaries
amanmibra
committed
7525eb9
View commit details
Copy full SHA for 7525eb9
Browse repository at this point
Fix [no-any-return]
amanmibra
committed
06b5200
View commit details
Copy full SHA for 06b5200
Browse repository at this point
Ignore [no-any-return]
amanmibra
committed
1a7c7fb
View commit details
Copy full SHA for 1a7c7fb
Browse repository at this point
Commits on Mar 31, 2025
Merge branch 'main' into ami/pydantic-jsonb
amanmibra
authored
8e01afe
View commit details
Copy full SHA for 8e01afe
Browse repository at this point
Commits on Apr 24, 2025
add commit to trigger github actions
amanmibra
committed
376b41e
View commit details
Copy full SHA for 376b41e
Browse repository at this point
Commits on Apr 28, 2025
Merge branch 'main' into ami/pydantic-jsonb
Sofie Van Landeghem
authored
0ca7bdf
View commit details
Copy full SHA for 0ca7bdf
Browse repository at this point
Commits on May 2, 2025
Merge branch 'main' into ami/pydantic-jsonb
amanmibra
authored
874c3dd
View commit details
Copy full SHA for 874c3dd
Browse repository at this point
Commits on May 10, 2025
Merge branch 'main' into ami/pydantic-jsonb
amanmibra
authored
b28f242
View commit details
Copy full SHA for b28f242
Browse repository at this point
Commits on Jun 8, 2025
Added docs
amanmibra
committed
14c2fc6
View commit details
Copy full SHA for 14c2fc6
Browse repository at this point
Merge remote-tracking branch 'origin/main' into ami/pydantic-jsonb
amanmibra
committed
d329a50
View commit details
Copy full SHA for d329a50
Browse repository at this point
=Added examples for creating, storing, and retrieving data
amanmibra
committed
bcd8689
View commit details
Copy full SHA for bcd8689
Browse repository at this point
Commits on Jun 15, 2025
Re-add 'gradually growing' statement
amanmibra
committed
483cea7
View commit details
Copy full SHA for 483cea7
Browse repository at this point
Commits on Jun 28, 2025
Enhance PydanticJSONB to use JSON variant for better compatibility across databases
amanmibra
committed
1580ecc
View commit details
Copy full SHA for 1580ecc
Browse repository at this point
Merge branch 'main' into ami/pydantic-jsonb
amanmibra
authored
d9f3f81
View commit details
Copy full SHA for d9f3f81
Browse repository at this point
Commits on Feb 22, 2026
Merge branch 'main' into ami/pydantic-jsonb
amanmibra
authored
df38aea
View commit details
Copy full SHA for df38aea
Browse repository at this point
Commits on Feb 23, 2026
🎨 Auto format
pre-commit-ci-lite[bot]
authored
dc745c0
View commit details
Copy full SHA for dc745c0
Browse repository at this point
Commits on Mar 18, 2026
Merge branch 'main' into ami/pydantic-jsonb
amanmibra
authored
9b1c67e
View commit details
Copy full SHA for 9b1c67e
Browse repository at this point
Commits on Apr 23, 2026
Merge branch 'main' into ami/pydantic-jsonb
amanmibra
authored
f52c558
View commit details
Copy full SHA for f52c558
Browse repository at this point
Commits on May 13, 2026
Merge branch 'main' into ami/pydantic-jsonb
amanmibra
authored
2f8b894
View commit details
Copy full SHA for 2f8b894
Browse repository at this point
You can’t perform that action at this time.