From d135ac1de759d8772ebfdbe95dd568e63c350cd5 Mon Sep 17 00:00:00 2001 From: jnke2016 Date: Mon, 30 Sep 2024 21:45:35 -0700 Subject: [PATCH] undo changes to symmetrize --- python/cugraph/cugraph/structure/symmetrize.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/cugraph/cugraph/structure/symmetrize.py b/python/cugraph/cugraph/structure/symmetrize.py index 615b77f1da..0447db2b53 100644 --- a/python/cugraph/cugraph/structure/symmetrize.py +++ b/python/cugraph/cugraph/structure/symmetrize.py @@ -257,13 +257,12 @@ def symmetrize( >>> df['values'] = cudf.Series(M['2']) >>> src, dst, val = symmetrize(df, 'sources', 'destinations', 'values', multi=True) """ - """ + warnings.warn( "This method is deprecated and will no longer be supported. The symmetrization " "of the edges are only supported by setting the 'symmetrize' flag to 'True'", FutureWarning, ) - """ # FIXME: Redundant check that should be done at the graph creation if "edge_id" in input_df.columns and symmetrize: