vpp_papi: Expose the list of field attributes to the client.

Change-Id: I7aba1760f68798fc5bea1244ce798e4b528a4df4
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
This commit is contained in:
Paul Vinciguerra
2019-03-19 15:04:17 -07:00
committed by Ole Trøan
parent ec850a8044
commit b8daa257bd

View 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)