Skip to content

Commit

Permalink
Add docstring to method decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbluca committed May 10, 2022
1 parent 27331a2 commit 12c558b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/dask_cudf/dask_cudf/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@


def _check_groupby_supported(func):
"""
Decorator for dask-cudf's groupby methods that returns the dask-cudf
method if the groupby object is supported, otherwise reverting to the
upstream Dask method
"""

def wrapper(*args, **kwargs):
gb = args[0]
if _groupby_supported(gb):
Expand Down

0 comments on commit 12c558b

Please sign in to comment.