code: def execute(state, host, callback, *args, **kwargs):
      '''
      [DEPRECATED], please use ``python.call``.
      '''
  
      # COMPAT w/ <0.4
      # TODO: remove this function
  
      logger.warning((
          'Use of `python.execute` is deprecated, '
          'please use `python.call` instead.'
      ))
  
      # Pre pyinfra 0.4 the operation execution passed (state, host, host.name)
      # as args, so here we replicate that - hence ``python.call`` which replaces
      # this function going forward.
      args = (host.name,) + args
  
      yield (callback, args, kwargsf execute(state, host, callback, *args, **kwargs):
      '''
      [DEPRECATED], please use ``python.call``.
      '''
  
      # COMPAT w/ <0.4
      # TODO: remove this function
  
      logger.warning((
          'Use of `python.execute` is deprecated, '
          'please use `python.call` instead.'
      ))
  
      # Pre pyinfra 0.4 the operation execution passed (state, host, host.name)
      # as args, so here we replicate that - hence ``python.call`` which replaces
      # this function going forward.
      args = (host.name,) + args
  
      yield (callback, args, kwargs)
docs: [DEPRECATED], please use ``python.call``.