We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6cd695 commit ea3caddCopy full SHA for ea3cadd
src/viur/core/db/types.py
@@ -40,8 +40,6 @@ class SortOrder(enum.Enum):
40
"""Fetch A->Z, then flip the results (useful in pagination)"""
41
42
43
-
44
45
class Key(Datastore_key):
46
"""
47
The python representation of one datastore key. Unlike the original implementation, we don't store a
@@ -151,8 +149,8 @@ def __init__(
151
149
assert not key or isinstance(key, Key), "Key must be a Key-Object (or None for an embedded entity)"
152
150
153
154
-TOrders :t.TypeAlias = list[tuple[str, SortOrder]]
155
-TFilters:t.TypeAlias = dict[str, DATASTORE_BASE_TYPES | list[DATASTORE_BASE_TYPES]]
+TOrders: t.TypeAlias = list[tuple[str, SortOrder]]
+TFilters: t.TypeAlias = dict[str, DATASTORE_BASE_TYPES | list[DATASTORE_BASE_TYPES]]
156
157
158
@dataclass
0 commit comments