code: def _bundleable(desc):
      
      def inner(a_func, settings, request, **kwargs):
          """Schedules execution of a bundling task."""
          if not settings.bundler:
              return a_func(request, **kwargs)
  
          the_id = bundling.compute_bundle_id(
              request, desc.request_discriminator_fields)
          return settings.bundler.schedule(a_func, the_id, desc, request, kwargs)
  
      return inner
docs: Creates a function that transforms an API call into a bundling call.
  
      It transform a_func from an API call that receives the requests and returns
      the response into a callable that receives the same request, and
      returns a :class:`bundling.Event`.
  
      The returned Event object can be used to obtain the eventual result of the
      bundled call.
  
      Args:
        desc (gax.BundleDescriptor): describes the bundling that a_func
          supports.
  
      Returns:
        Callable: takes the API call's request and keyword args and returns a
          bundling.Event object.