code: def __init__(
      self, config_path, dotenv_path=None, compose_bin=None, params=None
  ):
      compose_bin = default_bin(compose_bin, "docker-compose")
      self.config = ComposeConfig(
          config_path, dotenv_path, compose_bin, params
      )
      self.bin = compose_bin
      self.pull_memory = set()
  
imports: import os
  import shlex
  import subprocess
  from io import StringIO
  from dotenv import dotenv_values
  from ruamel.yaml import YAML
  from ..utils.command import Command, default_bin
  from ..utils.source import arrow_path
  from ..compat import _ensure_path
label_desc: Use image node_id 1 to create a new DockerCompose object from inherited base classes: Command with example: obj = DockerCompose(config_path, dotenv_path, compose_bin, params)