diff --git a/wsme/types.py b/wsme/types.py index 58264c3..ebee9d0 100644 --- a/wsme/types.py +++ b/wsme/types.py @@ -435,6 +435,8 @@ def inspect_class(class_): for name, attr in inspect.getmembers(class_, iswsattr): if name.startswith('_'): continue + if inspect.isroutine(attr): + continue if isinstance(attr, wsattr): attrdef = attr