4d76934a9d
0.11.1 - Fix deepcopy issues ( #695 )
...
* fix deepcopy issues
* bump version, add release changelog
2022-06-08 19:18:35 +02:00
6e2a2ad129
Queryset mixins ( #629 )
...
* add enum field
* add decorator for asyncio
* fix enum typing, additional tests, add docs
* add more tests
* query-mixin
* use dict to replace ordereddict
Co-authored-by: collerek <collerek@gmail.com >
2022-05-07 14:02:30 +02:00
11bf6d30c4
Fix #320 add __cache__ property into PydanticMixin ( #625 )
...
* add __cache__ property into PydanticMixin
* add new test for exclude fields on relations
* fix the return type from __cache__ property
* run pre-commit lints/checks
Co-authored-by: collerek <collerek@gmail.com >
2022-05-07 13:45:42 +02:00
5b876498e1
fix mypy
2022-05-04 14:36:51 +02:00
ebf7c6e06f
add enum field ( #626 )
...
* add enum field
* add decorator for asyncio
* fix enum typing, additional tests, add docs
* add more tests
Co-authored-by: collerek <collerek@gmail.com >
2022-04-27 12:01:00 +02:00
2caa17812a
bugfix for pkname's alias ( #624 )
2022-04-25 11:44:56 +02:00
90f78e2fa7
Draft 0.11.0 ( #594 )
...
* fix for #584
* fix for #580
* fix typing
* connect to db in test
* refactor test
* remove async mark
* connect client
* fix mypy
* fix mypy
* update deps
* check py3.10?
* remove py3.6, bump version
2022-03-28 18:47:35 +02:00
8376b6635e
Merge pull request #557 from MojixCoder/master
...
Update get_or_create method
2022-03-28 13:04:55 +02:00
606a592038
Fix collerk/ormar#588 bug in querysetproxy count() method
2022-03-17 14:08:53 -04:00
a7e78bbf8c
Fix collerek/ormar#588 Bug in queryset count() method
2022-03-09 17:51:34 -05:00
b599cc2e4f
fix json dates
2022-02-25 11:53:58 +01:00
be7a0ff9c1
prepare_next_rel
2022-02-25 11:30:32 +01:00
f26fafe04c
fix json nullable column
2022-02-25 10:46:33 +01:00
a01d1470c4
fix: IndexConstraint should pass kw-args to sqlalchemy
2022-02-24 17:12:28 -08:00
4431a643d5
Update get_or_create method and its tests
2022-02-06 19:14:17 +03:30
2517572a14
Reformat project
2022-02-01 10:33:29 +03:30
fc32001fe7
Update get_or_create method
2022-02-01 09:44:07 +03:30
0e167dc89f
use existing encode_json to avoid code duplication, rename queryset customization param and move it to Meta, move docs to models from inheritance
2022-01-26 17:59:00 +01:00
6299ea4383
can custom query_cls
2022-01-18 16:41:22 +08:00
9ce61d2269
fix type hint
2022-01-18 15:55:18 +08:00
51606a6321
fix
2022-01-18 15:54:21 +08:00
bf6ee9ce35
add encoding
2022-01-18 15:52:10 +08:00
02df4300dd
fix json to bytes when bulk-create
2022-01-18 15:45:15 +08:00
b208e88eb6
Merge branch 'master' into check_timezones_filters
2022-01-14 23:40:03 +01:00
d60cf933c9
add comments
2022-01-14 19:33:30 +02:00
5677bda054
fix json fields in bulk operations
2022-01-14 18:27:49 +01:00
7f517c9bdb
Merge branch 'master' of https://github.com/collerek/ormar into check_timezones_filters
2022-01-14 17:54:20 +01:00
df0ac00dee
fix coverage
2022-01-14 17:54:13 +01:00
a9ba9373dd
Merge branch 'master' into improve-bulk-create
2022-01-14 17:39:15 +01:00
53a2636421
revert docs changes, pin databases, fix mypy
2022-01-14 17:36:18 +01:00
3373bbc754
Update queryset.py
2022-01-14 17:32:07 +01:00
24761dd6cc
Update queryset.py
2022-01-14 17:11:45 +01:00
a587ad463d
Update queryset.py
2022-01-14 17:06:22 +01:00
8dd49356df
Update queryset.py
2022-01-14 23:29:37 +08:00
c0e291c5dd
fix the question in comment
2022-01-14 23:18:33 +08:00
18bab1f17b
send signal after set_save_status
2022-01-14 18:30:19 +08:00
94e6c61032
fix lint
2022-01-14 18:28:43 +08:00
bca6b6eef0
add bulk_post_update: signals
2022-01-14 18:26:11 +08:00
5b7d2d23cb
add tests
2022-01-14 15:49:26 +08:00
133ba6e1c1
fix the doc typo
2022-01-14 14:38:55 +08:00
e28059f92e
fix type annotation
2022-01-14 14:29:02 +08:00
fd38e6e334
add post-signal in bulk-update & bulk-create
2022-01-14 14:21:57 +08:00
378c85a1b8
improve bulk_create
2022-01-11 15:04:08 +02:00
c1d42498b9
fix indent
2022-01-10 09:58:17 +08:00
5bf3c1a709
fix ut coverage
2022-01-10 09:56:48 +08:00
646a901af5
clean unused code
2022-01-06 19:35:13 +01:00
c8586e5b8e
rc for skip of literal binds
2022-01-06 18:22:07 +01:00
3f264d974b
wip - remove literal binds
2022-01-05 18:19:14 +01:00
aab46de800
remove date dumping to isoformat, add pydantic 1.9 support
2022-01-03 18:23:22 +01:00
5db4ea9662
SignalEmitter extends dict to save the signals
2021-12-22 10:54:15 +08:00