Skip to content

Commit 7eee428

Browse files
In dict return unresolved method, so it works with doctest
1 parent 2d6b3b3 commit 7eee428

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/egglog/runtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def __getattr__(self, name: str) -> RuntimeFunction | RuntimeExpr | Callable:
382382

383383
preserved_methods = cls_decl.preserved_methods
384384
if name in preserved_methods:
385-
return preserved_methods[name].__get__(self)
385+
return preserved_methods[name]
386386

387387
# if this is a class variable, return an expr for it, otherwise, assume it's a method
388388
if name in cls_decl.class_variables:

0 commit comments

Comments
 (0)