Skip to content

Commit 44a5dcb

Browse files
committed
add type annotation
Signed-off-by: Louis Mandel <[email protected]>
1 parent 0a76cf9 commit 44a5dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pdl/pdl_granite_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def processor_of_block(block: GraniteioModelBlock):
2626
processor = value_of_expr(block.processor)
2727
if isinstance(processor, InputOutputProcessor):
2828
return processor
29-
model = value_of_expr(block.model)
29+
model: str = value_of_expr(block.model)
3030
backend = value_of_expr(block.backend)
3131
assert isinstance(model, str), f"The model should be a string: {model}"
3232
match backend:

0 commit comments

Comments
 (0)