Commit 17778e69 authored by Anna R's avatar Anna R Committed by TensorFlower Gardener
Browse files

Make sure correct docs are generated when using @deprecated_alias

decorator. Specifically, wrap `NewClass.__init__` method using tf_decorator.make_decorator
so that doc generation can pick up correct arguments for `__init__` instead
of *args, **kwargs.
Also, skip _NewClass when generating API goldens.

PiperOrigin-RevId: 204013970
parent 0a805f8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment