Commit Graph

274 Commits

Author SHA1 Message Date
honglei
347e052656 support str|None , mapped_column, AnyURL 2023-08-12 19:52:59 +08:00
Santiago Martinez
c99c1a9b1e Make sure tests pass in all supported python versions 2023-08-09 12:29:23 +01:00
Santiago Martinez
179183c018 Fix linting issues 2023-08-09 01:43:50 +01:00
Santiago Martinez
972ee56fde Fix fastapi tests 2023-08-09 01:43:36 +01:00
Anton De Meester
40bcdfecff Get all tests except for openapi working 2023-08-06 08:01:04 +00:00
Anton De Meester
82888160ac Make all tests but fastapi work 2023-08-06 08:01:04 +00:00
Anton De Meester
43d5d41a29 Linting 2023-08-06 08:01:04 +00:00
Anton De Meester
6955600120 Formatting 2023-08-06 08:01:04 +00:00
Anton De Meester
a7f8a27c20 Upgrade to Pydantic 2
Change imports
Undefined => PydanticUndefined
Update SQLModelMetaclass and SQLModel __init__ and __new__ functions
Update SQL Alchemy type inference
2023-08-06 08:01:04 +00:00
Mohamed Farahat
b1848af842 formatting and remove unused type 2023-08-06 08:01:04 +00:00
Peter Landry
5455c1abe5 Fix signature for Session.get 2023-08-06 08:01:04 +00:00
Peter Landry
fc120b212d Use ForUpdateArg from sqlalchemy 2023-08-06 08:01:04 +00:00
Peter Landry
a4e4546a8c Fix Tuple in jinja template as well 2023-08-06 08:01:04 +00:00
Peter Landry
494a89bd1d Another instance of non-optional execution_options 2023-08-06 08:01:04 +00:00
Peter Landry
6f5248124b Execution options are not Optional in SA 2023-08-06 08:01:04 +00:00
Peter Landry
472f7586ea Use Dict type instead of Mapping for SqlAlchemy compat 2023-08-06 08:01:04 +00:00
Peter Landry
6096d58946 _Select expects a Tuple[Any, ...] 2023-08-06 08:01:04 +00:00
Peter Landry
717d94a01d Result seems well enough typed in SqlAlchemy now we can simply shim over 2023-08-06 08:00:39 +00:00
Peter Landry
5942527886 Remove unused type ignore 2023-08-06 08:00:39 +00:00
Peter Landry
39efab835d Result expects a type Tuple[_T] 2023-08-06 08:00:39 +00:00
Mohamed Farahat
3379d26580 fix jinja2 template 2023-08-06 08:00:39 +00:00
Mohamed Farahat
e7481ec5fb update to latest sqlalchemy version 2023-08-06 08:00:26 +00:00
Mohamed Farahat
d8ddc04023 add the new Subquery class 2023-08-06 08:00:26 +00:00
Mohamed Farahat
05b1f45ec0 resolving @sbor23 comments 2023-08-06 08:00:26 +00:00
farahats9
b671ffdb33 Update sqlmodel/sql/expression.py
Co-authored-by: Stefan Borer <stefan.borer@gmail.com>
2023-08-06 08:00:26 +00:00
Mohamed Farahat
c8b68d9925 reflecting python 3.6 deprecation in docs and tests 2023-08-06 08:00:14 +00:00
Mohamed Farahat
b9cf129188 fix some linting errors 2023-08-06 07:58:43 +00:00
Mohamed Farahat
c634631ab1 migration to sqlalchemy 2.0 2023-08-06 07:57:41 +00:00
github-actions
088164ef2a 📝 Update release notes 2023-08-01 09:19:41 +00:00
Sebastián Ramírez
1e2fd10047
👷 Update docs deployments to Cloudflare (#630) 2023-08-01 11:18:53 +02:00
github-actions
30a9c23a34 📝 Update release notes 2023-07-31 19:53:00 +00:00
github-actions
da29f7940d 📝 Update release notes 2023-07-31 19:52:51 +00:00
github-actions
40007c80da 📝 Update release notes 2023-07-31 19:48:54 +00:00
Sebastián Ramírez
e246ae8864
👷 Update CI debug mode with Tmate (#629) 2023-07-31 19:48:21 +00:00
github-actions
aaa54492c1 📝 Update release notes 2023-07-31 19:39:15 +00:00
Sebastián Ramírez
73fa81af74
👷 Update latest changes token (#616) 2023-07-31 19:38:43 +00:00
Sebastián Ramírez
a21d5c85a3
👷‍♂️ Upgrade CI for docs (#628) 2023-07-31 17:15:43 +02:00
Sebastián Ramírez
02bd7ebffd
🗑️ Deprecate Python 3.6 and upgrade Poetry and Poetry Version Plugin (#627) 2023-07-29 12:32:47 +02:00
github-actions
43a689d369 📝 Update release notes 2023-02-21 11:02:54 +00:00
Sebastián Ramírez
810236c26c
⬆️ Upgrade analytics (#558) 2023-02-21 11:02:18 +00:00
github-actions
33e00c3ab3 📝 Update release notes 2023-02-03 17:53:01 +00:00
Sebastián Ramírez
5c9a3b3b21
📝 Update help SQLModel docs (#548) 2023-02-03 18:52:25 +01:00
github-actions
dc44d2e2c4 📝 Update release notes 2023-01-31 14:14:55 +00:00
Sebastián Ramírez
1c294ddeb6
🔧 Update new issue chooser to point to GitHub Discussions (#546) 2023-01-31 15:14:16 +01:00
github-actions
c47a54df91 📝 Update release notes 2023-01-30 10:50:32 +00:00
Sebastián Ramírez
624a2142bf
🔧 Add template for GitHub Discussion questions and update issues template (#544) 2023-01-30 11:49:56 +01:00
github-actions
7b3148c0b4 📝 Update release notes 2022-12-16 18:46:26 +00:00
Sebastián Ramírez
cf36b2d9ba
👷 Refactor CI artifact upload/download for docs previews (#514) 2022-12-16 18:45:51 +00:00
github-actions
5fa9062ed9 📝 Update release notes 2022-11-12 06:44:52 +00:00
Colin Marquardt
267cd42fb6
✏️ Fix typo in internal function name get_sqlachemy_type() (#496)
Corrected name is get_sqlalchemy_type().
2022-11-12 07:44:19 +01:00