Skip to content

Commit 5241536

Browse files
Add type alias
1 parent 7c24e80 commit 5241536

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/egglog/exp/program_gen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66
from __future__ import annotations
77

8-
from typing import Union
8+
from typing import TypeAlias, Union
99

1010
from egglog import *
1111

12-
ProgramLike = Union["Program", StringLike]
12+
ProgramLike: TypeAlias = Union["Program", StringLike]
1313

1414

1515
class Program(Expr):

0 commit comments

Comments
 (0)