Skip to content

Commit ed284e3

Browse files
Add __get__ to functions, so they are considered functions as doctest
1 parent 7eee428 commit ed284e3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

python/egglog/runtime.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,8 @@ class RuntimeFunction(DelayedDeclerations, metaclass=RuntimeFunctionMeta):
466466
# bound methods need to store RuntimeExpr not just TypedExprDecl, so they can mutate the expr if required on self
467467
__egg_bound__: JustTypeRef | RuntimeExpr | None = None
468468

469+
__get__ = None
470+
469471
@property
470472
def __module__(self) -> str | None: # type: ignore[override]
471473
ref = self.__egg_ref__

0 commit comments

Comments
 (0)