Skip to content

Commit 63ecba9

Browse files
style: apply ruff-format to builtin_codecs.py
Auto-formatted by ruff-format to collapse multi-line function calls
1 parent 4b0e9a8 commit 63ecba9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/datajoint/builtin_codecs.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,7 @@ def encode(
531531
raise TypeError(f"<object> expects bytes or path, got {type(value).__name__}")
532532

533533
# Build storage path using inherited helper
534-
path, token = self._build_path(
535-
schema, table, field, primary_key, ext=ext, store_name=store_name
536-
)
534+
path, token = self._build_path(schema, table, field, primary_key, ext=ext, store_name=store_name)
537535

538536
# Get storage backend using inherited helper
539537
backend = self._get_backend(store_name)
@@ -1247,9 +1245,7 @@ def encode(
12471245
schema, table, field, primary_key = self._extract_context(key)
12481246

12491247
# Build schema-addressed storage path
1250-
path, _ = self._build_path(
1251-
schema, table, field, primary_key, ext=".npy", store_name=store_name
1252-
)
1248+
path, _ = self._build_path(schema, table, field, primary_key, ext=".npy", store_name=store_name)
12531249

12541250
# Serialize to .npy format
12551251
buffer = io.BytesIO()

0 commit comments

Comments
 (0)