From: Paul Vinciguerra Date: Tue, 19 Mar 2019 22:04:17 +0000 (-0700) Subject: vpp_papi: Expose the list of field attributes to the client. X-Git-Tag: v19.04-rc1~185 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F00%2F18400%2F2;p=vpp.git vpp_papi: Expose the list of field attributes to the client. Change-Id: I7aba1760f68798fc5bea1244ce798e4b528a4df4 Signed-off-by: Paul Vinciguerra --- 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)