Skip to content

Commit 71b2381

Browse files
Fix or
1 parent 697948c commit 71b2381

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/egglog/runtime.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ def __hash__(self) -> int:
286286
return hash((id(self.__egg_decls_thunk__), self.__egg_tp__))
287287

288288
# Support unioning like types
289-
def __or__(self, *, __value: type) -> object:
290-
return Union[self, __value] # noqa: UP007
289+
def __or__(self, value: type) -> object:
290+
return Union[self, value] # noqa: UP007
291291

292292
@property
293293
def __parameters__(self) -> tuple[object, ...]:

0 commit comments

Comments
 (0)