class_docstr: Represents one configuration of a build, i.e.
  a set of versions of dependent libraries.
  
  Members:
      conda_always_copy: avoids hard linking which can behave weirdly.
      conda_debug: get added information about package search
      conda_dirty: see intermediate files after build
      build_inside_tree: output in build/ not ../build
      is_release: whether this is an official versioned release
class_docstr_tok: ["Represents","one","configuration","of","a","build",",","i.e",".","a","set","of","versions","of","dependent","libraries",".","Members",":","conda_always_copy",":","avoids","hard","linking","which","can","behave","weirdly",".","conda_debug",":","get","added","information","about","package","search","conda_dirty",":","see","intermediate","files","after","build","build_inside_tree",":","output","in","build\/","not","..","\/build","is_release",":","whether","this","is","an","official","versioned","release"]
code: def _get_build_args(self) -> List[str]:
      args = [
          "conda",
          "build",
          "-c",
          self.pytorch_channel,
          "-c",
          "nvidia",
          "--python",
          self.python_version,
          "--no-anaconda-upload",
      ]
      if self.conda_debug:
          args += ["--debug"]
      if self.conda_dirty:
          args += ["--dirty"]
      if not self.build_inside_tree:
          args += ["--croot", "../build"]
      return args + ["packaging/xformers"]
  
file_path: xformers/packaging/build_conda.py
imports: import argparse
  import os
  import shutil
  import subprocess
  from dataclasses import dataclass
  from pathlib import Path
  from typing import List
label_desc: Use image node_id 2 for calling the Build obj's underlying member method code with example usage: obj._get_build_args() and returns: unknown