mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Upgrade to latest Black, closes #2239
This commit is contained in:
parent
c3caf36af7
commit
5c64af6936
16 changed files with 93 additions and 66 deletions
|
|
@ -305,9 +305,11 @@ async def test_paginate_compound_keys_with_extra_filters(ds_client):
|
|||
"_sort_desc=sortable_with_nulls",
|
||||
lambda row: (
|
||||
1 if row["sortable_with_nulls"] is None else 0,
|
||||
-row["sortable_with_nulls"]
|
||||
if row["sortable_with_nulls"] is not None
|
||||
else 0,
|
||||
(
|
||||
-row["sortable_with_nulls"]
|
||||
if row["sortable_with_nulls"] is not None
|
||||
else 0
|
||||
),
|
||||
row["content"],
|
||||
),
|
||||
"sorted by sortable_with_nulls descending",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue