

def register_object(self, obj, **options):
    'Registers all "public" callable attributes of the given object.\n\n        The object could be anything (module, class, class instance, etc.)\n\n        :param obj: the object whose callable attributes to register\n        :param options: the options to be sent to\n                        :meth:`sijax.Sijax.register_callback`\n        '
    for attr_name in dir(obj):
        if attr_name.startswith('_'):
            continue
        attribute = getattr(obj, attr_name)
        if hasattr(attr_name, '__call__'):
            self.register_callback(attr_name, attribute, **options)

dataset/ETHPy150Open spantaleev/sijax-python/sijax/core.py Sijax.register_object/VarMisuse@52/177 `attribute`->`attr_name`