Skip to content

Commit a952fb4

Browse files
rustyconoverclaude
andcommitted
style: apply ruff format to test file
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent de1106c commit a952fb4

1 file changed

Lines changed: 5 additions & 15 deletions

File tree

‎tests/scalar/test_function.py‎

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ def process(self, batch: pa.RecordBatch) -> OutputGenerator:
6868
next(generator) # Prime
6969

7070
# Send a batch
71-
input_batch = pa.RecordBatch.from_pydict(
72-
{"x": [1, 2, 3]}, schema=input_schema
73-
)
71+
input_batch = pa.RecordBatch.from_pydict({"x": [1, 2, 3]}, schema=input_schema)
7472
output = generator.send(ProtocolInput(batch=input_batch))
7573

7674
assert output.batch is not None
@@ -146,9 +144,7 @@ def process(self, batch: pa.RecordBatch) -> OutputGenerator:
146144
generator = func.run()
147145
next(generator)
148146

149-
input_batch = pa.RecordBatch.from_pydict(
150-
{"x": [1, 2, 3]}, schema=input_schema
151-
)
147+
input_batch = pa.RecordBatch.from_pydict({"x": [1, 2, 3]}, schema=input_schema)
152148

153149
# First yield should be the log message
154150
output = generator.send(ProtocolInput(batch=input_batch))
@@ -195,9 +191,7 @@ def compute(self, batch: pa.RecordBatch) -> pa.Array[Any]:
195191
generator = func.run()
196192
next(generator)
197193

198-
input_batch = pa.RecordBatch.from_pydict(
199-
{"x": [1, 2, 3]}, schema=input_schema
200-
)
194+
input_batch = pa.RecordBatch.from_pydict({"x": [1, 2, 3]}, schema=input_schema)
201195
output = generator.send(ProtocolInput(batch=input_batch))
202196

203197
assert output.batch is not None
@@ -248,9 +242,7 @@ def compute(self, batch: pa.RecordBatch) -> pa.Array[Any]:
248242
generator = func.run()
249243
next(generator)
250244

251-
input_batch = pa.RecordBatch.from_pydict(
252-
{"x": [1, 2, 3]}, schema=input_schema
253-
)
245+
input_batch = pa.RecordBatch.from_pydict({"x": [1, 2, 3]}, schema=input_schema)
254246

255247
# First yield should be the log message
256248
output = generator.send(ProtocolInput(batch=input_batch))
@@ -282,9 +274,7 @@ def compute(self, batch: pa.RecordBatch) -> pa.Array[Any]:
282274
generator = func.run()
283275
next(generator)
284276

285-
input_batch = pa.RecordBatch.from_pydict(
286-
{"x": [1, 2, 3]}, schema=input_schema
287-
)
277+
input_batch = pa.RecordBatch.from_pydict({"x": [1, 2, 3]}, schema=input_schema)
288278
output = generator.send(ProtocolInput(batch=input_batch))
289279

290280
# Should have an exception log message

0 commit comments

Comments
 (0)