Simon Prickett
954913031a
Amended schema test too.
2022-01-05 21:12:31 +00:00
Simon Prickett
8d69b59916
Adds tests for full text hash search.
2022-01-05 18:08:49 +00:00
Andrew Brookins
e4e3583006
Document some possible error messages
2021-11-26 15:25:18 -08:00
Andrew Brookins
269d44c26e
Final docs push
2021-11-24 18:12:27 -08:00
Andrew Brookins
5dee757041
Add linted change
2021-11-19 08:13:50 -08:00
Andrew Brookins
3cd22b30bf
Remove outdated comment
2021-11-12 09:37:26 -08:00
Andrew Brookins
58a798444d
Clean up test keys properly
2021-11-12 07:56:47 -08:00
Andrew Brookins
5ab53c916c
Support both sync and asyncio uses
2021-11-10 11:31:02 -08:00
Andrew Brookins
ca6ae7d6e9
Merge branch 'main' into asyncio
2021-11-09 15:59:10 -08:00
Andrew Brookins
bc441143de
Add all_pks() method to HashModel
2021-11-08 16:28:58 -08:00
Andrew Brookins
2b1994b98b
Disable features without required Redis modules
...
Some features, like querying and embedded models, require
either the RediSearch or RedisJSON modules running in Redis.
Without these modules, using these features would result
in inscrutable errors.
We now disable some tests if the Redis module required for the
test is not found in the Redis instance the tests are using,
and raise errors or log messages if the same is true during
execution of HashModel and JsonModel.
2021-11-03 12:37:12 -07:00
Andrew Brookins
1921a49059
Fix linting
2021-10-22 09:19:06 -07:00
Andrew Brookins
7c0bea751b
WIP on README
2021-10-22 08:31:08 -07:00
Andrew Brookins
09c91fb756
Add building, linting for PyPI upload
2021-10-22 06:53:39 -07:00
Andrew Brookins
c9967b0d40
Rename to redis_om
2021-10-22 06:36:15 -07:00
Andrew Brookins
b2c2dd9f6f
WIP on async - test failure due to closed event loop
2021-10-22 06:33:05 -07:00
Andrew Brookins
0f9f7aa868
Attempt run-time change of type annotations on model fields
2021-10-21 13:12:54 -07:00
Andrew Brookins
7155b9af35
Lint
2021-10-20 23:31:11 -07:00
Andrew Brookins
2ffd4e6f5a
Run tests across multiple cores/CPUs
2021-10-20 23:24:31 -07:00
Andrew Brookins
49654eeede
Refine connection strings (dotenv), Makefile targets
2021-10-20 14:29:31 -07:00
Andrew Brookins
d2fa4c586f
Add Makefile, black, reformat with black
2021-10-20 13:01:46 -07:00
Andrew Brookins
2bd71ff087
Rename orm module to om
2021-10-19 15:06:57 -07:00
Andrew Brookins
c51a071982
Tests & errors for preview list limitations
2021-10-18 21:16:48 -07:00
Andrew Brookins
389a6ea878
Add support for IN queries
2021-10-13 17:16:20 -07:00
Andrew Brookins
bb08fb9eb5
Use a default value for the "embedded" config
2021-10-13 12:58:10 -07:00
Andrew Brookins
e59e210834
Avoid adding same parent to attr multiple times
2021-10-13 10:07:13 -07:00
Andrew Brookins
ae8baa0339
Fix JSON paths for arrays
2021-10-13 08:12:22 -07:00
Andrew Brookins
5d05de95f8
Broken schema generation
2021-10-12 14:22:57 -07:00
Andrew Brookins
8f32b359f0
Handle TAG queries that include the separator
2021-10-05 16:40:02 -07:00
Andrew Brookins
b46408ccd2
WIP on JSON tests
2021-10-04 14:04:40 -07:00
Andrew Brookins
976fdf3ad4
Generate a seemingly correct schema for JSON models
2021-10-04 13:55:33 -07:00
Andrew Brookins
54f00b5774
Remove Django-isms for embedded exceptions classes
2021-09-29 20:42:02 -07:00
Andrew Brookins
b80addbb13
Test embedded Model.DoesNotExist error
2021-09-29 20:32:44 -07:00
Andrew Brookins
ef58e854c1
Avoid using Pydantic for FindQuery
2021-09-29 20:23:39 -07:00
Andrew Brookins
01cab5352b
WIP on pagination, sorting all()/first() methods
2021-09-25 20:38:02 -07:00
Andrew Brookins
3ba45b7c87
Fix negation queries
2021-09-20 16:08:24 -07:00
Andrew Brookins
b7c9165bbd
Improve handling of TAG field queries
2021-09-20 16:06:04 -07:00
Andrew Brookins
a788cbedbb
Remove unique, unsued migration validation
2021-09-17 09:27:11 -07:00
Andrew Brookins
85ba111260
Add find_one() implementation
2021-09-16 14:35:25 -07:00
Andrew Brookins
f8c55236c1
Support negated expressions
2021-09-16 12:03:03 -07:00
Andrew Brookins
0990c2e1b4
Add basic migrations, query expression resolver
2021-09-15 17:41:45 -07:00
Andrew Brookins
afe05fb7dd
Remove reference to hashes in JSON example
2021-09-01 13:13:46 -07:00
Andrew Brookins
a984bc21cc
Tidy up TODO comments on filter/get API
2021-09-01 13:12:04 -07:00
Andrew Brookins
06c082e230
Rename embedded model tests
2021-09-01 13:07:28 -07:00
Andrew Brookins
87b96ffb20
Test for embedded JSON models
2021-09-01 13:06:23 -07:00
Andrew Brookins
59dced95a6
Basic hash and JSON models
2021-09-01 12:56:06 -07:00
Andrew Brookins
eeb046bcec
Fix pk key
2021-08-31 15:52:21 -07:00