Fix tinydb
This commit is contained in:
parent
4ed5d70830
commit
9be94bbeef
1 changed files with 4 additions and 4 deletions
|
|
@ -82,8 +82,8 @@ class ParallelTinyDbDriver(TracingDatabaseDriver):
|
|||
|
||||
if sort_by:
|
||||
df.sort_values(
|
||||
[col["column_id"] for col in sort_by],
|
||||
ascending=[col["direction"] == "asc" for col in sort_by],
|
||||
[col.column_id for col in sort_by],
|
||||
ascending=[col.direction == "asc" for col in sort_by],
|
||||
inplace=True,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue