code: def bind(function, *args, **kwargs):
      
      def decorated(*inner_args, **inner_kwargs):
          kwargs.update(inner_kwargs)
          return function(*(inner_args + args), **kwargs)
      copy_labels(function, decorated)
      return decorated
docs: Wraps the given function such that when it is called, the given arguments
      are passed in addition to the connection argument.
  
      :type  function: function
      :param function: The function that's ought to be wrapped.
      :type  args: list
      :param args: Passed on to the called function.
      :type  kwargs: dict
      :param kwargs: Passed on to the called function.
      :rtype:  function
      :return: The wrapped function.