Skip to content

Commit 060bbf0

Browse files
committed
minor typing fix
1 parent 128a954 commit 060bbf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shub_workflow/issuer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def process_item(self, item: ITEMTYPE, input_source: InputSource):
146146

147147
self.processed_count += 1
148148

149-
def get_output_slot_for_item(self, item: ITEMTYPE, input_field="id") -> Union[Slot, None]:
149+
def get_output_slot_for_item(self, item: ITEMTYPE, input_field: str = "id") -> Union[Slot, None]:
150150
input_value = cast(Mapping[str, Any], item)[input_field]
151151
return (
152152
Slot(str(hash_mod(input_value, self.parallel_outputs)))

0 commit comments

Comments
 (0)