Skip to content

Commit be4eb61

Browse files
authored
Update type hint for toposort_coords dictionary
1 parent 53680c5 commit be4eb61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/link/numba/dispatch/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ def numba_funcify_FunctionGraph(
531531
fgraph_can_be_cached = [True]
532532
cache_keys = []
533533
toposort = fgraph.toposort()
534-
toposort_coords: dict[Variable, tuple[int, int]] = {
534+
toposort_coords: dict[Variable, tuple[int, int | str]] = {
535535
inp: (0, i) for i, inp in enumerate(fgraph.inputs)
536536
}
537537
toposort_coords |= {

0 commit comments

Comments
 (0)