Skip to content

Commit 2bd8b26

Browse files
style: Format to satisfy ruff-format
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cdf52c5 commit 2bd8b26

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/datajoint/jobs.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -449,10 +449,7 @@ def reserve(self, key: dict) -> bool:
449449
pk = self._get_pk(key)
450450
where = make_condition(self, pk, set())
451451
qi = self.adapter.quote_identifier
452-
assignments = ", ".join(
453-
f"{qi(k)}=%s"
454-
for k in ("status", "host", "pid", "connection_id", "user", "version")
455-
)
452+
assignments = ", ".join(f"{qi(k)}=%s" for k in ("status", "host", "pid", "connection_id", "user", "version"))
456453
query = (
457454
f"UPDATE {self.full_table_name} "
458455
f"SET {assignments}, {qi('reserved_time')}=CURRENT_TIMESTAMP(3) "

0 commit comments

Comments
 (0)