Skip to content

Commit 38ebedb

Browse files
committed
Fix type check.
1 parent 5c37f95 commit 38ebedb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cirq-core/cirq/transformers/tag_transformers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def index_tags(
2626
circuit: 'cirq.AbstractCircuit',
2727
*,
2828
context: Optional['cirq.TransformerContext'] = None,
29-
target_tags: set[Hashable],
29+
target_tags: Optional[set[Hashable]] = None,
3030
) -> 'cirq.Circuit':
3131
"""Indexes tags in target_tags as tag_0, tag_1, ... per tag.
3232

0 commit comments

Comments
 (0)