From 9db02baffc60bb1be71d2475a34063738d4fef14 Mon Sep 17 00:00:00 2001 From: Ganesan Ramalingam Date: Fri, 2 Aug 2024 16:29:42 -0700 Subject: [PATCH] Fix typing --- onnxscript/rewriter/_tape.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onnxscript/rewriter/_tape.py b/onnxscript/rewriter/_tape.py index d757ec45e..91a449c71 100644 --- a/onnxscript/rewriter/_tape.py +++ b/onnxscript/rewriter/_tape.py @@ -7,7 +7,7 @@ from __future__ import annotations -from typing import Any, Iterable, Mapping, Optional, Sequence, Tuple +from typing import Any, Iterable, List, Mapping, Optional, Sequence, Tuple from onnxscript import ir from onnxscript.ir import _convenience @@ -62,7 +62,7 @@ def op_multi_output( # A type representing the domains/versions used in creating nodes in IR. -UsedOpsets = Sequence[Tuple[str, Optional[int]]] +UsedOpsets = List[Tuple[str, Optional[int]]] class Builder(Tape):