This commit is contained in:
Matthias
2023-12-30 10:15:28 +01:00
parent ce7061c934
commit 7ccddb5d58

View File

@@ -1603,7 +1603,7 @@ class Trade(ModelBase, LocalTrade):
:return: unsorted query object
"""
query = Trade.get_trades_query(trade_filter, include_orders)
# this sholud remain split. if use_db is False, session is not available and the above will
# this should remain split. if use_db is False, session is not available and the above will
# raise an exception.
return Trade.session.scalars(query)