Skip to content

Commit ea3cadd

Browse files
committed
pep8
1 parent b6cd695 commit ea3cadd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/viur/core/db/types.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ class SortOrder(enum.Enum):
4040
"""Fetch A->Z, then flip the results (useful in pagination)"""
4141

4242

43-
44-
4543
class Key(Datastore_key):
4644
"""
4745
The python representation of one datastore key. Unlike the original implementation, we don't store a
@@ -151,8 +149,8 @@ def __init__(
151149
assert not key or isinstance(key, Key), "Key must be a Key-Object (or None for an embedded entity)"
152150

153151

154-
TOrders :t.TypeAlias = list[tuple[str, SortOrder]]
155-
TFilters:t.TypeAlias = dict[str, DATASTORE_BASE_TYPES | list[DATASTORE_BASE_TYPES]]
152+
TOrders: t.TypeAlias = list[tuple[str, SortOrder]]
153+
TFilters: t.TypeAlias = dict[str, DATASTORE_BASE_TYPES | list[DATASTORE_BASE_TYPES]]
156154

157155

158156
@dataclass

0 commit comments

Comments
 (0)