Skip to content

Commit

Permalink
Bug: fix old code that ruff can't handle
Browse files Browse the repository at this point in the history
  • Loading branch information
ABDreos committed Mar 20, 2024
1 parent 65b70f6 commit 4650f88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
6 changes: 2 additions & 4 deletions 2023/orm/raw_sql_placeholders.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ def main() -> None:
ORDER BY total DESC
LIMIT :limit;
"""

placeholder = {
"limit": number_of_top_customers
}

placeholder = {"limit": number_of_top_customers}

for row in cur.execute(raw_sql, placeholder):
print(row)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
import ..Algorithms








0 comments on commit 4650f88

Please sign in to comment.