class_docstr: Wraps a Python callable and captures args/kwargs when called for execution.
  
  :param python_callable: A reference to an object that is callable
  :param python: Python binary name to use
  :param use_dill: Whether dill should be used to serialize the callable
  :param expect_airflow: whether to expect airflow to be installed in the docker environment. if this
        one is specified, the script to run callable will attempt to load Airflow macros.
  :param op_kwargs: a dictionary of keyword arguments that will get unpacked
      in your function (templated)
  :param op_args: a list of positional arguments that will get unpacked when
      calling your callable (templated)
  :param multiple_outputs: if set, function return value will be
      unrolled to multiple XCom values. Dict will unroll to xcom values with keys as keys.
      Defaults to False.
class_docstr_tok: ["Wraps","a","Python","callable","and","captures","args\/kwargs","when","called","for","execution",".",":","param","python_callable",":","A","reference","to","an","object","that","is","callable",":","param","python",":","Python","binary","name","to","use",":","param","use_dill",":","Whether","dill","should","be","used","to","serialize","the","callable",":","param","expect_airflow",":","whether","to","expect","airflow","to","be","installed","in","the","docker","environment",".","if","this","one","is","specified",",","the","script","to","run","callable","will","attempt","to","load","Airflow","macros",".",":","param","op_kwargs",":","a","dictionary","of","keyword","arguments","that","will","get","unpacked","in","your","function","(","templated",")",":","param","op_args",":","a","list","of","positional","arguments","that","will","get","unpacked","when","calling","your","callable","(","templated",")",":","param","multiple_outputs",":","if","set",",","function","return","value","will","be","unrolled","to","multiple","XCom","values",".","Dict","will","unroll","to","xcom","values","with","keys","as","keys",".","Defaults","to","False","."]
code: def __init__(
      self,
      use_dill=False,
      python_command="python3",
      expect_airflow: bool = True,
      **kwargs,
  ) -> None:
      command = "placeholder command"
      self.python_command = python_command
      self.expect_airflow = expect_airflow
      self.use_dill = use_dill
      super().__init__(
          command=command,
          retrieve_output=True,
          retrieve_output_path="/tmp/script.out",
          **kwargs,
      )
  
file_path: airflow/airflow/providers/docker/decorators/docker.py
imports: from __future__ import annotations
  import base64
  import os
  import pickle
  from tempfile import TemporaryDirectory
  from typing import TYPE_CHECKING, Callable, Sequence
  import dill
  from airflow.decorators.base import DecoratedOperator, task_decorator_factory
  from airflow.providers.docker.operators.docker import DockerOperator
  from airflow.utils.python_virtualenv import write_python_script
label_desc: Use image node_id 1 to create a new _DockerDecoratedOperator object from inherited base classes: DecoratedOperator, DockerOperator with example: obj = _DockerDecoratedOperator(use_dill, python_command, expect_airflow)