Skip to content

Commit 695574b

Browse files
jessegrabowskiricardoV94
authored andcommitted
Update node_rewriter typehint
1 parent 9a15b2e commit 695574b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/graph/rewriting/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ def print_summary(self, stream=sys.stdout, level=0, depth=-1):
10101010

10111011

10121012
def node_rewriter(
1013-
tracks: Sequence[Op | type, OpPattern] | None,
1013+
tracks: Sequence[Op | type | OpPattern] | None,
10141014
inplace: bool = False,
10151015
requirements: tuple[type, ...] | None = (),
10161016
):

0 commit comments

Comments
 (0)