summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-03-19 15:04:17 -0700
committerOle Trøan <otroan@employees.org>2019-03-20 07:44:20 +0000
commitb8daa257bd309c1d4dbbcd05e7d7e77408d8aea5 (patch)
tree4643a510c1e497bb19a2f2ca6ad37be9b6f66e47
parentec850a80446332f0423972c970042ad616a05f74 (diff)
vpp_papi: Expose the list of field attributes to the client.
Change-Id: I7aba1760f68798fc5bea1244ce798e4b528a4df4 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
-rw-r--r--src/vpp-api/python/vpp_papi/vpp_papi.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vpp-api/python/vpp_papi/vpp_papi.py b/src/vpp-api/python/vpp_papi/vpp_papi.py
index 7e478e7a581..9849d2e487c 100644
--- a/src/vpp-api/python/vpp_papi/vpp_papi.py
+++ b/src/vpp-api/python/vpp_papi/vpp_papi.py
@@ -95,6 +95,7 @@ class FuncWrapper(object):
def __init__(self, func):
self._func = func
self.__name__ = func.__name__
+ self.__doc__ = func.__doc__
def __call__(self, **kwargs):
return self._func(**kwargs)