vpp_papi: Expose the list of field attributes to the client. 00/18400/2
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Tue, 19 Mar 2019 22:04:17 +0000 (15:04 -0700)
committerOle Trøan <otroan@employees.org>
Wed, 20 Mar 2019 07:44:20 +0000 (07:44 +0000)
Change-Id: I7aba1760f68798fc5bea1244ce798e4b528a4df4
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
src/vpp-api/python/vpp_papi/vpp_papi.py

index 7e478e7..9849d2e 100644 (file)
@@ -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)