feat: complete deal

This commit is contained in:
2024-09-10 18:33:19 +03:00
parent 780b3b4b32
commit 21cfaaf139
5 changed files with 60 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
def chunk_list(lst, n) -> list:
for i in range(0, len(lst), n):
yield lst[i:i + n]
def compile_query_to_plain_sql(query) -> str:
return query.compile(compile_kwargs={
'literal_binds': True
})