Add basic migrations, query expression resolver
This commit is contained in:
parent
afe05fb7dd
commit
0990c2e1b4
15 changed files with 752 additions and 88 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import abc
|
||||
import decimal
|
||||
import datetime
|
||||
from typing import Optional, List
|
||||
|
|
@ -15,8 +16,8 @@ r = redis.Redis()
|
|||
today = datetime.datetime.today()
|
||||
|
||||
|
||||
class BaseJsonModel(JsonModel):
|
||||
class Meta(JsonModel.Meta):
|
||||
class BaseJsonModel(JsonModel, abc.ABC):
|
||||
class Meta:
|
||||
global_key_prefix = "redis-developer"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue