diff --git a/python/cugraph/cugraph/link_analysis/hits.py b/python/cugraph/cugraph/link_analysis/hits.py index 0b281fbb5d5..1dfb235fbd1 100644 --- a/python/cugraph/cugraph/link_analysis/hits.py +++ b/python/cugraph/cugraph/link_analysis/hits.py @@ -12,9 +12,10 @@ # limitations under the License. # from cugraph.link_analysis import hits_wrapper -from cugraph.utilities import (ensure_cugraph_obj_for_nx, - df_score_to_dictionary, - ) + +# from cugraph.utilities import (ensure_cugraph_obj_for_nx, +# df_score_to_dictionary, +# ) def hits(G, max_iter=100, tol=1.0e-5, nstart=None, normalized=True): @@ -74,8 +75,8 @@ def hits(G, max_iter=100, tol=1.0e-5, nstart=None, normalized=True): >>> G.from_cudf_edgelist(gdf, source='0', destination='1') >>> hits = cugraph.hits(G, max_iter = 50) """ - raise NotImplementedError("Temporarily disabled. New version in 21.12") + """ G, isNx = ensure_cugraph_obj_for_nx(G) df = hits_wrapper.hits(G, max_iter, tol) # noqa: F821 @@ -90,3 +91,5 @@ def hits(G, max_iter=100, tol=1.0e-5, nstart=None, normalized=True): df = (d1, d2) return df + """ + raise NotImplementedError("Temporarily disabled. New version in 21.12")