def action(self, label=None):
        def decorator(function):
            _label = (label if label is not None else
                      function.__name__.replace('_', ' '))
            self.register(lambda *args, **kwargs: [(_label, interaction(function))])
            return function
        return decorator
Set the default value for create_rpc()'s deadline parameter.
dataset/ETHPy150Open Microsoft/ivy/ivy/ui_extensions_api.py/ExtensionPoint.action--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/api/urlfetch.py/set_default_fetch_deadline