Ejemplo n.º 1
0
def _walk_api(cls_function, attr_function, include_init=False):
    """Walks the installed API and runs the given functions for class and attributes in the API"""
    from trustedanalytics.meta.installapi import walk_api
    import sys
    return walk_api(sys.modules[__name__],
                    cls_function,
                    attr_function,
                    include_init=include_init)
Ejemplo n.º 2
0
def _walk_api(cls_function, attr_function, include_init=False):
    """Walks the installed API and runs the given functions for class and attributes in the API"""
    from trustedanalytics.meta.installapi import walk_api
    import sys
    return walk_api(sys.modules[__name__], cls_function, attr_function, include_init=include_init)