Skip to content

Commit a3f0a4e

Browse files
committed
mypy: fix graph/basic.py
1 parent dd8895d commit a3f0a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/graph/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ def clone(self, **kwargs):
710710
return cp
711711

712712

713-
class NominalVariable(AtomicVariable[_TypeType]):
713+
class NominalVariable(Generic[_TypeType, _IdType], AtomicVariable[_TypeType]):
714714
"""A variable that enables alpha-equivalent comparisons."""
715715

716716
__instances__: dict[tuple["Type", Hashable], "NominalVariable"] = {}

0 commit comments

Comments
 (0)