Skip to content

Commit 1523a5f

Browse files
style: auto-format code with ruff
1 parent a401d37 commit 1523a5f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/orb/infrastructure/storage/sql/strategy.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,11 @@ def count_by_column(self, column: str) -> dict[str, int]:
428428
# validated since self.table_name is a constructor-time constant).
429429
bucket = sa_column(column)
430430
table = Table(self.table_name, MetaData())
431-
stmt = select(bucket.label("bucket"), func.count().label("cnt")).select_from(table).group_by(bucket)
431+
stmt = (
432+
select(bucket.label("bucket"), func.count().label("cnt"))
433+
.select_from(table)
434+
.group_by(bucket)
435+
)
432436
with self.lock_manager.read_lock():
433437
try:
434438
with self.connection_manager.get_session() as session:

0 commit comments

Comments
 (0)