ray-legacy icon indicating copy to clipboard operation
ray-legacy copied to clipboard

Use functools.wraps for ray.remote

Open rshin opened this issue 8 years ago • 1 comments

https://docs.python.org/2/library/functools.html#functools.wraps

It seems like the right thing to do, although I'm not familiar with all the implications.

rshin avatar Jul 26 '16 04:07 rshin

I see, right now we propagate the function name and doc string manually, but this might be cleaner.

robertnishihara avatar Jul 26 '16 05:07 robertnishihara