@staticmethod
    def get(func):
        if not hasattr(func, '_wsme_definition'):
            fd = FunctionDefinition(func)
            func._wsme_definition = fd

        return func._wsme_definition
Returns the :class:`FunctionDefinition` of a method.
dataset/ETHPy150Open openstack/wsme/wsme/api.py/FunctionDefinition.get