コード例 #1
0
ファイル: __init__.py プロジェクト: anjalisood/atk
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)
コード例 #2
0
ファイル: __init__.py プロジェクト: grehx/atk
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)