SYMBOL INDEX (4727 symbols across 489 files) FILE: dvc/__pyinstaller/__init__.py function get_hook_dirs (line 4) | def get_hook_dirs(): FILE: dvc/_debug.py function viztracer_profile (line 11) | def viztracer_profile( function yappi_profile (line 34) | def yappi_profile( function instrument (line 79) | def instrument(html_output=False): function profile (line 103) | def profile(dump_path: Optional[str] = None): function debug (line 121) | def debug(): function _sigshow (line 134) | def _sigshow(_, frame: Optional["FrameType"]) -> None: function show_stack (line 145) | def show_stack(): function _get_path_func (line 161) | def _get_path_func(tool: str, ext: str): function debugtools (line 171) | def debugtools(args: Optional["Namespace"] = None, **kwargs): function add_debugging_flags (line 205) | def add_debugging_flags(parser): FILE: dvc/analytics.py function collect_and_send_report (line 15) | def collect_and_send_report(args=None, return_code=None): function is_enabled (line 47) | def is_enabled(): function send (line 65) | def send(path): function _git_remote_url (line 97) | def _git_remote_url(scm: Optional["Base"]) -> Optional[str]: function _scm_in_use (line 117) | def _scm_in_use(scm: Optional["Base"]) -> Optional[str]: function _parse_git_remote_path (line 121) | def _parse_git_remote_path(remote_url: str) -> str: function _git_remote_path_hash (line 141) | def _git_remote_path_hash(scm: Optional["Base"]) -> Optional[str]: function _runtime_info (line 155) | def _runtime_info(): function _system_info (line 193) | def _system_info(): FILE: dvc/annotations.py class Annotation (line 9) | class Annotation: method to_dict (line 20) | def to_dict(self) -> dict[str, str]: class Artifact (line 25) | class Artifact: method to_dict (line 38) | def to_dict(self) -> dict[str, str]: FILE: dvc/api/artifacts.py function artifacts_show (line 7) | def artifacts_show( FILE: dvc/api/data.py function _wrap_exceptions (line 12) | def _wrap_exceptions(repo, url): function get_url (line 28) | def get_url( class _OpenContextManager (line 93) | class _OpenContextManager(GCM): method __init__ (line 94) | def __init__(self, func, args, kwds): method __getattr__ (line 98) | def __getattr__(self, name): function open (line 102) | def open( # noqa: A001 function _open (line 258) | def _open( function read (line 305) | def read( FILE: dvc/api/dataset.py class DatachainDataset (line 4) | class DatachainDataset(TypedDict): class DVCDataset (line 10) | class DVCDataset(TypedDict): class URLDataset (line 17) | class URLDataset(TypedDict): function get (line 23) | def get(name: str) -> Union[DatachainDataset, DVCDataset, URLDataset]: FILE: dvc/api/experiments.py function exp_save (line 9) | def exp_save( function _postprocess (line 46) | def _postprocess(exp_rows): function exp_show (line 62) | def exp_show( FILE: dvc/api/scm.py function all_branches (line 6) | def all_branches(repo: Optional[str] = None) -> list[str]: function all_commits (line 23) | def all_commits(repo: Optional[str] = None) -> list[str]: function all_tags (line 40) | def all_tags(repo: Optional[str] = None) -> list[str]: FILE: dvc/api/show.py function _postprocess (line 11) | def _postprocess(results): function metrics_show (line 35) | def metrics_show( function params_show (line 156) | def params_show( FILE: dvc/cachemgr.py function _get_odb (line 14) | def _get_odb( class CacheManager (line 36) | class CacheManager: method __init__ (line 41) | def __init__(self, repo): method fs_cache (line 78) | def fs_cache(self): method _init_odb (line 92) | def _init_odb(self, schemes): method __getattr__ (line 102) | def __getattr__(self, name): method by_scheme (line 108) | def by_scheme(self): method local_cache_dir (line 112) | def local_cache_dir(self) -> str: method default_local_cache_dir (line 120) | def default_local_cache_dir(self) -> Optional[str]: function migrate_2_to_3 (line 127) | def migrate_2_to_3(repo: "Repo", dry: bool = False): FILE: dvc/cli/__init__.py class DvcParserError (line 18) | class DvcParserError(Exception): method __init__ (line 21) | def __init__(self): function parse_args (line 25) | def parse_args(argv=None): function _log_unknown_exceptions (line 42) | def _log_unknown_exceptions() -> None: function _log_exceptions (line 57) | def _log_exceptions(exc: Exception) -> Optional[int]: function main (line 151) | def main(argv=None): # noqa: C901, PLR0912, PLR0915 FILE: dvc/cli/command.py class CmdBase (line 13) | class CmdBase(ABC): method __init__ (line 16) | def __init__(self, args: Any): method do_run (line 28) | def do_run(self): method run (line 33) | def run(self): class CmdBaseNoRepo (line 37) | class CmdBaseNoRepo(CmdBase): method __init__ (line 38) | def __init__(self, args): method do_run (line 43) | def do_run(self): FILE: dvc/cli/completion.py function get_preamble (line 95) | def get_preamble() -> dict[str, str]: FILE: dvc/cli/formatter.py class HelpFormatter (line 4) | class HelpFormatter(argparse.HelpFormatter): method _get_default_metavar_for_optional (line 5) | def _get_default_metavar_for_optional(self, action: argparse.Action) -... class RawTextHelpFormatter (line 9) | class RawTextHelpFormatter(HelpFormatter, argparse.RawTextHelpFormatter): class RawDescriptionHelpFormatter (line 13) | class RawDescriptionHelpFormatter(HelpFormatter, argparse.RawDescription... FILE: dvc/cli/parser.py function _find_parser (line 106) | def _find_parser(parser, cmd_cls): class DvcParser (line 121) | class DvcParser(argparse.ArgumentParser): method error (line 124) | def error(self, message, cmd_cls=None): method parse_args (line 128) | def parse_args(self, args=None, namespace=None): function get_parent_parser (line 139) | def get_parent_parser(): function get_main_parser (line 162) | def get_main_parser(): FILE: dvc/cli/utils.py class DictAction (line 4) | class DictAction(argparse.Action): method __init__ (line 5) | def __init__(self, *args, **kwargs): method __call__ (line 9) | def __call__(self, parser, args, values, option_string=None): # noqa:... function append_doc_link (line 29) | def append_doc_link(help_message, path): function hide_subparsers_from_help (line 38) | def hide_subparsers_from_help(subparsers): FILE: dvc/commands/add.py class CmdAdd (line 9) | class CmdAdd(CmdBase): method validate_args (line 10) | def validate_args(self) -> None: method run (line 35) | def run(self): function add_parser (line 65) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/artifacts.py class CmdArtifactsGet (line 10) | class CmdArtifactsGet(CmdBaseNoRepo): method run (line 11) | def run(self): method _show_url (line 42) | def _show_url(self): function add_parser (line 65) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/cache.py class CmdCacheDir (line 11) | class CmdCacheDir(CmdConfig): method run (line 12) | def run(self): class CmdCacheMigrate (line 40) | class CmdCacheMigrate(CmdBase): method run (line 41) | def run(self): function add_parser (line 51) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/check_ignore.py class CmdCheckIgnore (line 12) | class CmdCheckIgnore(CmdBase): method __init__ (line 13) | def __init__(self, args): method _show_results (line 17) | def _show_results(self, result: "CheckIgnoreResult"): method _check_one_file (line 35) | def _check_one_file(self, target): method _interactive_mode (line 39) | def _interactive_mode(self): method _normal_mode (line 52) | def _normal_mode(self): method _check_args (line 59) | def _check_args(self): method run (line 77) | def run(self): function add_parser (line 84) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/checkout.py function log_changes (line 8) | def log_changes(stats): class CmdCheckout (line 25) | class CmdCheckout(CmdBase): method run (line 26) | def run(self): function add_parser (line 62) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/commit.py class CmdCommit (line 9) | class CmdCommit(CmdBase): method run (line 10) | def run(self): function add_parser (line 31) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/completion.py class CmdCompletion (line 14) | class CmdCompletion(CmdBaseNoRepo): method run (line 15) | def run(self): function add_parser (line 25) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/config.py function _name_type (line 17) | def _name_type(value): class CmdConfig (line 34) | class CmdConfig(CmdBaseNoRepo): method __init__ (line 35) | def __init__(self, args): method run (line 42) | def run(self): method _list (line 63) | def _list(self): method _get (line 82) | def _get(self, remote_or_db, section, opt): method _set (line 106) | def _set(self, remote_or_db, section, opt): method _check (line 125) | def _check(self, conf, remote_or_db, section, opt=None): method _get_appropriate_levels (line 135) | def _get_appropriate_levels(self, levels): method _validate_level_for_non_repo_operation (line 143) | def _validate_level_for_non_repo_operation(self, level): method _format_config (line 150) | def _format_config(config, prefix=""): method _config_file_prefix (line 157) | def _config_file_prefix(show_origin, config, level): function add_parser (line 205) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/daemon.py class CmdDaemonBase (line 8) | class CmdDaemonBase(CmdBaseNoRepo): class CmdDaemonUpdater (line 12) | class CmdDaemonUpdater(CmdDaemonBase): method run (line 13) | def run(self): class CmdDaemonAnalytics (line 33) | class CmdDaemonAnalytics(CmdDaemonBase): method run (line 34) | def run(self): function add_parser (line 43) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/dag.py function _show_ascii (line 12) | def _show_ascii(graph: "DiGraph"): function _quote_label (line 25) | def _quote_label(node): function _show_dot (line 34) | def _show_dot(graph: "DiGraph"): function _show_mermaid (line 47) | def _show_mermaid(graph, markdown: bool = False): function _collect_targets (line 73) | def _collect_targets(repo, target, outs): function _transform (line 95) | def _transform(index, outs): function _filter (line 107) | def _filter(graph, targets, full): function _is_foreach_matrix_stage (line 130) | def _is_foreach_matrix_stage(node, join_string): function _collapse_foreach_matrix_get_nodes (line 136) | def _collapse_foreach_matrix_get_nodes(graph): function _collapse_foreach_matrix_get_edges (line 149) | def _collapse_foreach_matrix_get_edges(graph): function _collapse_foreach_matrix (line 170) | def _collapse_foreach_matrix(graph): function _build (line 181) | def _build(repo, target=None, full=False, outs=False, collapse_foreach_m... class CmdDAG (line 190) | class CmdDAG(CmdBase): method run (line 191) | def run(self): function add_parser (line 217) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/data.py class CmdDataStatus (line 20) | class CmdDataStatus(CmdBase): method _process_status (line 56) | def _process_status(status: "DataStatus"): method _show_status (line 66) | def _show_status(cls, status: "DataStatus") -> int: # noqa: C901 method run (line 113) | def run(self) -> int: function add_parser (line 135) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/data_sync.py class CmdDataBase (line 11) | class CmdDataBase(CmdBase): method log_summary (line 12) | def log_summary(self, stats): class CmdDataPull (line 24) | class CmdDataPull(CmdDataBase): method log_summary (line 25) | def log_summary(self, result): method run (line 32) | def run(self): class CmdDataPush (line 60) | class CmdDataPush(CmdDataBase): method run (line 61) | def run(self): class CmdDataFetch (line 84) | class CmdDataFetch(CmdDataBase): method run (line 85) | def run(self): function shared_parent_parser (line 109) | def shared_parent_parser(): function add_parser (line 138) | def add_parser(subparsers, _parent_parser): FILE: dvc/commands/dataset.py function diff_files (line 17) | def diff_files(old: list["FileInfo"], new: list["FileInfo"]) -> dict[str... class CmdDatasetAdd (line 28) | class CmdDatasetAdd(CmdBase): method display (line 30) | def display(cls, name: str, dataset: "Dataset", action: str = "Adding"): method run (line 51) | def run(self): class CmdDatasetUpdate (line 76) | class CmdDatasetUpdate(CmdBase): method display (line 77) | def display(self, name: str, dataset: "Dataset", new: "Dataset"): method run (line 117) | def run(self): function add_parser (line 148) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/destroy.py class CmdDestroy (line 9) | class CmdDestroy(CmdBase): method run (line 10) | def run(self): function add_parser (line 35) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/diff.py function _digest (line 12) | def _digest(checksum): function _show_markdown (line 18) | def _show_markdown(diff, show_hash=False, hide_missing=False): class CmdDiff (line 42) | class CmdDiff(CmdBase): method _show_diff (line 44) | def _show_diff(diff, hide_missing=False): method run (line 118) | def run(self): function add_parser (line 155) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/du.py class CmdDU (line 11) | class CmdDU(CmdBaseNoRepo): method run (line 12) | def run(self): function add_parser (line 29) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/experiments/__init__.py function add_parser (line 38) | def add_parser(subparsers, parent_parser): function add_keep_selection_flag (line 61) | def add_keep_selection_flag(experiments_subcmd_parser): function add_rev_selection_flags (line 70) | def add_rev_selection_flags( FILE: dvc/commands/experiments/apply.py class CmdExperimentsApply (line 10) | class CmdExperimentsApply(CmdBase): method run (line 11) | def run(self): function add_parser (line 24) | def add_parser(experiments_subparsers, parent_parser): FILE: dvc/commands/experiments/branch.py class CmdExperimentsBranch (line 9) | class CmdExperimentsBranch(CmdBase): method run (line 10) | def run(self): function add_parser (line 16) | def add_parser(experiments_subparsers, parent_parser): FILE: dvc/commands/experiments/clean.py class CmdExperimentsClean (line 9) | class CmdExperimentsClean(CmdBase): method run (line 10) | def run(self): function add_parser (line 15) | def add_parser(experiments_subparsers, parent_parser): FILE: dvc/commands/experiments/diff.py class CmdExperimentsDiff (line 12) | class CmdExperimentsDiff(CmdBase): method run (line 13) | def run(self): function add_parser (line 52) | def add_parser(experiments_subparsers, parent_parser): FILE: dvc/commands/experiments/exec_run.py class CmdExecutorRun (line 7) | class CmdExecutorRun(CmdBaseNoRepo): method run (line 10) | def run(self): function add_parser (line 27) | def add_parser(experiments_subparsers, parent_parser): FILE: dvc/commands/experiments/ls.py class CmdExperimentsList (line 11) | class CmdExperimentsList(CmdBase): method run (line 12) | def run(self): function add_parser (line 55) | def add_parser(experiments_subparsers, parent_parser): FILE: dvc/commands/experiments/pull.py class CmdExperimentsPull (line 12) | class CmdExperimentsPull(CmdBase): method run (line 13) | def run(self): function add_parser (line 44) | def add_parser(experiments_subparsers, parent_parser): FILE: dvc/commands/experiments/push.py class CmdExperimentsPush (line 13) | class CmdExperimentsPush(CmdBase): method log_result (line 15) | def log_result(result: dict[str, Any], remote: str): method run (line 51) | def run(self): function add_parser (line 84) | def add_parser(experiments_subparsers, parent_parser): FILE: dvc/commands/experiments/queue_worker.py class CmdQueueWorker (line 7) | class CmdQueueWorker(CmdBase): method run (line 10) | def run(self): function add_parser (line 17) | def add_parser(experiments_subparsers, parent_parser): FILE: dvc/commands/experiments/remove.py class CmdExperimentsRemove (line 11) | class CmdExperimentsRemove(CmdBase): method check_arguments (line 12) | def check_arguments(self): method run (line 25) | def run(self): function add_parser (line 47) | def add_parser(experiments_subparsers, parent_parser): FILE: dvc/commands/experiments/rename.py class CmdExperimentsRename (line 11) | class CmdExperimentsRename(CmdBase): method run (line 12) | def run(self): function add_parser (line 33) | def add_parser(experiments_subparsers, parent_parser): FILE: dvc/commands/experiments/run.py class CmdExperimentsRun (line 12) | class CmdExperimentsRun(CmdRepro): method run (line 13) | def run(self): function add_parser (line 30) | def add_parser(experiments_subparsers, parent_parser): function _add_run_common (line 43) | def _add_run_common(parser): FILE: dvc/commands/experiments/save.py class CmdExperimentsSave (line 13) | class CmdExperimentsSave(CmdBase): method run (line 14) | def run(self): function add_parser (line 37) | def add_parser(experiments_subparsers, parent_parser): FILE: dvc/commands/experiments/show.py function prepare_exp_id (line 36) | def prepare_exp_id(kwargs) -> "RichText": function baseline_styler (line 55) | def baseline_styler(typ): function show_experiments (line 59) | def show_experiments( function _normalize_headers (line 128) | def _normalize_headers(names, count): function _format_json (line 136) | def _format_json(item): class CmdExperimentsShow (line 142) | class CmdExperimentsShow(CmdBase): method run (line 143) | def run(self): function add_parser (line 197) | def add_parser(experiments_subparsers, parent_parser): FILE: dvc/commands/freeze.py class CmdFreezeBase (line 10) | class CmdFreezeBase(CmdBase): method _run (line 11) | def _run(self, func, name): class CmdFreeze (line 22) | class CmdFreeze(CmdFreezeBase): method run (line 23) | def run(self): class CmdUnfreeze (line 27) | class CmdUnfreeze(CmdFreezeBase): method run (line 28) | def run(self): function add_parser (line 32) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/gc.py class CmdGC (line 12) | class CmdGC(CmdBase): method run (line 13) | def run(self): # noqa: C901, PLR0912 function add_parser (line 101) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/get.py class CmdGet (line 10) | class CmdGet(CmdBaseNoRepo): method _show_url (line 11) | def _show_url(self): method run (line 26) | def run(self): method _get_file_from_repo (line 32) | def _get_file_from_repo(self): function add_parser (line 59) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/get_url.py class CmdGetUrl (line 10) | class CmdGetUrl(CmdBaseNoRepo): method run (line 11) | def run(self): function add_parser (line 30) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/git_hook.py class CmdHookBase (line 11) | class CmdHookBase(CmdBaseNoRepo): method run (line 12) | def run(self): method _run (line 23) | def _run(self): class CmdPreCommit (line 27) | class CmdPreCommit(CmdHookBase): method _run (line 28) | def _run(self): class CmdPostCheckout (line 34) | class CmdPostCheckout(CmdHookBase): method _run (line 35) | def _run(self): class CmdPrePush (line 58) | class CmdPrePush(CmdHookBase): method _run (line 59) | def _run(self): class CmdMergeDriver (line 65) | class CmdMergeDriver(CmdHookBase): method _run (line 66) | def _run(self): function add_parser (line 84) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/imp.py class CmdImport (line 10) | class CmdImport(CmdBase): method run (line 11) | def run(self): function add_parser (line 41) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/imp_db.py class CmdTestDb (line 10) | class CmdTestDb(CmdBaseNoRepo): method run (line 11) | def run(self): class CmdImportDb (line 34) | class CmdImportDb(CmdBase): method run (line 35) | def run(self): function add_parser (line 47) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/imp_url.py class CmdImportUrl (line 10) | class CmdImportUrl(CmdBase): method run (line 11) | def run(self): function add_parser (line 37) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/init.py function _welcome_message (line 14) | def _welcome_message(): class CmdInit (line 38) | class CmdInit(CmdBaseNoRepo): method run (line 39) | def run(self): function add_parser (line 58) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/install.py class CmdInstall (line 10) | class CmdInstall(CmdBase): method run (line 11) | def run(self): function add_parser (line 20) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/ls/__init__.py function _get_formatter (line 14) | def _get_formatter(with_color: bool = False) -> Callable[[dict], str]: function _format_entry (line 25) | def _format_entry(entry, name, with_size=True, with_hash=False): function show_entries (line 43) | def show_entries(entries, with_color=False, with_size=False, with_hash=F... class TreePart (line 65) | class TreePart: function _build_tree_structure (line 72) | def _build_tree_structure( function show_tree (line 111) | def show_tree(entries, with_color=False, with_size=False, with_hash=False): class CmdList (line 131) | class CmdList(CmdBaseNoRepo): method _show_tree (line 132) | def _show_tree(self): method _show_list (line 153) | def _show_list(self): method run (line 178) | def run(self): function add_parser (line 194) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/ls/ls_colors.py class LsColors (line 4) | class LsColors: method __init__ (line 7) | def __init__(self, lscolors=None): method _load (line 12) | def _load(self, lscolors): method format (line 23) | def format(self, entry): method _format (line 40) | def _format(self, text, code=None, ext=None): FILE: dvc/commands/ls_url.py class CmdListUrl (line 11) | class CmdListUrl(CmdBaseNoRepo): method _show_tree (line 12) | def _show_tree(self, config): method _show_list (line 23) | def _show_list(self, config): method run (line 37) | def run(self): function add_parser (line 46) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/metrics.py class CmdMetricsBase (line 14) | class CmdMetricsBase(CmdBase): class CmdMetricsShow (line 18) | class CmdMetricsShow(CmdMetricsBase): method run (line 19) | def run(self): class CmdMetricsDiff (line 58) | class CmdMetricsDiff(CmdMetricsBase): method run (line 59) | def run(self): function add_parser (line 100) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/move.py class CmdMove (line 10) | class CmdMove(CmdBase): method run (line 11) | def run(self): function add_parser (line 21) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/params.py class CmdParamsDiff (line 10) | class CmdParamsDiff(CmdBase): method run (line 13) | def run(self): function add_parser (line 54) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/plots.py function _show_json (line 22) | def _show_json( class CmdPlots (line 53) | class CmdPlots(CmdBase): method _func (line 54) | def _func(self, *args, **kwargs): method _props (line 57) | def _props(self): method _html_template_path (line 64) | def _html_template_path(self): method run (line 75) | def run(self) -> int: # noqa: C901, PLR0911 class CmdPlotsShow (line 156) | class CmdPlotsShow(CmdPlots): method _func (line 159) | def _func(self, *args, **kwargs): class CmdPlotsDiff (line 163) | class CmdPlotsDiff(CmdPlots): method _func (line 166) | def _func(self, *args, **kwargs): class CmdPlotsModify (line 175) | class CmdPlotsModify(CmdPlots): method run (line 176) | def run(self): class CmdPlotsTemplates (line 183) | class CmdPlotsTemplates(CmdBase): method run (line 184) | def run(self): function add_parser (line 206) | def add_parser(subparsers, parent_parser): function _add_props_arguments (line 324) | def _add_props_arguments(parser): function _add_output_argument (line 357) | def _add_output_argument(parser, typ="plots"): function _add_ui_arguments (line 367) | def _add_ui_arguments(parser): FILE: dvc/commands/queue/__init__.py function add_parser (line 8) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/queue/kill.py class CmdQueueKill (line 9) | class CmdQueueKill(CmdBase): method run (line 12) | def run(self): function add_parser (line 20) | def add_parser(queue_subparsers, parent_parser): FILE: dvc/commands/queue/logs.py class CmdQueueLogs (line 9) | class CmdQueueLogs(CmdBase): method run (line 12) | def run(self): function add_parser (line 22) | def add_parser(queue_subparsers, parent_parser): FILE: dvc/commands/queue/remove.py class CmdQueueRemove (line 11) | class CmdQueueRemove(CmdBase): method check_arguments (line 14) | def check_arguments(self): method run (line 29) | def run(self): function add_parser (line 57) | def add_parser(queue_subparsers, parent_parser): FILE: dvc/commands/queue/start.py class CmdQueueStart (line 10) | class CmdQueueStart(CmdBase): method run (line 13) | def run(self): function add_parser (line 22) | def add_parser(queue_subparsers, parent_parser): FILE: dvc/commands/queue/status.py class CmdQueueStatus (line 11) | class CmdQueueStatus(CmdBase): method run (line 14) | def run(self) -> int: function add_parser (line 47) | def add_parser(queue_subparsers, parent_parser): FILE: dvc/commands/queue/stop.py class CmdQueueStop (line 10) | class CmdQueueStop(CmdBase): method run (line 13) | def run(self): function add_parser (line 27) | def add_parser(queue_subparsers, parent_parser): FILE: dvc/commands/remote.py class CmdRemote (line 8) | class CmdRemote(CmdConfig): method __init__ (line 9) | def __init__(self, args): method _check_exists (line 15) | def _check_exists(self, conf): class CmdRemoteAdd (line 22) | class CmdRemoteAdd(CmdRemote): method run (line 23) | def run(self): class CmdRemoteRemove (line 43) | class CmdRemoteRemove(CmdRemote): method run (line 44) | def run(self): class CmdRemoteModify (line 62) | class CmdRemoteModify(CmdRemote): method run (line 63) | def run(self): class CmdRemoteDefault (line 81) | class CmdRemoteDefault(CmdRemote): method run (line 82) | def run(self): class CmdRemoteList (line 110) | class CmdRemoteList(CmdRemote): method run (line 111) | def run(self): class CmdRemoteRename (line 126) | class CmdRemoteRename(CmdRemote): method _rename_default (line 127) | def _rename_default(self, conf): method run (line 131) | def run(self): function add_parser (line 156) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/remove.py class CmdRemove (line 10) | class CmdRemove(CmdBase): method run (line 11) | def run(self): function add_parser (line 21) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/repro.py class CmdRepro (line 7) | class CmdRepro(CmdBase): method run (line 8) | def run(self): method _common_kwargs (line 20) | def _common_kwargs(self): method _repro_kwargs (line 38) | def _repro_kwargs(self): function add_arguments (line 46) | def add_arguments(repro_parser): function add_parser (line 158) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/root.py class CmdRoot (line 10) | class CmdRoot(CmdBaseNoRepo): method run (line 11) | def run(self): function add_parser (line 19) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/stage.py function generate_description (line 24) | def generate_description(stage: "Stage") -> str: function prepare_description (line 50) | def prepare_description(stage: "Stage", max_length: int = MAX_TEXT_LENGT... function prepare_stages_data (line 55) | def prepare_stages_data( class CmdStageList (line 68) | class CmdStageList(CmdBase): method _get_stages (line 69) | def _get_stages(self) -> Iterable["Stage"]: method run (line 82) | def run(self): function parse_cmd (line 100) | def parse_cmd(commands: list[str]) -> str: function _disable_logging (line 124) | def _disable_logging(highest_level=logging.CRITICAL): class CmdStageAdd (line 135) | class CmdStageAdd(CmdBase): method run (line 136) | def run(self): function _add_common_args (line 158) | def _add_common_args(parser): function add_parser (line 280) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/status.py class CmdDataStatus (line 10) | class CmdDataStatus(CmdDataBase): method _normalize (line 20) | def _normalize(self, s): method _show (line 25) | def _show(self, status, indent=0): method run (line 46) | def run(self): FILE: dvc/commands/studio.py class CmdStudioLogin (line 14) | class CmdStudioLogin(CmdConfig): method run (line 15) | def run(self): method save_config (line 66) | def save_config(self, hostname, token): class CmdStudioLogout (line 74) | class CmdStudioLogout(CmdConfig): method run (line 75) | def run(self): class CmdStudioToken (line 91) | class CmdStudioToken(CmdConfig): method run (line 92) | def run(self): function add_parser (line 105) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/unprotect.py class CmdUnprotect (line 10) | class CmdUnprotect(CmdBase): method run (line 11) | def run(self): function add_parser (line 22) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/update.py class CmdUpdate (line 10) | class CmdUpdate(CmdBase): method run (line 11) | def run(self): function add_parser (line 29) | def add_parser(subparsers, parent_parser): FILE: dvc/commands/version.py class CmdVersion (line 10) | class CmdVersion(CmdBaseNoRepo): method run (line 11) | def run(self): function add_parser (line 22) | def add_parser(subparsers, parent_parser): FILE: dvc/compare.py class Column (line 20) | class Column(list["CellT"]): function with_value (line 24) | def with_value(value, default): class TabularData (line 28) | class TabularData(MutableSequence[Sequence["CellT"]]): method __init__ (line 29) | def __init__(self, columns: Sequence[str], fill_value: Optional[str] =... method columns (line 36) | def columns(self) -> list[Column]: method is_protected (line 39) | def is_protected(self, col_name) -> bool: method protect (line 42) | def protect(self, *col_names: str): method unprotect (line 45) | def unprotect(self, *col_names: str): method column (line 48) | def column(self, name: str) -> Column: method items (line 51) | def items(self) -> ItemsView[str, Column]: method keys (line 55) | def keys(self) -> list[str]: method _iter_col_row (line 58) | def _iter_col_row(self, row: Sequence["CellT"]) -> Iterator[tuple["Cel... method append (line 64) | def append(self, value: Sequence["CellT"]) -> None: method extend (line 68) | def extend(self, values: Iterable[Sequence["CellT"]]) -> None: method insert (line 72) | def insert(self, index: int, value: Sequence["CellT"]) -> None: method __iter__ (line 76) | def __iter__(self) -> Iterator[list["CellT"]]: method __getattr__ (line 79) | def __getattr__(self, item: str) -> Column: method __getitem__ (line 83) | def __getitem__(self, item: Union[int, slice]): method __setitem__ (line 91) | def __setitem__(self, item: int, value: Sequence["CellT"]) -> None: ... method __setitem__ (line 94) | def __setitem__(self, item: slice, value: Iterable[Sequence["CellT"]])... method __setitem__ (line 96) | def __setitem__(self, item, value) -> None: method __delitem__ (line 110) | def __delitem__(self, item: Union[int, slice]) -> None: method __len__ (line 114) | def __len__(self) -> int: method shape (line 120) | def shape(self) -> tuple[int, int]: method drop (line 123) | def drop(self, *col_names: str) -> None: method rename (line 129) | def rename(self, from_col_name: str, to_col_name: str) -> None: method project (line 133) | def project(self, *col_names: str) -> None: method is_empty (line 137) | def is_empty(self, col_name: str) -> bool: method to_csv (line 141) | def to_csv(self) -> str: method add_column (line 153) | def add_column(self, name: str) -> None: method row_from_dict (line 157) | def row_from_dict(self, d: Mapping[str, "CellT"]) -> None: method render (line 168) | def render(self, **kwargs: Any): method as_dict (line 176) | def as_dict( method dropna (line 182) | def dropna( # noqa: C901, PLR0912 method drop_duplicates (line 226) | def drop_duplicates( # noqa: C901 function _normalize_float (line 277) | def _normalize_float(val: float, precision: int): function _format_field (line 281) | def _format_field( function diff_table (line 298) | def diff_table( function show_diff (line 344) | def show_diff( # noqa: PLR0913 function metrics_table (line 372) | def metrics_table( function show_metrics (line 411) | def show_metrics( FILE: dvc/config.py class ConfigError (line 25) | class ConfigError(DvcException): method __init__ (line 28) | def __init__(self, msg): class RemoteConfigError (line 32) | class RemoteConfigError(ConfigError): class NoRemoteError (line 36) | class NoRemoteError(RemoteConfigError): class RemoteNotFoundError (line 40) | class RemoteNotFoundError(RemoteConfigError): function get_compiled_schema (line 45) | def get_compiled_schema(): function to_bool (line 53) | def to_bool(value): class Config (line 59) | class Config(dict): method __init__ (line 81) | def __init__( method from_cwd (line 110) | def from_cwd(cls, fs: Optional["FileSystem"] = None, **kwargs): method get_dir (line 121) | def get_dir(cls, level): method files (line 133) | def files(self) -> dict[str, str]: method init (line 148) | def init(dvc_dir): method merge (line 161) | def merge(self, config): method load (line 164) | def load( method _get_fs (line 198) | def _get_fs(self, level): method load_file (line 204) | def load_file(path, fs=None) -> dict: method _load_config (line 221) | def _load_config(self, level): method _save_config (line 230) | def _save_config(self, level, conf_dict): method load_one (line 245) | def load_one(self, level): method _resolve (line 256) | def _resolve(conf_dir, path): method _load_paths (line 282) | def _load_paths(cls, conf, filename): method _to_relpath (line 289) | def _to_relpath(conf_dir, path): method _save_paths (line 314) | def _save_paths(conf, filename): method _map_dirs (line 321) | def _map_dirs(conf, func): method load_config_to_level (line 347) | def load_config_to_level(self, level=None): method read (line 356) | def read(self, level=None): method edit (line 363) | def edit(self, level=None, validate=True): method validate (line 384) | def validate(data): function _parse_named (line 393) | def _parse_named(conf): function _pack_named (line 407) | def _pack_named(conf): function merge (line 420) | def merge(into, update): function _lower_keys (line 429) | def _lower_keys(data): FILE: dvc/config_schema.py function supported_cache_type (line 35) | def supported_cache_type(types): function Choices (line 53) | def Choices(*choices): # noqa: N802 function ByUrl (line 63) | def ByUrl(mapping): # noqa: N802 class ExpPath (line 84) | class ExpPath(str): method __new__ (line 89) | def __new__(cls, string, def_path): class RelPath (line 95) | class RelPath(str): class FeatureSchema (line 99) | class FeatureSchema(Schema): method __init__ (line 100) | def __init__(self, schema, required=False): method _log_deprecated (line 105) | def _log_deprecated(keys): method __call__ (line 112) | def __call__(self, data): function config_vars_for_completion (line 390) | def config_vars_for_completion(d: dict = SCHEMA, path: str = "") -> "Ite... FILE: dvc/daemon.py function _suppress_resource_warning (line 24) | def _suppress_resource_warning(popen: subprocess.Popen) -> None: function _win_detached_subprocess (line 31) | def _win_detached_subprocess(args: Sequence[str], **kwargs) -> int: function _get_dvc_args (line 59) | def _get_dvc_args() -> list[str]: function _fork_process (line 68) | def _fork_process() -> int: function _posix_detached_subprocess (line 100) | def _posix_detached_subprocess(args: Sequence[str], **kwargs) -> int: function _detached_subprocess (line 119) | def _detached_subprocess(args: Sequence[str], **kwargs) -> int: function _map_log_level_to_flag (line 130) | def _map_log_level_to_flag() -> Optional[str]: function daemon (line 135) | def daemon(args: list[str]) -> None: function _spawn (line 146) | def _spawn( function daemonize (line 167) | def daemonize(args: list[str], executable: Union[str, list[str], None] =... FILE: dvc/dagascii.py class VertexViewer (line 15) | class VertexViewer: method __init__ (line 25) | def __init__(self, name): method h (line 30) | def h(self): method w (line 35) | def w(self): class AsciiCanvas (line 40) | class AsciiCanvas: method __init__ (line 50) | def __init__(self, cols, lines): method draw (line 59) | def draw(self): method point (line 64) | def point(self, x, y, char): method line (line 83) | def line(self, x0, y0, x1, y1, char): # noqa: C901, PLR0912 method text (line 124) | def text(self, x, y, text): method box (line 135) | def box(self, x0, y0, width, height): function _build_sugiyama_layout (line 164) | def _build_sugiyama_layout(vertices, edges): function draw (line 205) | def draw(vertices, edges): FILE: dvc/data_cloud.py class Remote (line 21) | class Remote: method __init__ (line 22) | def __init__(self, name: str, path: str, fs: "FileSystem", *, index=No... method odb (line 32) | def odb(self) -> "HashFileDB": method legacy_odb (line 45) | def legacy_odb(self) -> "HashFileDB": function _split_legacy_hash_infos (line 52) | def _split_legacy_hash_infos( class DataCloud (line 67) | class DataCloud: method __init__ (line 78) | def __init__(self, repo): method get_remote (line 81) | def get_remote( method get_remote_odb (line 126) | def get_remote_odb( method _log_missing (line 143) | def _log_missing(self, status: "CompareStatusResult"): method transfer (line 157) | def transfer( method push (line 168) | def push( method _push (line 200) | def _push( method pull (line 228) | def pull( method _pull (line 261) | def _pull( method status (line 290) | def status( method _status (line 330) | def _status( method get_url_for (line 352) | def get_url_for(self, remote, checksum): FILE: dvc/database.py function noop (line 26) | def noop(_): function make_url (line 30) | def make_url(url: Union["URL", str], **kwargs: Any) -> "URL": function url_from_config (line 34) | def url_from_config(config: Union[str, "URL", dict[str, str]]) -> "URL": function atomic_file (line 41) | def atomic_file(file: StrOrBytesPath, mode: str = "w+b"): class Serializer (line 49) | class Serializer: method to_csv (line 54) | def to_csv(self, file: StrOrBytesPath, progress=noop): method to_json (line 63) | def to_json(self, file: StrOrBytesPath, progress=noop): # noqa: ARG002 method export (line 70) | def export(self, file: StrOrBytesPath, format: str = "csv", progress=n... class Client (line 77) | class Client: method test_connection (line 80) | def test_connection(self, onerror: Optional[Callable[[], Any]] = None)... method export (line 94) | def export( function handle_error (line 111) | def handle_error(url: "URL"): function client (line 121) | def client( FILE: dvc/dependency/__init__.py function _get (line 26) | def _get(stage, p, info, **kwargs): function loadd_from (line 44) | def loadd_from(stage, d_list) -> list[Dependency]: function loads_from (line 57) | def loads_from(stage, s_list, erepo=None, fs_config=None, db=None): function _merge_params (line 65) | def _merge_params(s_list) -> dict[str, list[str]]: function loads_params (line 99) | def loads_params(stage, s_list): FILE: dvc/dependency/base.py class DependencyDoesNotExistError (line 6) | class DependencyDoesNotExistError(DvcException): method __init__ (line 7) | def __init__(self, path): class DependencyIsNotFileOrDirError (line 12) | class DependencyIsNotFileOrDirError(DvcException): method __init__ (line 13) | def __init__(self, path): class DependencyIsStageFileError (line 18) | class DependencyIsStageFileError(DvcException): method __init__ (line 19) | def __init__(self, path): class Dependency (line 23) | class Dependency(Output): method workspace_status (line 30) | def workspace_status(self) -> dict[str, str]: method update (line 41) | def update(self, rev=None): method download (line 47) | def download(self, to, jobs=None): method save (line 50) | def save(self): method dumpd (line 55) | def dumpd(self, **kwargs): FILE: dvc/dependency/dataset.py class DatasetDependency (line 15) | class DatasetDependency(AbstractDependency): method __init__ (line 19) | def __init__(self, stage: "Stage", p, info, *args, **kwargs): method __repr__ (line 27) | def __repr__(self): method __str__ (line 30) | def __str__(self): method is_dataset (line 34) | def is_dataset(cls, p: str): method protocol (line 38) | def protocol(self): method dumpd (line 41) | def dumpd(self, **kwargs): method fill_values (line 44) | def fill_values(self, values=None): method workspace_status (line 50) | def workspace_status(self): method status (line 63) | def status(self): method get_hash (line 66) | def get_hash(self): method save (line 77) | def save(self): method download (line 80) | def download(self, to, jobs=None): method update (line 83) | def update(self, rev=None): FILE: dvc/dependency/db.py function download_progress (line 21) | def download_progress(to: "Output") -> Iterator[Callable[[int], Any]]: class AbstractDependency (line 36) | class AbstractDependency(Dependency): method __init__ (line 39) | def __init__(self, stage: "Stage", info: dict[str, Any], *args, **kwar... method is_in_repo (line 48) | def is_in_repo(self): class DbDependency (line 52) | class DbDependency(AbstractDependency): method __init__ (line 67) | def __init__(self, stage: "Stage", info, *args, **kwargs): method sql (line 73) | def sql(self) -> Optional[str]: method __repr__ (line 76) | def __repr__(self): method __str__ (line 81) | def __str__(self): method workspace_status (line 86) | def workspace_status(self): method status (line 89) | def status(self): method save (line 92) | def save(self): method dumpd (line 95) | def dumpd(self, **kwargs): method update (line 99) | def update(self, rev=None): method download (line 102) | def download( FILE: dvc/dependency/param.py class MissingParamsError (line 21) | class MissingParamsError(DvcException): class MissingParamsFile (line 25) | class MissingParamsFile(DvcException): class ParamsIsADirectoryError (line 29) | class ParamsIsADirectoryError(DvcException): class BadParamFileError (line 33) | class BadParamFileError(DvcException): function read_param_file (line 37) | def read_param_file( class ParamsDependency (line 71) | class ParamsDependency(Dependency): method __init__ (line 75) | def __init__(self, stage, path, params=None, repo=None): method dumpd (line 86) | def dumpd(self, **kwargs): method fill_values (line 92) | def fill_values(self, values=None): method read_params (line 105) | def read_params( method workspace_status (line 124) | def workspace_status(self): method status (line 161) | def status(self): method validate_filepath (line 164) | def validate_filepath(self): method get_hash (line 172) | def get_hash(self): method save (line 185) | def save(self): FILE: dvc/dependency/repo.py class RepoDependency (line 17) | class RepoDependency(Dependency): method __init__ (line 35) | def __init__(self, def_repo: dict[str, Any], stage: "Stage", *args, **... method _parse_path (line 42) | def _parse_path(self, fs, fs_path): # noqa: ARG002 method is_in_repo (line 46) | def is_in_repo(self): method __str__ (line 49) | def __str__(self): method workspace_status (line 52) | def workspace_status(self): method status (line 61) | def status(self): method save (line 64) | def save(self): method _dump_def_repo (line 70) | def _dump_def_repo(cls, def_repo) -> dict[str, str]: method dumpd (line 90) | def dumpd(self, **kwargs) -> dict[str, Union[str, dict[str, str]]]: method download (line 96) | def download(self, to: "Output", jobs: Optional[int] = None): method update (line 117) | def update(self, rev: Optional[str] = None): method changed_checksum (line 123) | def changed_checksum(self) -> bool: method _make_fs (line 129) | def _make_fs( method _get_rev (line 166) | def _get_rev(self, locked: bool = True): FILE: dvc/dirs.py function system_config_dir (line 12) | def system_config_dir(): function global_config_dir (line 18) | def global_config_dir(): function site_cache_dir (line 24) | def site_cache_dir(config_site_cache_dir: Optional[str] = None): FILE: dvc/dvcfile.py class FileIsGitIgnored (line 33) | class FileIsGitIgnored(DvcException): method __init__ (line 34) | def __init__(self, path, pipeline_file=False): class ParametrizedDumpError (line 42) | class ParametrizedDumpError(DvcException): function is_valid_filename (line 46) | def is_valid_filename(path): function is_dvc_file (line 50) | def is_dvc_file(path): function is_lock_file (line 54) | def is_lock_file(path): function is_git_ignored (line 58) | def is_git_ignored(repo, path): function check_dvcfile_path (line 68) | def check_dvcfile_path(repo, path): class FileMixin (line 80) | class FileMixin: method __init__ (line 83) | def __init__(self, repo, path, verify=True, **kwargs): method __repr__ (line 88) | def __repr__(self): method __hash__ (line 91) | def __hash__(self): method __eq__ (line 94) | def __eq__(self, other): method __str__ (line 99) | def __str__(self): method relpath (line 103) | def relpath(self): method exists (line 106) | def exists(self): method _is_git_ignored (line 110) | def _is_git_ignored(self): method _verify_filename (line 113) | def _verify_filename(self): method _check_gitignored (line 117) | def _check_gitignored(self): method load (line 121) | def load(self, **kwargs: Any) -> Any: method _load (line 125) | def _load(self, **kwargs: Any) -> tuple[Any, str]: method validate (line 143) | def validate(cls, d: _T, fname: Optional[str] = None) -> _T: method _load_yaml (line 148) | def _load_yaml(self, **kwargs: Any) -> tuple[Any, str]: method remove (line 158) | def remove(self, force=False): # noqa: ARG002 method dump (line 162) | def dump(self, stage, **kwargs): method dump_stages (line 165) | def dump_stages(self, stages, **kwargs): method merge (line 168) | def merge(self, ancestor, other, allowed=None): class SingleStageFile (line 172) | class SingleStageFile(FileMixin): method stage (line 184) | def stage(self) -> "Stage": method stages (line 189) | def stages(self) -> LOADER: method dump (line 193) | def dump(self, stage, **kwargs) -> None: method dump_stages (line 204) | def dump_stages(self, stages, **kwargs) -> None: method remove_stage (line 211) | def remove_stage(self, stage): # noqa: ARG002 method merge (line 214) | def merge(self, ancestor, other, allowed=None): class ProjectFile (line 223) | class ProjectFile(FileMixin): method _lockfile (line 230) | def _lockfile(self): method _reset (line 233) | def _reset(self): method dump (line 239) | def dump(self, stage, update_pipeline=True, update_lock=True, **kwargs): method dump_stages (line 245) | def dump_stages(self, stages, update_pipeline=True, update_lock=True, ... method dump_dataset (line 263) | def dump_dataset(self, dataset): method _dump_lockfile (line 283) | def _dump_lockfile(self, stages, **kwargs): method _check_if_parametrized (line 287) | def _check_if_parametrized(stage, action: str = "dump") -> None: method _dump_pipeline_file (line 291) | def _dump_pipeline_file(self, stages): method stage (line 318) | def stage(self): method contents (line 322) | def contents(self) -> dict[str, Any]: method lockfile_contents (line 326) | def lockfile_contents(self) -> dict[str, Any]: method resolver (line 330) | def resolver(self) -> "DataResolver": method stages (line 337) | def stages(self) -> LOADER: method artifacts (line 341) | def artifacts(self) -> dict[str, Optional[dict[str, Any]]]: method metrics (line 345) | def metrics(self) -> list[str]: method params (line 349) | def params(self) -> list[str]: method plots (line 353) | def plots(self) -> list[Any]: method datasets (line 357) | def datasets(self) -> list[dict[str, Any]]: method datasets_lock (line 361) | def datasets_lock(self) -> list[dict[str, Any]]: method remove (line 364) | def remove(self, force=False): method remove_stage (line 372) | def remove_stage(self, stage): method merge (line 390) | def merge(self, ancestor, other, allowed=None): class Lockfile (line 394) | class Lockfile(FileMixin): method _verify_filename (line 397) | def _verify_filename(self): method _load (line 400) | def _load(self, **kwargs: Any): method dump_dataset (line 409) | def dump_dataset(self, dataset: dict): method dump_stages (line 427) | def dump_stages(self, stages, **kwargs): method dump (line 455) | def dump(self, stage, **kwargs): method remove_stage (line 458) | def remove_stage(self, stage): method merge (line 475) | def merge(self, ancestor, other, allowed=None): function load_file (line 479) | def load_file( FILE: dvc/exceptions.py class DvcException (line 12) | class DvcException(Exception): # noqa: N818 method __init__ (line 15) | def __init__(self, msg, *args): class InvalidArgumentError (line 21) | class InvalidArgumentError(ValueError, DvcException): method __init__ (line 24) | def __init__(self, msg, *args): class OutputDuplicationError (line 29) | class OutputDuplicationError(DvcException): method __init__ (line 38) | def __init__(self, output: str, stages: set["Stage"]): class OutputNotFoundError (line 62) | class OutputNotFoundError(DvcException): method __init__ (line 69) | def __init__(self, output, repo=None): class StageNotFoundError (line 79) | class StageNotFoundError(DvcException): class StagePathAsOutputError (line 83) | class StagePathAsOutputError(DvcException): method __init__ (line 92) | def __init__(self, stage, output): class CircularDependencyError (line 97) | class CircularDependencyError(DvcException): method __init__ (line 105) | def __init__(self, dependency): class ArgumentDuplicationError (line 112) | class ArgumentDuplicationError(DvcException): method __init__ (line 120) | def __init__(self, path): class MoveNotDataSourceError (line 125) | class MoveNotDataSourceError(DvcException): method __init__ (line 133) | def __init__(self, path): class NotDvcRepoError (line 143) | class NotDvcRepoError(DvcException): class CyclicGraphError (line 147) | class CyclicGraphError(DvcException): method __init__ (line 148) | def __init__(self, stages): class ConfirmRemoveError (line 163) | class ConfirmRemoveError(DvcException): method __init__ (line 164) | def __init__(self, path): class InitError (line 170) | class InitError(DvcException): class ReproductionError (line 174) | class ReproductionError(DvcException): class BadMetricError (line 178) | class BadMetricError(DvcException): method __init__ (line 179) | def __init__(self, paths): class OverlappingOutputPathsError (line 188) | class OverlappingOutputPathsError(DvcException): method __init__ (line 189) | def __init__(self, parent, overlapping_out, message): class CheckoutErrorSuggestGit (line 195) | class CheckoutErrorSuggestGit(DvcException): method __init__ (line 196) | def __init__(self, target): class ETagMismatchError (line 200) | class ETagMismatchError(DvcException): method __init__ (line 201) | def __init__(self, etag, cached_etag): class FileExistsLocallyError (line 208) | class FileExistsLocallyError(FileExistsError, DvcException): method __init__ (line 209) | def __init__(self, path, hint=None): class FileMissingError (line 220) | class FileMissingError(DvcException): method __init__ (line 221) | def __init__(self, path, hint=None): class FileTransferError (line 227) | class FileTransferError(DvcException): method __init__ (line 230) | def __init__(self, amount): class DownloadError (line 236) | class DownloadError(FileTransferError): class UploadError (line 240) | class UploadError(FileTransferError): class CheckoutError (line 244) | class CheckoutError(DvcException): method __init__ (line 245) | def __init__(self, target_infos: list[str], result: dict): class CollectCacheError (line 260) | class CollectCacheError(DvcException): class NoRemoteInExternalRepoError (line 264) | class NoRemoteInExternalRepoError(DvcException): method __init__ (line 265) | def __init__(self, url): class NoOutputInExternalRepoError (line 269) | class NoOutputInExternalRepoError(DvcException): method __init__ (line 270) | def __init__(self, path, external_repo_path, external_repo_url): class HTTPError (line 279) | class HTTPError(DvcException): method __init__ (line 280) | def __init__(self, code, reason): class PathMissingError (line 284) | class PathMissingError(DvcException): method __init__ (line 293) | def __init__(self, path, repo, dvc_only=False): class URLMissingError (line 299) | class URLMissingError(DvcException): method __init__ (line 300) | def __init__(self, url): class IsADirectoryError (line 304) | class IsADirectoryError(DvcException): # noqa: A001 class NoOutputOrStageError (line 308) | class NoOutputOrStageError(DvcException): method __init__ (line 313) | def __init__(self, target, file): class MergeError (line 319) | class MergeError(DvcException): class CacheLinkError (line 323) | class CacheLinkError(DvcException): method __init__ (line 328) | def __init__(self, fs_paths): class PrettyDvcException (line 336) | class PrettyDvcException(DvcException): method __pretty_exc__ (line 337) | def __pretty_exc__(self, **kwargs): class ArtifactNotFoundError (line 341) | class ArtifactNotFoundError(DvcException): method __init__ (line 348) | def __init__( class RevCollectionError (line 362) | class RevCollectionError(DvcException): method __init__ (line 369) | def __init__(self, rev): FILE: dvc/fs/__init__.py function download (line 49) | def download( function parse_external_url (line 91) | def parse_external_url(url, fs_config=None, config=None): function get_fs_config (line 99) | def get_fs_config(config, **kwargs): function _resolve_remote_refs (line 113) | def _resolve_remote_refs(config, remote_conf): function get_cloud_fs (line 146) | def get_cloud_fs(repo_config, **kwargs): FILE: dvc/fs/callbacks.py class TqdmCallback (line 17) | class TqdmCallback(_TqdmCallback): method __init__ (line 18) | def __init__( method branched (line 33) | def branched(self, path_1: "Union[str, BinaryIO]", path_2: str, **kwar... class RichCallback (line 38) | class RichCallback(Callback): method __init__ (line 39) | def __init__( method progress (line 65) | def progress(self) -> "RichTransferProgress": method task (line 81) | def task(self) -> "TaskID": method close (line 84) | def close(self): method call (line 89) | def call(self, hook_name=None, **kwargs): # noqa: ARG002 method branched (line 97) | def branched(self, path_1: Union[str, BinaryIO], path_2: str, **kwargs): FILE: dvc/fs/data.py class DataFileSystem (line 16) | class DataFileSystem(FileSystem): method _prepare_credentials (line 21) | def _prepare_credentials(self, **config): method fs (line 25) | def fs(self) -> "_DataFileSystem": method getcwd (line 30) | def getcwd(self): method isdvc (line 33) | def isdvc(self, path, **kwargs): method from_os_path (line 36) | def from_os_path(self, path): FILE: dvc/fs/dvc.py function as_posix (line 35) | def as_posix(path: str) -> str: function _is_dvc_file (line 40) | def _is_dvc_file(fname): function _merge_info (line 47) | def _merge_info(repo, key, fs_info, dvc_info): function _get_dvc_path (line 78) | def _get_dvc_path(dvc_fs, subkey): class _DVCFileSystem (line 82) | class _DVCFileSystem(AbstractFileSystem): method __init__ (line 86) | def __init__( method getcwd (line 162) | def getcwd(self): method join (line 170) | def join(cls, *parts: str) -> str: method parts (line 174) | def parts(cls, path: str) -> tuple[str, ...]: method normpath (line 192) | def normpath(self, path: str) -> str: method abspath (line 195) | def abspath(self, path: str) -> str: method relpath (line 200) | def relpath(self, path: str, start: Optional[str] = None) -> str: method relparts (line 205) | def relparts(self, path: str, start: Optional[str] = None) -> tuple[st... method repo (line 209) | def repo(self): method repo_factory (line 220) | def repo_factory(self): method fsid (line 232) | def fsid(self) -> str: method _get_key (line 242) | def _get_key(self, path: "StrPath") -> Key: method _subrepos_trie (line 250) | def _subrepos_trie(self): method _get_key_from_relative (line 260) | def _get_key_from_relative(self, path) -> Key: method _from_key (line 267) | def _from_key(self, parts: Key) -> str: method _datafss (line 271) | def _datafss(self): method repo_url (line 283) | def repo_url(self): method _make_repo (line 287) | def _make_repo(cls, **kwargs) -> "Repo": method _get_repo (line 293) | def _get_repo(self, key: Key) -> "Repo": method _update (line 311) | def _update(self, dir_keys, starting_repo): method _is_dvc_repo (line 327) | def _is_dvc_repo(self, dir_path): method _get_subrepo_info (line 337) | def _get_subrepo_info( method _open (line 355) | def _open(self, path, mode="rb", **kwargs): method isdvc (line 371) | def isdvc(self, path, **kwargs) -> bool: method ls (line 378) | def ls(self, path, detail=True, dvc_only=False, **kwargs): # noqa: C9... method info (line 442) | def info(self, path, **kwargs): method _info (line 447) | def _info( # noqa: C901 method get (line 492) | def get( method _get (line 512) | def _get( # noqa: C901, PLR0912, PLR0915 method get_file (line 605) | def get_file(self, rpath, lpath, **kwargs): method du (line 624) | def du(self, path, total=True, maxdepth=None, withdirs=False, **kwargs): method close (line 663) | def close(self): class DVCFileSystem (line 667) | class DVCFileSystem(FileSystem): method _prepare_credentials (line 671) | def _prepare_credentials(self, **config) -> dict[str, Any]: method fs (line 675) | def fs(self) -> "_DVCFileSystem": method immutable (line 679) | def immutable(self): method getcwd (line 687) | def getcwd(self): method _get (line 690) | def _get( method get (line 711) | def get( method fsid (line 730) | def fsid(self) -> str: method isdvc (line 733) | def isdvc(self, path, **kwargs) -> bool: method repo (line 737) | def repo(self) -> "Repo": method repo_url (line 741) | def repo_url(self) -> str: method from_os_path (line 744) | def from_os_path(self, path: str) -> str: method close (line 751) | def close(self): FILE: dvc/fs/dvc_path.py class DVCPath (line 21) | class DVCPath(UPath): method _transform_init_args (line 23) | def _transform_init_args(cls, args, protocol, storage_options): method __str__ (line 43) | def __str__(self): method with_segments (line 49) | def with_segments(self, *pathsegments): FILE: dvc/fs/git.py class GitFileSystem (line 13) | class GitFileSystem(FileSystem): method __init__ (line 19) | def __init__( method fs (line 42) | def fs(self) -> "FsspecGitFileSystem": method getcwd (line 47) | def getcwd(self): method chdir (line 50) | def chdir(self, path): method rev (line 54) | def rev(self) -> str: method ls (line 57) | def ls(self, path, detail=True, **kwargs): FILE: dvc/ignore.py class DvcIgnore (line 32) | class DvcIgnore: method __call__ (line 35) | def __call__( class DvcIgnorePatterns (line 41) | class DvcIgnorePatterns(DvcIgnore): method __init__ (line 42) | def __init__( method from_file (line 114) | def from_file(cls, path: str, fs: "FileSystem", name: str) -> "Self": method __call__ (line 126) | def __call__( method _get_normalize_path (line 134) | def _get_normalize_path(self, dirname: str, basename: str) -> Optional... method matches (line 154) | def matches( method matches (line 163) | def matches( method matches (line 172) | def matches( method matches (line 180) | def matches( method _find_matching_pattern (line 194) | def _find_matching_pattern( method _ignore (line 226) | def _ignore(self, path: str, is_dir: bool) -> tuple[bool, list[Pattern... method __hash__ (line 242) | def __hash__(self) -> int: method __eq__ (line 245) | def __eq__(self, other: object) -> bool: method __bool__ (line 253) | def __bool__(self) -> bool: class CheckIgnoreResult (line 257) | class CheckIgnoreResult(NamedTuple): class DvcIgnoreFilter (line 263) | class DvcIgnoreFilter: method __init__ (line 264) | def __init__(self, fs: "FileSystem", root_dir: str) -> None: method _get_key (line 299) | def _get_key(self, path: str) -> tuple[str, ...]: method _update_trie (line 305) | def _update_trie(self, dirname: str, trie: Trie) -> None: method _update (line 328) | def _update( method _update_sub_repo (line 347) | def _update_sub_repo(self, path: str, ignore_trie: Trie) -> None: method __call__ (line 374) | def __call__( method ls (line 386) | def ls( method ls (line 391) | def ls( method ls (line 396) | def ls( method ls (line 400) | def ls( method walk (line 422) | def walk( method find (line 453) | def find(self, fs: "FileSystem", path: str, **kwargs: Any) -> Iterator... method _get_trie_pattern (line 462) | def _get_trie_pattern( method _is_ignored (line 497) | def _is_ignored( method is_ignored_dir (line 508) | def is_ignored_dir(self, path: str, ignore_subrepos: bool = True) -> b... method is_ignored_file (line 516) | def is_ignored_file(self, path: str, ignore_subrepos: bool = True) -> ... method _outside_repo (line 521) | def _outside_repo(self, path: str) -> bool: method check_ignore (line 524) | def check_ignore(self, target: str) -> CheckIgnoreResult: method is_ignored (line 539) | def is_ignored( function init (line 555) | def init(path: Union[str, os.PathLike[str]]) -> str: function destroy (line 570) | def destroy(path: Union[str, os.PathLike[str]]) -> None: FILE: dvc/info.py function get_dvc_info (line 26) | def get_dvc_info(): function _get_caches (line 69) | def _get_caches(cache): function _get_remotes (line 80) | def _get_remotes(config): function _get_linktype_support_info (line 87) | def _get_linktype_support_info(repo): function _get_subprojects (line 101) | def _get_subprojects(): function _get_supported_remotes (line 113) | def _get_supported_remotes(): function _get_config_dirs (line 140) | def _get_config_dirs(): function _get_fs_type (line 151) | def _get_fs_type(path): function _get_dvc_repo_info (line 170) | def _get_dvc_repo_info(repo): FILE: dvc/lock.py class LockError (line 27) | class LockError(DvcException): class LockBase (line 31) | class LockBase(ABC): method __init__ (line 33) | def __init__(self, lockfile): method lockfile (line 37) | def lockfile(self): method lock (line 41) | def lock(self): method unlock (line 45) | def unlock(self): method is_locked (line 50) | def is_locked(self): method __enter__ (line 54) | def __enter__(self): method __exit__ (line 58) | def __exit__(self, typ, value, tbck): class LockNoop (line 62) | class LockNoop(LockBase): method __init__ (line 63) | def __init__(self, *args, **kwargs): method lock (line 66) | def lock(self): method unlock (line 69) | def unlock(self): method is_locked (line 75) | def is_locked(self): method __enter__ (line 78) | def __enter__(self): method __exit__ (line 81) | def __exit__(self, typ, value, tbck): class Lock (line 85) | class Lock(LockBase): method __init__ (line 91) | def __init__(self, lockfile, friendly=False, wait=False, **kwargs): method files (line 99) | def files(self): method _do_lock (line 102) | def _do_lock(self): method lock (line 110) | def lock(self): method unlock (line 138) | def unlock(self): method is_locked (line 150) | def is_locked(self): method __enter__ (line 153) | def __enter__(self): method __exit__ (line 156) | def __exit__(self, typ, value, tbck): class HardlinkLock (line 160) | class HardlinkLock(flufl.lock.Lock, LockBase): method __init__ (line 169) | def __init__(self, lockfile, tmp_dir=None, wait=False, **kwargs): method lock (line 196) | def lock(self, timeout: Optional[Union[timedelta, int]] = None): method _set_claimfile (line 210) | def _set_claimfile(self): function make_lock (line 220) | def make_lock(lockfile, tmp_dir=None, friendly=False, hardlink_lock=Fals... FILE: dvc/log.py class LoggerWithTrace (line 5) | class LoggerWithTrace(logging.Logger): FILE: dvc/logger.py function add_logging_level (line 15) | def add_logging_level(level_name, level_num, method_name=None): class LoggingException (line 56) | class LoggingException(Exception): # noqa: N818 method __init__ (line 57) | def __init__(self, record): function exclude_filter (line 62) | def exclude_filter(level: int): class ColorFormatter (line 69) | class ColorFormatter(logging.Formatter): method __init__ (line 90) | def __init__(self, log_colors: bool = True, show_traceback: bool = Fal... method format (line 95) | def format(self, record) -> str: # noqa: C901 class LoggerHandler (line 135) | class LoggerHandler(logging.StreamHandler): method handleError (line 136) | def handleError(self, record): # noqa: N802 method emit_pretty_exception (line 140) | def emit_pretty_exception(self, exc, verbose: bool = False): method emit (line 143) | def emit(self, record): function _is_verbose (line 165) | def _is_verbose(): function _iter_causes (line 171) | def _iter_causes(exc): function set_loggers_level (line 178) | def set_loggers_level(level: int = logging.INFO) -> Iterator[None]: function setup (line 192) | def setup(level: int = logging.INFO, log_colors: bool = True) -> None: FILE: dvc/output.py function _get (line 83) | def _get(stage, path, **kwargs): function loadd_from (line 87) | def loadd_from(stage, d_list) -> list["Output"]: function loads_from (line 121) | def loads_from( function _split_dict (line 147) | def _split_dict(d, keys): function _merge_data (line 151) | def _merge_data(s_list): function load_from_pipeline (line 170) | def load_from_pipeline(stage, data, typ="outs"): function split_file_meta_from_cloud (line 200) | def split_file_meta_from_cloud(entry: dict) -> dict: function merge_file_meta_from_cloud (line 212) | def merge_file_meta_from_cloud(entry: dict) -> dict: function _serialize_tree_obj_to_files (line 220) | def _serialize_tree_obj_to_files(obj: Tree) -> list[dict[str, Any]]: function _serialize_hi_to_dict (line 235) | def _serialize_hi_to_dict(hash_info: Optional[HashInfo]) -> dict[str, Any]: class OutputDoesNotExistError (line 243) | class OutputDoesNotExistError(DvcException): method __init__ (line 244) | def __init__(self, path): class OutputIsNotFileOrDirError (line 249) | class OutputIsNotFileOrDirError(DvcException): method __init__ (line 250) | def __init__(self, path): class OutputAlreadyTrackedError (line 255) | class OutputAlreadyTrackedError(DvcException): method __init__ (line 256) | def __init__(self, path): class OutputIsStageFileError (line 265) | class OutputIsStageFileError(DvcException): method __init__ (line 266) | def __init__(self, path): class OutputIsIgnoredError (line 270) | class OutputIsIgnoredError(DvcException): method __init__ (line 271) | def __init__(self, result: "CheckIgnoreResult"): class CheckoutCallback (line 276) | class CheckoutCallback(TqdmCallback): class Output (line 281) | class Output: method __init__ (line 310) | def __init__( # noqa: PLR0913 method _compute_hash_info_from_meta (line 407) | def _compute_hash_info_from_meta( method _compute_meta_hash_info_from_files (line 425) | def _compute_meta_hash_info_from_files(self) -> None: method _parse_path (line 442) | def _parse_path(self, fs, fs_path): method __repr__ (line 460) | def __repr__(self): method __str__ (line 463) | def __str__(self): method clear (line 483) | def clear(self): method protocol (line 490) | def protocol(self): method is_in_repo (line 494) | def is_in_repo(self): method use_scm_ignore (line 504) | def use_scm_ignore(self): method cache (line 511) | def cache(self): method local_cache (line 520) | def local_cache(self): method cache_path (line 529) | def cache_path(self): method get_hash (line 534) | def get_hash(self): method _build (line 538) | def _build( method _get_hash_meta (line 552) | def _get_hash_meta(self): method get_meta (line 567) | def get_meta(self) -> Meta: method is_dir_checksum (line 572) | def is_dir_checksum(self): method _is_path_dvcignore (line 575) | def _is_path_dvcignore(self, path) -> bool: method exists (line 581) | def exists(self): method index_key (line 588) | def index_key(self) -> tuple[str, "DataIndexKey"]: method changed_checksum (line 599) | def changed_checksum(self): method changed_cache (line 602) | def changed_cache(self, filter_info=None): method changed_meta (line 616) | def changed_meta(self) -> bool: method workspace_status (line 621) | def workspace_status(self) -> dict[str, str]: method status (line 633) | def status(self) -> dict[str, str]: method changed (line 639) | def changed(self) -> bool: method dvcignore (line 645) | def dvcignore(self) -> Optional["DvcIgnoreFilter"]: method is_empty (line 652) | def is_empty(self) -> bool: method isdir (line 655) | def isdir(self) -> bool: method isfile (line 660) | def isfile(self) -> bool: method ignore (line 665) | def ignore(self) -> None: method ignore_remove (line 675) | def ignore_remove(self) -> None: method save (line 682) | def save(self) -> None: method update_legacy_hash_name (line 729) | def update_legacy_hash_name(self, force: bool = False): method set_exec (line 733) | def set_exec(self) -> None: method _checkout (line 737) | def _checkout(self, *args, **kwargs) -> Optional[bool]: method commit (line 752) | def commit(self, filter_info=None, relink=True) -> None: method _commit_granular_dir (line 802) | def _commit_granular_dir(self, filter_info, hardlink) -> Optional["Has... method dumpd (line 822) | def dumpd(self, **kwargs): # noqa: C901, PLR0912 method verify_metric (line 893) | def verify_metric(self): method get_obj (line 912) | def get_obj( method checkout (line 939) | def checkout( method remove (line 988) | def remove(self, ignore_remove=False): method move (line 999) | def move(self, out: "Output") -> None: method transfer (line 1018) | def transfer( method get_files_number (line 1066) | def get_files_number(self, filter_info=None): method unprotect (line 1079) | def unprotect(self): method get_dir_cache (line 1086) | def get_dir_cache(self, **kwargs) -> Optional["Tree"]: method _collect_used_dir_cache (line 1113) | def _collect_used_dir_cache( method get_used_objs (line 1148) | def get_used_objs( # noqa: PLR0911 method _named_obj_ids (line 1204) | def _named_obj_ids(self, obj): method _validate_output_path (line 1214) | def _validate_output_path(self, path, stage=None): method _check_can_merge (line 1227) | def _check_can_merge(self, out): method merge (line 1251) | def merge(self, ancestor, other, allowed=None): method unstage (line 1283) | def unstage(self, path: str) -> tuple["Meta", "Tree"]: method apply (line 1311) | def apply( method add (line 1362) | def add( # noqa: C901 method fspath (line 1452) | def fspath(self): method is_decorated (line 1456) | def is_decorated(self) -> bool: method is_metric (line 1460) | def is_metric(self) -> bool: method is_plot (line 1464) | def is_plot(self) -> bool: method restore_fields (line 1467) | def restore_fields(self, other: "Output"): method _get_versioned_meta (line 1473) | def _get_versioned_meta( method merge_version_meta (line 1485) | def merge_version_meta( method _merge_dir_version_meta (line 1501) | def _merge_dir_version_meta( FILE: dvc/parsing/__init__.py class ResolveError (line 61) | class ResolveError(DvcException): class EntryNotFound (line 65) | class EntryNotFound(DvcException): function _format_preamble (line 69) | def _format_preamble(msg: str, path: str, spacing: str = " ") -> str: function format_and_raise (line 73) | def format_and_raise(exc: Exception, msg: str, path: str) -> "NoReturn": function _reraise_err (line 84) | def _reraise_err( function check_syntax_errors (line 93) | def check_syntax_errors( function is_map_or_seq (line 103) | def is_map_or_seq(data: Any) -> bool: function split_group_name (line 108) | def split_group_name(name: str) -> tuple[str, Optional[str]]: function check_interpolations (line 113) | def check_interpolations(data: "DictStrAny", where: str, path: str): function make_definition (line 126) | def make_definition( class DataResolver (line 137) | class DataResolver: method __init__ (line 138) | def __init__(self, repo: "Repo", wdir: str, d: dict): method resolve_one (line 194) | def resolve_one(self, name: str): method resolve (line 211) | def resolve(self): method resolve_artifacts (line 220) | def resolve_artifacts(self) -> dict[str, Optional[dict[str, Any]]]: method resolve_datasets (line 226) | def resolve_datasets(self) -> list[dict[str, Any]]: method resolve_metrics (line 229) | def resolve_metrics(self) -> list[str]: method resolve_params (line 232) | def resolve_params(self) -> list[str]: method resolve_plots (line 235) | def resolve_plots(self) -> list[Any]: method has_key (line 238) | def has_key(self, key: str): method _has_group_and_key (line 241) | def _has_group_and_key(self, group: str, key: Optional[str] = None): method get_keys (line 252) | def get_keys(self): method track_vars (line 259) | def track_vars(self, name: str, vars_) -> None: class EntryDefinition (line 263) | class EntryDefinition: method __init__ (line 264) | def __init__( method _resolve_wdir (line 280) | def _resolve_wdir( method resolve (line 292) | def resolve(self, **kwargs): method resolve_stage (line 298) | def resolve_stage(self, skip_checks: bool = False) -> "DictStrAny": method _resolve (line 343) | def _resolve( class IterationPair (line 357) | class IterationPair(NamedTuple): class ForeachDefinition (line 362) | class ForeachDefinition: method __init__ (line 363) | def __init__( method template (line 385) | def template(self): method resolved_iterable (line 391) | def resolved_iterable(self): method _resolve_foreach_data (line 394) | def _resolve_foreach_data(self) -> "SeqOrMap": method _check_is_map_or_seq (line 409) | def _check_is_map_or_seq(self, iterable): method _warn_if_overwriting (line 418) | def _warn_if_overwriting(self, keys: list[str]): method _inserted_keys (line 432) | def _inserted_keys(self, iterable) -> list[str]: method normalized_iterable (line 439) | def normalized_iterable(self): method has_member (line 453) | def has_member(self, key: str) -> bool: method get_generated_names (line 456) | def get_generated_names(self): method _generate_name (line 459) | def _generate_name(self, key: str) -> str: method resolve_all (line 462) | def resolve_all(self) -> "DictStrAny": method resolve_one (line 465) | def resolve_one(self, key: str) -> "DictStrAny": method _each_iter (line 468) | def _each_iter(self, key: str) -> "DictStrAny": class MatrixDefinition (line 501) | class MatrixDefinition: method __init__ (line 502) | def __init__( method template (line 526) | def template(self) -> "DictStrAny": method resolved_iterable (line 532) | def resolved_iterable(self) -> dict[str, list]: method _resolve_matrix_data (line 535) | def _resolve_matrix_data(self) -> dict[str, list]: method _warn_if_overwriting (line 546) | def _warn_if_overwriting(self, keys: list[str]): method normalized_iterable (line 561) | def normalized_iterable(self) -> dict[str, "DictStrAny"]: method has_member (line 579) | def has_member(self, key: str) -> bool: method get_generated_names (line 582) | def get_generated_names(self) -> list[str]: method _generate_name (line 585) | def _generate_name(self, key: str) -> str: method resolve_all (line 588) | def resolve_all(self) -> "DictStrAny": method resolve_one (line 591) | def resolve_one(self, key: str) -> "DictStrAny": method _each_iter (line 594) | def _each_iter(self, key: str) -> "DictStrAny": class TopDefinition (line 619) | class TopDefinition: method __init__ (line 620) | def __init__( method resolve (line 635) | def resolve(self): class ArtifactDefinition (line 643) | class ArtifactDefinition(TopDefinition): method resolve (line 644) | def resolve(self) -> dict[str, Optional[dict[str, Any]]]: FILE: dvc/parsing/context.py class ContextError (line 28) | class ContextError(DvcException): class ReservedKeyError (line 32) | class ReservedKeyError(ContextError): method __init__ (line 33) | def __init__(self, keys, path=None): class MergeError (line 46) | class MergeError(ContextError): method __init__ (line 47) | def __init__(self, key, new, into): class ParamsLoadError (line 65) | class ParamsLoadError(ContextError): class KeyNotInContext (line 69) | class KeyNotInContext(ContextError, KeyError): # noqa: N818 method __init__ (line 70) | def __init__(self, key: str) -> None: method __str__ (line 74) | def __str__(self): class VarsAlreadyLoaded (line 78) | class VarsAlreadyLoaded(ContextError): # noqa: N818 function _merge (line 82) | def _merge(into, update, overwrite): function recurse_not_a_node (line 93) | def recurse_not_a_node(data: dict): class Meta (line 101) | class Meta: method update_path (line 107) | def update_path(meta: "Meta", path: Union[str, int]): method __str__ (line 111) | def __str__(self): method path (line 116) | def path(self): function _default_meta (line 120) | def _default_meta() -> Meta: class Node (line 124) | class Node: method get_sources (line 127) | def get_sources(self): method value (line 132) | def value(self): class Value (line 137) | class Value(Node): method __repr__ (line 141) | def __repr__(self): method __str__ (line 144) | def __str__(self) -> str: method get_sources (line 147) | def get_sources(self): method value (line 151) | def value(self): class Container (line 158) | class Container(Node, ABC): # noqa: PLW1641 method __init__ (line 163) | def __init__(self, meta=None) -> None: method _convert (line 166) | def _convert(self, key, value): method _convert_with_meta (line 171) | def _convert_with_meta(value, meta: Optional[Meta] = None): method __repr__ (line 185) | def __repr__(self): method __getitem__ (line 188) | def __getitem__(self, key): method __setitem__ (line 191) | def __setitem__(self, key, value): method __delitem__ (line 194) | def __delitem__(self, key): method __len__ (line 197) | def __len__(self): method __iter__ (line 200) | def __iter__(self): method __eq__ (line 203) | def __eq__(self, o): method select (line 209) | def select(self, key: str): method get_sources (line 228) | def get_sources(self): class CtxList (line 232) | class CtxList(Container, MutableSequence): method __init__ (line 235) | def __init__(self, values: Sequence, meta: Optional[Meta] = None): method insert (line 240) | def insert(self, index: int, value): method get_sources (line 243) | def get_sources(self): method value (line 247) | def value(self): method __deepcopy__ (line 250) | def __deepcopy__(self, _): class CtxDict (line 257) | class CtxDict(Container, MutableMapping): method __init__ (line 258) | def __init__( method __setitem__ (line 271) | def __setitem__(self, key, value): method merge_update (line 278) | def merge_update(self, other, overwrite=False): method value (line 282) | def value(self): method __deepcopy__ (line 285) | def __deepcopy__(self, _): class Context (line 294) | class Context(CtxDict): method __init__ (line 295) | def __init__(self, *args, **kwargs): method track (line 306) | def track(self): method _track_data (line 313) | def _track_data(self, node): method select (line 328) | def select(self, key: str, unwrap: bool = False): method load_from (line 351) | def load_from( method merge_update (line 380) | def merge_update(self, other: "Context", overwrite=False): method merge_from (line 386) | def merge_from(self, fs, item: str, wdir: str, overwrite=False): method check_loaded (line 409) | def check_loaded(self, path, item, keys): method load_from_vars (line 424) | def load_from_vars( method __deepcopy__ (line 450) | def __deepcopy__(self, _): method clone (line 458) | def clone(cls, ctx: "Context") -> "Context": method reserved (line 463) | def reserved(self, *keys: str): method set_temporarily (line 480) | def set_temporarily(self, to_set: DictStr, reserve: bool = False): method resolve (line 496) | def resolve( method resolve_str (line 520) | def resolve_str( FILE: dvc/parsing/interpolate.py function get_parser (line 37) | def get_parser(): class ParseError (line 51) | class ParseError(DvcException): function get_matches (line 55) | def get_matches(template: str): function is_interpolated_string (line 59) | def is_interpolated_string(val): function normalize_key (line 63) | def normalize_key(key: str): function format_and_raise_parse_error (line 67) | def format_and_raise_parse_error(exc) -> "NoReturn": function embrace (line 71) | def embrace(s: str): function escape_str (line 75) | def escape_str(value): function to_str (line 86) | def to_str(obj, config=None) -> str: # noqa: ARG001 function _ (line 91) | def _(obj: bool, config=None): # noqa: ARG001 function _ (line 96) | def _(obj: dict, config=None): # noqa: C901 function _format_exc_msg (line 128) | def _format_exc_msg(exc: "ParseException"): function recurse (line 150) | def recurse(f): function check_recursive_parse_errors (line 166) | def check_recursive_parse_errors(data): function check_expression (line 171) | def check_expression(s: str): function parse_expr (line 177) | def parse_expr(s: str): function get_expression (line 191) | def get_expression(match: "Match", skip_checks: bool = False): function validate_value (line 196) | def validate_value(value, key): function str_interpolate (line 208) | def str_interpolate( function is_exact_string (line 230) | def is_exact_string(src: str, matches: "list[Match]"): FILE: dvc/pathspec_math.py class PatternInfo (line 12) | class PatternInfo(NamedTuple): method __str__ (line 16) | def __str__(self) -> str: function _not_ignore (line 20) | def _not_ignore(rule): function _is_comment (line 24) | def _is_comment(rule): function _remove_slash (line 28) | def _remove_slash(rule): function _match_all_level (line 34) | def _match_all_level(rule): function change_rule (line 42) | def change_rule(rule, rel): function _change_dirname (line 60) | def _change_dirname(dirname, pattern_list, new_dirname): function merge_patterns (line 73) | def merge_patterns(flavour, pattern_a, prefix_a, pattern_b, prefix_b): FILE: dvc/progress.py class Tqdm (line 20) | class Tqdm(tqdm): method __init__ (line 44) | def __init__( method update_msg (line 105) | def update_msg(self, msg: str, n: int = 1) -> None: method set_msg (line 112) | def set_msg(self, msg: str) -> None: method update_to (line 115) | def update_to(self, current, total=None): method wrap_fn (line 120) | def wrap_fn(self, fn, callback=None): method close (line 135) | def close(self): method format_dict (line 144) | def format_dict(self): method as_callback (line 167) | def as_callback(self) -> "TqdmCallback": FILE: dvc/prompt.py function ask (line 12) | def ask(prompt: str, limited_to: Optional[Collection[str]] = None): function confirm (line 33) | def confirm(statement: str) -> bool: function password (line 47) | def password(statement: str) -> str: FILE: dvc/render/convert.py function _get_converter (line 8) | def _get_converter( function to_json (line 21) | def to_json(renderer, split: bool = False) -> list[dict]: FILE: dvc/render/converter/__init__.py class Converter (line 4) | class Converter: method __init__ (line 5) | def __init__( method convert (line 15) | def convert(self) -> tuple[list[tuple[str, str, Any]], dict]: method flat_datapoints (line 18) | def flat_datapoints(self, revision: str) -> tuple[list[dict], dict]: FILE: dvc/render/converter/image.py class ImageConverter (line 13) | class ImageConverter(Converter): method _write_image (line 15) | def _write_image( method _encode_image (line 31) | def _encode_image(image_data: bytes) -> str: method convert (line 35) | def convert(self) -> tuple[list[tuple[str, str, Any]], dict]: method flat_datapoints (line 41) | def flat_datapoints(self, revision: str) -> tuple[list[dict], dict]: FILE: dvc/render/converter/vega.py class FieldNotFoundError (line 13) | class FieldNotFoundError(DvcException): method __init__ (line 14) | def __init__(self, expected_field, found_fields): function _lists (line 22) | def _lists(blob: Union[dict, list]) -> Iterable[list]: function _file_field (line 33) | def _file_field(*args): function _find (line 44) | def _find(filename: str, field: str, data_series: list[tuple[str, str, A... function _verify_field (line 51) | def _verify_field(file2datapoints: dict[str, list], filename: str, field... function _get_xs (line 58) | def _get_xs(properties: dict, file2datapoints: dict[str, list[dict]]): function _get_ys (line 66) | def _get_ys(properties, file2datapoints: dict[str, list[dict]]): function _is_datapoints (line 74) | def _is_datapoints(lst: list[dict]): function get_datapoints (line 85) | def get_datapoints(file_content: dict): class VegaConverter (line 96) | class VegaConverter(Converter): method __init__ (line 104) | def __init__( method _infer_y_from_data (line 113) | def _infer_y_from_data(self): method _infer_x_y (line 122) | def _infer_x_y(self): method _find_datapoints (line 152) | def _find_datapoints(self): method infer_y_label (line 160) | def infer_y_label(properties): method infer_x_label (line 178) | def infer_x_label(properties): method flat_datapoints (line 192) | def flat_datapoints(self, revision): # noqa: C901, PLR0912 method convert (line 292) | def convert(self): function _get_short_y_file (line 309) | def _get_short_y_file(y_file, common_prefix_len): function _update_from_field (line 313) | def _update_from_field( function _update_from_index (line 333) | def _update_from_index(datapoints: list[dict], new_field: str): function _update_all (line 338) | def _update_all(datapoints: list[dict], update_dict: dict): FILE: dvc/render/match.py function _squash_plots_properties (line 23) | def _squash_plots_properties(data: list) -> dict: class PlotsData (line 31) | class PlotsData: method __init__ (line 32) | def __init__(self, data: dict): method group_definitions (line 35) | def group_definitions(self): method get_definition_data (line 43) | def get_definition_data(self, target_files, rev): class RendererWithErrors (line 62) | class RendererWithErrors(NamedTuple): function match_defs_renderers (line 68) | def match_defs_renderers( # noqa: C901, PLR0912 FILE: dvc/repo/__init__.py function lock_repo (line 38) | def lock_repo(repo: "Repo"): function locked (line 55) | def locked(f): class Repo (line 64) | class Repo: method _get_repo_dirs (line 102) | def _get_repo_dirs( method __init__ (line 135) | def __init__( # noqa: PLR0915, PLR0913 method __str__ (line 240) | def __str__(self): method config (line 244) | def config(self): method local_dvc_dir (line 257) | def local_dvc_dir(self) -> Optional[str]: method tmp_dir (line 281) | def tmp_dir(self): method index (line 288) | def index(self) -> "Index": method check_graph (line 293) | def check_graph( method open (line 303) | def open(url: Optional[str], *args, **kwargs) -> "Repo": method scm (line 309) | def scm(self) -> Union["Git", "NoSCM"]: method scm_context (line 326) | def scm_context(self) -> "SCMContext": method dvcignore (line 332) | def dvcignore(self) -> DvcIgnoreFilter: method get_rev (line 335) | def get_rev(self): method experiments (line 348) | def experiments(self) -> "Experiments": method fs (line 354) | def fs(self) -> "FileSystem": method fs (line 358) | def fs(self, fs: "FileSystem"): method data_index (line 365) | def data_index(self) -> "DataIndex": method drop_data_index (line 375) | def drop_data_index(self) -> None: method get_data_index_entry (line 385) | def get_data_index_entry( method __repr__ (line 405) | def __repr__(self): method find_root (line 409) | def find_root(cls, root=None, fs=None) -> str: method find_dvc_dir (line 438) | def find_dvc_dir(cls, root=None, fs=None) -> str: method init (line 446) | def init(root_dir=os.curdir, no_scm=False, force=False, subdir=False) ... method unprotect (line 451) | def unprotect(self, target): method _ignore (line 457) | def _ignore(self): method brancher (line 468) | def brancher(self, *args, **kwargs): method switch (line 473) | def switch(self, rev: str) -> AbstractContextManager[str]: method used_objs (line 478) | def used_objs( # noqa: PLR0913 method find_outs_by_path (line 548) | def find_outs_by_path( method is_dvc_internal (line 573) | def is_dvc_internal(self, path): method datafs (line 578) | def datafs(self) -> "DataFileSystem": method dvcfs (line 584) | def dvcfs(self) -> "DVCFileSystem": method _btime (line 590) | def _btime(self): method site_cache_dir (line 610) | def site_cache_dir(self) -> str: method close (line 656) | def close(self): method _reset (line 664) | def _reset(self): method __enter__ (line 676) | def __enter__(self): method __exit__ (line 679) | def __exit__(self, exc_type, exc_val, exc_tb): FILE: dvc/repo/add.py class StageInfo (line 25) | class StageInfo(NamedTuple): function find_targets (line 30) | def find_targets( function get_or_create_stage (line 46) | def get_or_create_stage( function translate_graph_error (line 94) | def translate_graph_error(stages: list["Stage"]) -> Iterator[None]: function progress_iter (line 119) | def progress_iter(stages: dict[str, StageInfo]) -> Iterator[tuple[str, S... function warn_link_failures (line 146) | def warn_link_failures() -> Iterator[list[str]]: function _add_transfer (line 159) | def _add_transfer( function _add (line 174) | def _add( function add (line 192) | def add( FILE: dvc/repo/artifacts.py function check_name_format (line 29) | def check_name_format(name: str) -> None: function name_is_compatible (line 41) | def name_is_compatible(name: str) -> bool: function check_for_nested_dvc_repo (line 56) | def check_for_nested_dvc_repo(dvcfile: Path): function _reformat_name (line 70) | def _reformat_name(name: str) -> str: class Artifacts (line 86) | class Artifacts: method __init__ (line 87) | def __init__(self, repo: "Repo") -> None: method scm (line 91) | def scm(self) -> Optional["Git"]: method read (line 98) | def read(self) -> dict[str, dict[str, Artifact]]: method add (line 112) | def add(self, name: str, artifact: Artifact, dvcfile: Optional[str] = ... method get_rev (line 131) | def get_rev( method parse_path (line 149) | def parse_path(cls, name: str) -> tuple[Optional[str], str]: method get_path (line 162) | def get_path(self, name: str): method download (line 191) | def download( method _download_studio (line 227) | def _download_studio( method get (line 286) | def get( FILE: dvc/repo/brancher.py function brancher (line 17) | def brancher( function _switch_fs (line 113) | def _switch_fs( function switch (line 144) | def switch(repo: "Repo", rev: str) -> Iterator[str]: FILE: dvc/repo/cache.py function check_missing (line 4) | def check_missing(repo, rev=None, max_size=None, types=None): FILE: dvc/repo/checkout.py function _fspath_dir (line 26) | def _fspath_dir(path): function _remove_unused_links (line 34) | def _remove_unused_links(repo): function _build_out_changes (line 42) | def _build_out_changes( function _check_can_delete (line 82) | def _check_can_delete( function checkout (line 110) | def checkout( # noqa: C901 FILE: dvc/repo/collect.py function _collect_outs (line 18) | def _collect_outs( function _collect_paths (line 26) | def _collect_paths( function _filter_outs (line 45) | def _filter_outs( function collect (line 62) | def collect( FILE: dvc/repo/commit.py function _prepare_message (line 14) | def _prepare_message(stage, changes): function prompt_to_commit (line 36) | def prompt_to_commit(stage, changes, force=False): function commit (line 46) | def commit( function commit_2_to_3 (line 92) | def commit_2_to_3(repo: "Repo", dry: bool = False): function _migrateable_dvcfiles (line 135) | def _migrateable_dvcfiles(view: "IndexView") -> set[str]: FILE: dvc/repo/data.py function posixpath_to_os_path (line 28) | def posixpath_to_os_path(path: str) -> str: function _adapt_path (line 32) | def _adapt_path(change: "Change") -> str: function _adapt_path_from_entry (line 44) | def _adapt_path_from_entry(entry: "DataIndexEntry") -> str: function _get_missing_paths (line 52) | def _get_missing_paths( class StorageCallback (line 73) | class StorageCallback(Callback): method __init__ (line 74) | def __init__(self, parent_cb: Callback) -> None: method set_size (line 78) | def set_size(self, size: int) -> None: method relative_update (line 82) | def relative_update(self, value: int = 1) -> None: method absolute_update (line 85) | def absolute_update(self, value: int) -> None: class Rename (line 89) | class Rename(TypedDict): class DiffResult (line 94) | class DiffResult(TypedDict, total=False): function _diff (line 104) | def _diff( class GitInfo (line 212) | class GitInfo(TypedDict, total=False): function _git_info (line 220) | def _git_info(scm: Union["Git", "NoSCM"], untracked_files: str = "all") ... function filter_index (line 248) | def filter_index( function _diff_index_to_wtree (line 284) | def _diff_index_to_wtree( function _diff_head_to_index (line 321) | def _diff_head_to_index( class Status (line 359) | class Status(TypedDict): function _transform_git_paths_to_dvc (line 369) | def _transform_git_paths_to_dvc(repo: "Repo", files: Iterable[str]) -> l... function iter_index (line 388) | def iter_index( function _get_entries_not_in_remote (line 408) | def _get_entries_not_in_remote( function _matches_target (line 474) | def _matches_target(p: str, targets: Iterable[str]) -> bool: function _prune_keys (line 479) | def _prune_keys(filter_keys: Iterable["DataIndexKey"]) -> list["DataInde... function status (line 489) | def status( # noqa: PLR0913 FILE: dvc/repo/datasets.py function _get_dataset_record (line 28) | def _get_dataset_record(name: str) -> "DatasetRecord": function _get_dataset_info (line 41) | def _get_dataset_info( function default_str (line 51) | def default_str(v) -> str: function to_datetime (line 55) | def to_datetime(d: Union[str, datetime]) -> datetime: function ensure (line 59) | def ensure(cls): class SerDe (line 66) | class SerDe: method to_dict (line 67) | def to_dict(self: AttrsInstance) -> dict[str, Any]: method from_dict (line 79) | def from_dict(cls, d: dict[str, Any]) -> "Self": class DatasetSpec (line 86) | class DatasetSpec(SerDe): class DVCDatasetSpec (line 93) | class DVCDatasetSpec(DatasetSpec): class FileInfo (line 100) | class FileInfo(SerDe): class DVCDatasetLock (line 106) | class DVCDatasetLock(DVCDatasetSpec): class DatachainDatasetLock (line 111) | class DatachainDatasetLock(DatasetSpec): class URLDatasetLock (line 117) | class URLDatasetLock(DatasetSpec): function to_spec (line 126) | def to_spec(lock: "Lock") -> "Spec": class DVCDataset (line 132) | class DVCDataset: method update (line 140) | def update(self, repo, rev: Optional[str] = None, **kwargs) -> "Self": class DatachainDataset (line 163) | class DatachainDataset: method pinned (line 172) | def pinned(self) -> bool: method name_version (line 176) | def name_version(self) -> tuple[str, Optional[int]]: method update (line 186) | def update( class URLDataset (line 205) | class URLDataset: method update (line 213) | def update(self, repo, **kwargs): class DatasetNotFoundError (line 234) | class DatasetNotFoundError(DvcException, KeyError): method __init__ (line 235) | def __init__(self, name, *args): method __str__ (line 239) | def __str__(self) -> str: class Datasets (line 243) | class Datasets(Mapping[str, Dataset]): method __init__ (line 244) | def __init__(self, repo: "Repo") -> None: method __repr__ (line 247) | def __repr__(self): method __rich_repr__ (line 250) | def __rich_repr__(self): method __getitem__ (line 253) | def __getitem__(self, name: str) -> Dataset: method __setitem__ (line 259) | def __setitem__(self, name: str, dataset: Dataset) -> None: method __contains__ (line 262) | def __contains__(self, name: object) -> bool: method __iter__ (line 265) | def __iter__(self) -> Iterator[str]: method __len__ (line 268) | def __len__(self) -> int: method _spec (line 272) | def _spec(self) -> dict[str, tuple[str, dict[str, Any]]]: method _lock (line 280) | def _lock(self) -> dict[str, Optional[dict[str, Any]]]: method _datasets (line 292) | def _datasets(self) -> dict[str, Dataset]: method _reset (line 298) | def _reset(self) -> None: method _spec_from_info (line 304) | def _spec_from_info(spec: dict[str, Any]) -> Spec: method _lock_from_info (line 315) | def _lock_from_info(lock: Optional[dict[str, Any]]) -> Optional[Lock]: method _build_dataset (line 322) | def _build_dataset( method add (line 369) | def add( method update (line 386) | def update(self, name, **kwargs) -> tuple[Dataset, Dataset]: method _dump_spec (line 409) | def _dump_spec(self, manifest_path: StrPath, spec: Spec) -> None: method _dump_lock (line 415) | def _dump_lock(self, manifest_path: StrPath, lock: Lock) -> None: method dump (line 421) | def dump(self, dataset: Dataset, old: Optional[Dataset] = None) -> None: FILE: dvc/repo/destroy.py function _destroy_stages (line 8) | def _destroy_stages(repo): function destroy (line 16) | def destroy(repo): FILE: dvc/repo/diff.py function _path (line 13) | def _path(entry): function _hash (line 19) | def _hash(entry): function _diff (line 25) | def _diff(old, new, data_keys, with_missing=False): function diff (line 95) | def diff( FILE: dvc/repo/du.py function du (line 4) | def du( FILE: dvc/repo/experiments/__init__.py class Experiments (line 43) | class Experiments: method __init__ (line 52) | def __init__(self, repo): method scm (line 61) | def scm(self): method dvc_dir (line 70) | def dvc_dir(self) -> str: method args_file (line 74) | def args_file(self) -> str: method workspace_queue (line 80) | def workspace_queue(self) -> "WorkspaceQueue": method tempdir_queue (line 86) | def tempdir_queue(self) -> "TempDirQueue": method celery_queue (line 94) | def celery_queue(self) -> "LocalCeleryQueue": method apply_stash (line 100) | def apply_stash(self) -> ApplyStash: method cache (line 104) | def cache(self) -> ExpCache: method stash_revs (line 108) | def stash_revs(self) -> dict[str, "ExpStashEntry"]: method reproduce_one (line 114) | def reproduce_one( method queue_one (line 134) | def queue_one(self, queue: "BaseStashQueue", **kwargs) -> "QueueEntry": method reproduce_celery (line 138) | def reproduce_celery( method _log_reproduced (line 186) | def _log_reproduced(self, revs: Iterable[str], tmp_dir: bool = False): method new (line 202) | def new(self, queue: "BaseStashQueue", *args, **kwargs) -> "QueueEntry": method _get_last_applied (line 220) | def _get_last_applied(self) -> Optional[str]: method _reproduce_queue (line 233) | def _reproduce_queue( method check_baseline (line 256) | def check_baseline(self, exp_rev): method get_baseline (line 271) | def get_baseline(self, rev): method _get_baseline (line 275) | def _get_baseline(self, rev): method get_branch_by_rev (line 291) | def get_branch_by_rev( method get_exact_name (line 305) | def get_exact_name(self, revs: Iterable[str]) -> dict[str, Optional[st... method apply (line 331) | def apply(self, *args, **kwargs): method branch (line 336) | def branch(self, *args, **kwargs): method diff (line 341) | def diff(self, *args, **kwargs): method show (line 346) | def show(self, *args, **kwargs): method run (line 351) | def run(self, *args, **kwargs): method save (line 356) | def save(self, *args, **kwargs): method push (line 361) | def push(self, *args, **kwargs): method pull (line 366) | def pull(self, *args, **kwargs): method ls (line 371) | def ls(self, *args, **kwargs): method remove (line 376) | def remove(self, *args, **kwargs): method rename (line 381) | def rename(self, *args, **kwargs): method clean (line 386) | def clean(self, *args, **kwargs): FILE: dvc/repo/experiments/apply.py function apply (line 24) | def apply(repo: "Repo", rev: str, **kwargs): function _apply (line 59) | def _apply(repo: "Repo", rev: str, name: Optional[str] = None, is_stash:... FILE: dvc/repo/experiments/branch.py function branch (line 15) | def branch(repo, exp_rev, branch_name=None, **kwargs): FILE: dvc/repo/experiments/brancher.py function switch_repo (line 13) | def switch_repo(repo: "Repo", rev: str) -> Iterator[tuple["Repo", str]]: FILE: dvc/repo/experiments/cache.py class ExpCache (line 17) | class ExpCache: method __init__ (line 26) | def __init__(self, repo: "Repo"): method delete (line 30) | def delete(self, rev: str): method put (line 33) | def put( method get (line 50) | def get(self, rev: str) -> Optional[Union[SerializableExp, Serializabl... FILE: dvc/repo/experiments/clean.py function clean (line 9) | def clean(repo: "Repo"): FILE: dvc/repo/experiments/collect.py function collect_rev (line 27) | def collect_rev( function _collect_rev (line 70) | def _collect_rev( function collect_branch (line 91) | def collect_branch( function collect_exec_branch (line 113) | def collect_exec_branch( function collect_queued (line 126) | def collect_queued( function collect_active (line 161) | def collect_active( function collect_failed (line 190) | def collect_failed( function collect_successful (line 209) | def collect_successful( function _collect_baseline (line 229) | def _collect_baseline( function collect (line 268) | def collect( function _sorted_ranges (line 337) | def _sorted_ranges(exp_ranges: Iterable["ExpRange"]) -> list["ExpRange"]: FILE: dvc/repo/experiments/diff.py function diff (line 8) | def diff(repo, *args, a_rev=None, b_rev=None, param_deps=False, **kwargs): FILE: dvc/repo/experiments/exceptions.py class BaselineMismatchError (line 10) | class BaselineMismatchError(DvcException): method __init__ (line 11) | def __init__(self, rev, expected): class ExperimentExistsError (line 22) | class ExperimentExistsError(DvcException): method __init__ (line 23) | def __init__(self, name: str, command: str = "run"): class InvalidExpRefError (line 33) | class InvalidExpRefError(DvcException): method __init__ (line 34) | def __init__(self, ref): class InvalidExpRevError (line 39) | class InvalidExpRevError(InvalidArgumentError): method __init__ (line 40) | def __init__(self, rev): class MultipleBranchError (line 44) | class MultipleBranchError(DvcException): method __init__ (line 45) | def __init__(self, rev, ref_infos): class AmbiguousExpRefInfo (line 53) | class AmbiguousExpRefInfo(InvalidArgumentError): # noqa: N818 method __init__ (line 54) | def __init__(self, exp_name: str, exp_ref_list: Iterable["ExpRefInfo"]): class UnresolvedExpNamesError (line 66) | class UnresolvedExpNamesError(InvalidArgumentError): method __init__ (line 69) | def __init__( class UnresolvedQueueExpNamesError (line 87) | class UnresolvedQueueExpNamesError(UnresolvedExpNamesError): class UnresolvedRunningExpNamesError (line 91) | class UnresolvedRunningExpNamesError(UnresolvedExpNamesError): class ExpQueueEmptyError (line 95) | class ExpQueueEmptyError(DvcException): class ExpNotStartedError (line 99) | class ExpNotStartedError(DvcException): method __init__ (line 100) | def __init__(self, name: str): FILE: dvc/repo/experiments/executor/base.py class ExecutorResult (line 47) | class ExecutorResult(NamedTuple): class TaskStatus (line 53) | class TaskStatus(IntEnum): class ExecutorInfo (line 64) | class ExecutorInfo: method from_dict (line 78) | def from_dict(cls, d): method asdict (line 83) | def asdict(self): method result (line 87) | def result(self) -> Optional["ExecutorResult"]: method dump_json (line 96) | def dump_json(self, filename: str): method load_json (line 104) | def load_json(cls, filename: str) -> "ExecutorInfo": class BaseExecutor (line 110) | class BaseExecutor(ABC): method __init__ (line 127) | def __init__( method init_git (line 149) | def init_git( method git_url (line 164) | def git_url(self) -> str: method init_cache (line 168) | def init_cache(self, repo: "Repo", rev: str, run_cache: bool = True): method collect_cache (line 172) | def collect_cache( method info (line 178) | def info(self) -> "ExecutorInfo": method from_info (line 202) | def from_info(cls, info: "ExecutorInfo") -> "Self": method from_stash_entry (line 223) | def from_stash_entry( method _from_stash_entry (line 232) | def _from_stash_entry( method _get_top_level_paths (line 250) | def _get_top_level_paths(cls, repo: "Repo") -> list["str"]: method save (line 260) | def save( method hash_exp (line 340) | def hash_exp(stages: Iterable["PipelineStage"]) -> str: method cleanup (line 349) | def cleanup(self, infofile: Optional[str] = None): method pack_repro_args (line 358) | def pack_repro_args(path, *args, fs=None, extra=None, **kwargs): method unpack_repro_args (line 374) | def unpack_repro_args(path): method fetch_exps (line 379) | def fetch_exps( method _validate_remotes (line 427) | def _validate_remotes(cls, dvc: "Repo", git_remote: Optional[str]): method reproduce (line 449) | def reproduce( method _repro_and_track (line 542) | def _repro_and_track(stage: "Stage", **kwargs) -> Optional["Stage"]: method _repro_commit (line 553) | def _repro_commit( method _repro_dvc (line 588) | def _repro_dvc( method _repro_args (line 669) | def _repro_args(cls, dvc): method auto_push (line 683) | def auto_push(cls, dvc: "Repo") -> Iterator[None]: method _auto_push (line 704) | def _auto_push( method commit (line 739) | def commit( method _raise_ref_conflict (line 788) | def _raise_ref_conflict(scm, ref, new_rev): method _set_log_level (line 798) | def _set_log_level(level: Optional[int]) -> AbstractContextManager[None]: method _copy_path (line 804) | def _copy_path(src, dst): method set_temp_refs (line 818) | def set_temp_refs(self, scm: "Git", temp_dict: dict[str, str]): FILE: dvc/repo/experiments/executor/local.py class BaseLocalExecutor (line 36) | class BaseLocalExecutor(BaseExecutor): method git_url (line 40) | def git_url(self) -> str: method scm (line 47) | def scm(self) -> Union["Git", "NoSCM"]: method cleanup (line 50) | def cleanup(self, infofile: Optional[str] = None): method collect_cache (line 55) | def collect_cache( class TempDirExecutor (line 61) | class TempDirExecutor(BaseLocalExecutor): method init_git (line 71) | def init_git( method _update_config (line 137) | def _update_config(self, update): method _update_git_config (line 149) | def _update_git_config(self, update): method init_cache (line 161) | def init_cache( method cleanup (line 170) | def cleanup(self, infofile: Optional[str] = None): method from_stash_entry (line 176) | def from_stash_entry( class WorkspaceExecutor (line 196) | class WorkspaceExecutor(BaseLocalExecutor): method __init__ (line 197) | def __init__(self, *args, **kwargs): method from_stash_entry (line 202) | def from_stash_entry(cls, repo: "Repo", entry: "ExpStashEntry", **kwar... method init_git (line 211) | def init_git( method init_cache (line 244) | def init_cache(self, repo: "Repo", rev: str, run_cache: bool = True): method cleanup (line 247) | def cleanup(self, infofile: Optional[str] = None): FILE: dvc/repo/experiments/ls.py function ls (line 16) | def ls( FILE: dvc/repo/experiments/pull.py function pull (line 22) | def pull( # noqa: C901 function _pull (line 80) | def _pull( function _pull_cache (line 105) | def _pull_cache( FILE: dvc/repo/experiments/push.py class UploadError (line 26) | class UploadError(DvcException): method __init__ (line 27) | def __init__(self, msg, result): function notify_refs_to_studio (line 32) | def notify_refs_to_studio( function exp_refs_from_names (line 61) | def exp_refs_from_names(scm: "Git", exp_names: list[str]) -> set["ExpRef... function exp_refs_from_rev (line 76) | def exp_refs_from_rev(scm: "Git", rev: list[str], num: int = 1) -> set["... function push (line 88) | def push( function _push (line 138) | def _push( function _push_cache (line 170) | def _push_cache( FILE: dvc/repo/experiments/queue/base.py class QueueEntry (line 41) | class QueueEntry: # noqa: PLW1641 method __eq__ (line 51) | def __eq__(self, other: object): method asdict (line 60) | def asdict(self) -> dict[str, Any]: method from_dict (line 64) | def from_dict(cls, d: dict[str, Any]) -> "QueueEntry": class QueueGetResult (line 68) | class QueueGetResult(NamedTuple): class QueueDoneResult (line 73) | class QueueDoneResult(NamedTuple): class ExpRefAndQueueEntry (line 78) | class ExpRefAndQueueEntry(NamedTuple): class BaseStashQueue (line 83) | class BaseStashQueue(ABC): method __init__ (line 89) | def __init__(self, repo: "Repo", ref: str, failed_ref: Optional[str] =... method scm (line 103) | def scm(self) -> "Git": method stash (line 110) | def stash(self) -> ExpStash: method failed_stash (line 114) | def failed_stash(self) -> Optional[ExpStash]: method pid_dir (line 118) | def pid_dir(self) -> str: method args_file (line 123) | def args_file(self) -> str: method put (line 128) | def put(self, *args, **kwargs) -> QueueEntry: method get (line 132) | def get(self) -> QueueGetResult: method remove (line 135) | def remove( method clear (line 167) | def clear(self, **kwargs) -> list[str]: method status (line 175) | def status(self) -> list[dict[str, Any]]: method iter_queued (line 221) | def iter_queued(self) -> Generator[QueueEntry, None, None]: method iter_active (line 225) | def iter_active(self) -> Generator[QueueEntry, None, None]: method iter_done (line 229) | def iter_done(self) -> Generator[QueueDoneResult, None, None]: method iter_success (line 233) | def iter_success(self) -> Generator[QueueDoneResult, None, None]: method iter_failed (line 237) | def iter_failed(self) -> Generator[QueueDoneResult, None, None]: method reproduce (line 241) | def reproduce( method get_result (line 247) | def get_result(self, entry: QueueEntry) -> Optional["ExecutorResult"]: method kill (line 254) | def kill(self, revs: str) -> None: method shutdown (line 262) | def shutdown(self, kill: bool = False): method logs (line 272) | def logs(self, rev: str, encoding: Optional[str] = None, follow: bool ... method _stash_exp (line 283) | def _stash_exp( method _stash_commit_deps (line 376) | def _stash_commit_deps(self, *args, **kwargs): method _stash_msg (line 397) | def _stash_msg( method _pack_args (line 410) | def _pack_args(self, *args, **kwargs) -> None: method _format_new_params_msg (line 436) | def _format_new_params_msg(new_params, config_path): method _update_params (line 446) | def _update_params(self, params: dict[str, list[str]], no_hydra: bool ... method get_stash_entry (line 495) | def get_stash_entry(exp: "Experiments", queue_entry: QueueEntry) -> "E... method init_executor (line 508) | def init_executor( method get_infofile_path (line 534) | def get_infofile_path(self, name: str) -> str: method collect_git (line 543) | def collect_git( method collect_executor (line 572) | def collect_executor( method match_queue_entry_by_name (line 585) | def match_queue_entry_by_name( method stash_failed (line 622) | def stash_failed(self, entry: QueueEntry) -> None: method collect_active_data (line 645) | def collect_active_data( method collect_queued_data (line 665) | def collect_queued_data( method collect_failed_data (line 682) | def collect_failed_data( method active_repo (line 698) | def active_repo(self, name: str) -> "Repo": FILE: dvc/repo/experiments/queue/celery.py class _MessageEntry (line 46) | class _MessageEntry(NamedTuple): class _TaskEntry (line 51) | class _TaskEntry(NamedTuple): class LocalCeleryQueue (line 56) | class LocalCeleryQueue(BaseStashQueue): method wdir (line 65) | def wdir(self) -> str: method celery (line 70) | def celery(self) -> "FSApp": method proc (line 88) | def proc(self) -> "ProcessManager": method worker (line 94) | def worker(self) -> "TemporaryWorker": method _spawn_worker (line 120) | def _spawn_worker(self, num: int = 1): method start_workers (line 146) | def start_workers(self, count: int) -> int: method put (line 171) | def put( method get (line 188) | def get(self) -> "QueueGetResult": method iter_queued (line 191) | def iter_queued(self) -> Generator[QueueEntry, None, None]: method _iter_queued (line 195) | def _iter_queued(self) -> Generator[_MessageEntry, None, None]: method _iter_processed (line 204) | def _iter_processed(self) -> Generator[_MessageEntry, None, None]: method _iter_active_tasks (line 212) | def _iter_active_tasks(self) -> Generator[_TaskEntry, None, None]: method _iter_done_tasks (line 220) | def _iter_done_tasks(self) -> Generator[_TaskEntry, None, None]: method iter_active (line 228) | def iter_active(self) -> Generator[QueueEntry, None, None]: method iter_done (line 232) | def iter_done(self) -> Generator[QueueDoneResult, None, None]: method iter_success (line 245) | def iter_success(self) -> Generator[QueueDoneResult, None, None]: method iter_failed (line 250) | def iter_failed(self) -> Generator[QueueDoneResult, None, None]: method reproduce (line 255) | def reproduce( method _load_info (line 260) | def _load_info(self, rev: str) -> ExecutorInfo: method _get_done_result (line 264) | def _get_done_result( method get_result (line 285) | def get_result( method wait (line 302) | def wait(self, revs: Collection[str], **kwargs) -> None: method wait_for_start (line 317) | def wait_for_start(self, entry: QueueEntry, sleep_interval: float = 0.... method _get_running_task_ids (line 324) | def _get_running_task_ids(self) -> set[str]: method _try_to_kill_tasks (line 333) | def _try_to_kill_tasks( method _mark_inactive_tasks_failure (line 348) | def _mark_inactive_tasks_failure( method _kill_entries (line 374) | def _kill_entries(self, entries: dict[QueueEntry, str], force: bool) -... method kill (line 383) | def kill(self, revs: Collection[str], force: bool = False) -> None: method shutdown (line 402) | def shutdown(self, kill: bool = False): method follow (line 411) | def follow(self, entry: QueueEntry, encoding: Optional[str] = None): method logs (line 415) | def logs(self, rev: str, encoding: Optional[str] = None, follow: bool ... method worker_status (line 450) | def worker_status(self) -> dict[str, list[dict]]: method clear (line 456) | def clear(self, *args, **kwargs): method remove (line 461) | def remove(self, *args, **kwargs): method get_ref_and_entry_by_names (line 466) | def get_ref_and_entry_by_names( method collect_active_data (line 494) | def collect_active_data( method collect_queued_data (line 546) | def collect_queued_data( method collect_failed_data (line 574) | def collect_failed_data( method collect_success_executors (line 613) | def collect_success_executors( FILE: dvc/repo/experiments/queue/exceptions.py class CannotKillTasksError (line 6) | class CannotKillTasksError(DvcException): method __init__ (line 7) | def __init__(self, revs: Collection[str]): FILE: dvc/repo/experiments/queue/remove.py function remove_tasks (line 13) | def remove_tasks( # noqa: C901, PLR0912 function _get_names (line 61) | def _get_names(entries: Iterable[Union["QueueEntry", "QueueDoneResult"]]): function celery_clear (line 75) | def celery_clear( function celery_remove (line 112) | def celery_remove(self: "LocalCeleryQueue", revs: Collection[str]) -> li... FILE: dvc/repo/experiments/queue/tasks.py function setup_exp (line 19) | def setup_exp(entry_dict: dict[str, Any]) -> "BaseExecutor": function collect_exp (line 46) | def collect_exp( function cleanup_exp (line 83) | def cleanup_exp(executor: TempDirExecutor, infofile: str) -> None: function run_exp (line 94) | def run_exp( FILE: dvc/repo/experiments/queue/tempdir.py class TempDirQueue (line 32) | class TempDirQueue(WorkspaceQueue): method _standalone_tmp_dir (line 38) | def _standalone_tmp_dir(self) -> str: method pid_dir (line 43) | def pid_dir(self) -> str: method proc (line 47) | def proc(self) -> "ProcessManager": method get (line 52) | def get(self) -> QueueGetResult: method iter_active (line 75) | def iter_active(self) -> Generator[QueueEntry, None, None]: method _reproduce_entry (line 96) | def _reproduce_entry( method collect_executor (line 135) | def collect_executor( method collect_active_data (line 142) | def collect_active_data( FILE: dvc/repo/experiments/queue/utils.py function get_remote_executor_refs (line 19) | def get_remote_executor_refs(scm: "Git", remote_url: str) -> list[str]: function fetch_running_exp_from_temp_dir (line 32) | def fetch_running_exp_from_temp_dir( FILE: dvc/repo/experiments/queue/workspace.py class WorkspaceQueue (line 32) | class WorkspaceQueue(BaseStashQueue): method put (line 35) | def put(self, *args, **kwargs) -> QueueEntry: method get (line 40) | def get(self) -> QueueGetResult: method iter_queued (line 58) | def iter_queued(self) -> Generator[QueueEntry, None, None]: method iter_active (line 71) | def iter_active(self) -> Generator[QueueEntry, None, None]: method iter_done (line 76) | def iter_done(self) -> Generator["QueueDoneResult", None, None]: method iter_failed (line 79) | def iter_failed(self) -> Generator["QueueDoneResult", None, None]: method iter_success (line 82) | def iter_success(self) -> Generator["QueueDoneResult", None, None]: method reproduce (line 85) | def reproduce( method _reproduce_entry (line 101) | def _reproduce_entry( method _proc_info_path (line 141) | def _proc_info_path(self, name: str) -> str: method _active_pid (line 145) | def _active_pid(self) -> Optional[int]: method collect_executor (line 162) | def collect_executor( method get_result (line 176) | def get_result(self, entry: QueueEntry) -> Optional["ExecutorResult"]: method kill (line 179) | def kill(self, revs: Collection[str]) -> None: method shutdown (line 182) | def shutdown(self, kill: bool = False): method logs (line 185) | def logs(self, rev: str, encoding: Optional[str] = None, follow: bool ... method get_running_exp (line 188) | def get_running_exp(self) -> Optional[str]: method collect_active_data (line 201) | def collect_active_data( method collect_queued_data (line 243) | def collect_queued_data( method collect_failed_data (line 250) | def collect_failed_data( FILE: dvc/repo/experiments/refs.py class ExpRefInfo (line 32) | class ExpRefInfo: method __init__ (line 35) | def __init__(self, baseline_sha: str, name: Optional[str] = None): method __str__ (line 39) | def __str__(self): method __repr__ (line 42) | def __repr__(self): method parts (line 48) | def parts(self): method from_ref (line 56) | def from_ref(cls, ref: str): method __eq__ (line 71) | def __eq__(self, other): method __hash__ (line 77) | def __hash__(self): FILE: dvc/repo/experiments/remove.py function remove (line 25) | def remove( # noqa: C901, PLR0912 function _resolve_exp_by_baseline (line 101) | def _resolve_exp_by_baseline( function _remove_commited_exps (line 119) | def _remove_commited_exps( FILE: dvc/repo/experiments/rename.py function rename (line 19) | def rename( function _rename_exp (line 56) | def _rename_exp(scm: "Git", ref_info: "ExpRefInfo", new_name: str): FILE: dvc/repo/experiments/run.py function run (line 15) | def run( # noqa: C901, PLR0912 FILE: dvc/repo/experiments/save.py function save (line 16) | def save( FILE: dvc/repo/experiments/serialize.py class DeserializeError (line 17) | class DeserializeError(DvcException): class _ISOEncoder (line 21) | class _ISOEncoder(json.JSONEncoder): method default (line 22) | def default(self, o: object) -> Any: class SerializableExp (line 29) | class SerializableExp: method from_repo (line 41) | def from_repo( method dumpd (line 95) | def dumpd(self) -> dict[str, Any]: method as_bytes (line 98) | def as_bytes(self) -> bytes: method from_bytes (line 102) | def from_bytes(cls, data: bytes): method contains_error (line 116) | def contains_error(self) -> bool: class ExpDep (line 123) | class ExpDep: class ExpOut (line 130) | class ExpOut: class SerializableError (line 139) | class SerializableError: method dumpd (line 143) | def dumpd(self) -> dict[str, Any]: method as_bytes (line 146) | def as_bytes(self) -> bytes: method from_bytes (line 150) | def from_bytes(cls, data: bytes): class ExpState (line 159) | class ExpState: method dumpd (line 168) | def dumpd(self) -> dict[str, Any]: class ExpRange (line 173) | class ExpRange: method __len__ (line 178) | def __len__(self) -> int: method __iter__ (line 181) | def __iter__(self) -> Iterator["ExpState"]: method __getitem__ (line 184) | def __getitem__(self, index: int) -> "ExpState": method dumpd (line 187) | def dumpd(self) -> dict[str, Any]: class LocalExpExecutor (line 192) | class LocalExpExecutor: class ExpExecutor (line 201) | class ExpExecutor: FILE: dvc/repo/experiments/show.py function show (line 24) | def show( function tabulate (line 52) | def tabulate( function _build_rows (line 112) | def _build_rows( function _sort_column (line 165) | def _sort_column( # noqa: C901 function _sort_exp (line 203) | def _sort_exp( function _exp_range_rows (line 223) | def _exp_range_rows( function _data_cells (line 254) | def _data_cells( function format_time (line 301) | def format_time( class _DataNames (line 318) | class _DataNames(NamedTuple): method sorted_deps (line 326) | def sorted_deps(self): method update (line 329) | def update(self, other: "_DataNames"): function _collect_names (line 344) | def _collect_names(exp_states: Iterable["ExpState"]) -> _DataNames: function _normalize_headers (line 366) | def _normalize_headers( FILE: dvc/repo/experiments/stash.py class ExpStashEntry (line 18) | class ExpStashEntry(NamedTuple): class ExpStash (line 36) | class ExpStash(Stash): method stash_revs (line 46) | def stash_revs(self) -> dict[str, ExpStashEntry]: method format_message (line 62) | def format_message( method remove_revs (line 75) | def remove_revs(self, stash_revs: Iterable[ExpStashEntry]): class ApplyStashEntry (line 88) | class ApplyStashEntry(NamedTuple): class ApplyStash (line 104) | class ApplyStash(Stash): method stash_revs (line 114) | def stash_revs(self) -> dict[str, ApplyStashEntry]: method format_message (line 126) | def format_message(cls, head_rev: str, rev: str, name: Optional[str] =... method preserve_workspace (line 132) | def preserve_workspace( method _apply_difference (line 150) | def _apply_difference(self, stash_rev: str, rev: str): method _copy_difference (line 162) | def _copy_difference(self, left_rev: str, right_rev: str): method revert_workspace (line 174) | def revert_workspace(self): FILE: dvc/repo/experiments/utils.py function get_exp_rwlock (line 33) | def get_exp_rwlock( function unlocked_repo (line 56) | def unlocked_repo(f): function _ignore_ref (line 70) | def _ignore_ref(ref: str) -> bool: function exp_refs (line 77) | def exp_refs( function exp_refs_by_rev (line 92) | def exp_refs_by_rev(scm: "Git", rev: str) -> Generator[ExpRefInfo, None,... function exp_refs_by_baseline (line 99) | def exp_refs_by_baseline( function iter_remote_refs (line 113) | def iter_remote_refs(scm: "Git", url: str, base: Optional[str] = None, *... function push_refspec (line 126) | def push_refspec( function remote_exp_refs (line 166) | def remote_exp_refs(scm: "Git", url: str) -> Generator[ExpRefInfo, None,... function exp_refs_by_names (line 174) | def exp_refs_by_names( function remote_exp_refs_by_baseline (line 187) | def remote_exp_refs_by_baseline( function exp_commits (line 198) | def exp_commits( function remove_exp_refs (line 209) | def remove_exp_refs(scm: "Git", ref_infos: Iterable[ExpRefInfo]): function fix_exp_head (line 222) | def fix_exp_head(scm: Union["Git", "NoSCM"], ref: Optional[str]) -> Opti... function resolve_name (line 230) | def resolve_name( function check_ref_format (line 265) | def check_ref_format(scm: "Git", ref: ExpRefInfo): function fetch_all_exps (line 274) | def fetch_all_exps(scm: "Git", url: str, progress: Optional[Callable] = ... function gen_random_name (line 283) | def gen_random_name(): function get_random_exp_name (line 296) | def get_random_exp_name(scm, baseline_rev): function to_studio_params (line 304) | def to_studio_params(dvc_params): function describe (line 335) | def describe( FILE: dvc/repo/fetch.py function _make_index_onerror (line 19) | def _make_index_onerror(onerror, rev): function _collect_indexes (line 28) | def _collect_indexes( # noqa: PLR0913 function fetch (line 101) | def fetch( # noqa: PLR0913 function _log_unversioned (line 210) | def _log_unversioned(data: list["DataIndex"]) -> tuple[list["DataIndex"]... FILE: dvc/repo/freeze.py function _set (line 10) | def _set(repo: "Repo", target, frozen): function freeze (line 18) | def freeze(repo, target): function unfreeze (line 22) | def unfreeze(repo, target): FILE: dvc/repo/gc.py function _validate_args (line 15) | def _validate_args(**kwargs): function _used_obj_ids_not_in_remote (line 37) | def _used_obj_ids_not_in_remote( function gc (line 55) | def gc( # noqa: C901, PLR0912, PLR0913 function _merge_remote_obj_ids (line 157) | def _merge_remote_obj_ids( FILE: dvc/repo/get.py class GetDVCFileError (line 15) | class GetDVCFileError(DvcException): method __init__ (line 16) | def __init__(self): function get (line 22) | def get( FILE: dvc/repo/get_url.py function get_url (line 9) | def get_url(url, out=None, *, fs_config=None, jobs=None, force=False, co... FILE: dvc/repo/graph.py function check_acyclic (line 15) | def check_acyclic(graph: "DiGraph") -> None: function get_pipeline (line 33) | def get_pipeline(pipelines, node): function get_pipelines (line 42) | def get_pipelines(graph: "DiGraph"): function get_subgraph_of_nodes (line 48) | def get_subgraph_of_nodes( function collect_pipeline (line 63) | def collect_pipeline(stage: "Stage", graph: "DiGraph") -> Iterator["Stag... function collect_inside_path (line 73) | def collect_inside_path(path: str, graph: "DiGraph") -> list["Stage"]: function build_graph (line 80) | def build_graph(stages, outs_trie=None): function build_outs_graph (line 160) | def build_outs_graph(graph, outs_trie): FILE: dvc/repo/imp.py function imp (line 1) | def imp( FILE: dvc/repo/imp_db.py function imp_db (line 17) | def imp_db( FILE: dvc/repo/imp_url.py function imp_url (line 17) | def imp_url( # noqa: PLR0913 FILE: dvc/repo/index.py function log_walk (line 39) | def log_walk(seq): function collect_files (line 47) | def collect_files( function _load_data_from_tree (line 110) | def _load_data_from_tree(index, prefix, ws, key, tree, hash_name): function _load_data_from_outs (line 132) | def _load_data_from_outs(index, prefix, outs): function _load_storage_from_import (line 190) | def _load_storage_from_import(storage_map, key, out): function _load_storage_from_out (line 222) | def _load_storage_from_out(storage_map, key, out): function _build_tree_from_outs (line 259) | def _build_tree_from_outs(outs): class Index (line 286) | class Index: method __init__ (line 287) | def __init__( method rev (line 309) | def rev(self) -> Optional[str]: method __repr__ (line 314) | def __repr__(self) -> str: method from_repo (line 319) | def from_repo( method from_file (line 330) | def from_file(cls, repo: "Repo", path: str) -> "Index": method update (line 347) | def update(self, stages: Iterable["Stage"]) -> "Self": method from_indexes (line 363) | def from_indexes(cls, repo, idxs: Iterable["Self"]) -> "Self": method outs_trie (line 393) | def outs_trie(self) -> "Trie": method outs_graph (line 399) | def outs_graph(self) -> "DiGraph": method graph (line 405) | def graph(self) -> "DiGraph": method check_graph (line 410) | def check_graph(self) -> None: method params (line 415) | def params(self) -> Iterator["ParamsDependency"]: method outs (line 423) | def outs(self) -> Iterator["Output"]: method out_data_keys (line 428) | def out_data_keys(self) -> dict[str, set["DataIndexKey"]]: method decorated_outs (line 444) | def decorated_outs(self) -> Iterator["Output"]: method metrics (line 450) | def metrics(self) -> Iterator["Output"]: method plots (line 456) | def plots(self) -> Iterator["Output"]: method deps (line 462) | def deps(self) -> Iterator["Dependency"]: method _plot_sources (line 467) | def _plot_sources(self) -> list[str]: method data_keys (line 482) | def data_keys(self) -> dict[str, set["DataIndexKey"]]: method metric_keys (line 498) | def metric_keys(self) -> dict[str, set["DataIndexKey"]]: method param_keys (line 519) | def param_keys(self) -> dict[str, set["DataIndexKey"]]: method plot_keys (line 537) | def plot_keys(self) -> dict[str, set["DataIndexKey"]]: method data_tree (line 556) | def data_tree(self): method data (line 560) | def data(self) -> "dict[str, DataIndex]": method _hash_targets (line 594) | def _hash_targets(targets: Iterable[Optional[str]], **kwargs: Any) -> ... method collect_targets (line 603) | def collect_targets( method used_objs (line 630) | def used_objs( method _types_filter (line 653) | def _types_filter(self, types, out): method targets_view (line 673) | def targets_view( class _DataPrefixes (line 718) | class _DataPrefixes(NamedTuple): class IndexView (line 723) | class IndexView: method __init__ (line 726) | def __init__( method repo (line 740) | def repo(self) -> "Repo": method deps (line 744) | def deps(self) -> Iterator["Dependency"]: method index (line 749) | def index(self) -> "Index": method _filtered_outs (line 753) | def _filtered_outs(self) -> Iterator[tuple["Output", Optional[str]]]: method outs (line 760) | def outs(self) -> Iterator["Output"]: method out_data_keys (line 764) | def out_data_keys(self) -> dict[str, set["DataIndexKey"]]: method _data_prefixes (line 780) | def _data_prefixes(self) -> dict[str, "_DataPrefixes"]: method data_keys (line 797) | def data_keys(self) -> dict[str, set["DataIndexKey"]]: method data_tree (line 812) | def data_tree(self): method data (line 816) | def data(self) -> dict[str, Union["DataIndex", "DataIndexView"]]: function build_data_index (line 837) | def build_data_index( # noqa: C901, PLR0912 function _get_entry_hash_name (line 928) | def _get_entry_hash_name( function index_from_targets (line 946) | def index_from_targets( FILE: dvc/repo/init.py function init (line 15) | def init(root_dir=os.curdir, no_scm=False, force=False, subdir=False): ... FILE: dvc/repo/install.py function pre_commit_install (line 11) | def pre_commit_install(scm: "Git") -> None: function install_hooks (line 49) | def install_hooks(scm: "Git") -> None: function install (line 68) | def install(self: "Repo", use_pre_commit_tool: bool = False) -> None: FILE: dvc/repo/ls.py function _open_repo (line 8) | def _open_repo( function _adapt_info (line 35) | def _adapt_info(info: dict[str, Any]) -> dict[str, Any]: function ls (line 46) | def ls( function ls_tree (line 88) | def ls_tree( function _ls (line 107) | def _ls( function _ls_tree (line 150) | def _ls_tree(fs, path, maxdepth=None, _info=None, **fs_kwargs): FILE: dvc/repo/ls_url.py function ls_url (line 7) | def ls_url(url, *, fs_config=None, recursive=False, maxdepth=None, confi... FILE: dvc/repo/metrics/__init__.py class Metrics (line 1) | class Metrics: method __init__ (line 2) | def __init__(self, repo): method show (line 5) | def show(self, *args, **kwargs): method diff (line 10) | def diff(self, *args, **kwargs): FILE: dvc/repo/metrics/diff.py class DiffResult (line 14) | class DiffResult(TypedDict, total=False): function _diff (line 19) | def _diff( function diff (line 50) | def diff( FILE: dvc/repo/metrics/show.py function _collect_top_level_metrics (line 25) | def _collect_top_level_metrics(repo: "Repo") -> Iterator[str]: function _extract_metrics (line 34) | def _extract_metrics(metrics, path: str): function _read_metric (line 57) | def _read_metric(fs: "FileSystem", path: str, **load_kwargs) -> Any: function _read_metrics (line 63) | def _read_metrics( function metrics_from_target (line 74) | def metrics_from_target(repo: "Repo", targets: list[str]) -> Iterator["O... function _collect_metrics (line 80) | def _collect_metrics( class FileResult (line 110) | class FileResult(TypedDict, total=False): class Result (line 115) | class Result(TypedDict, total=False): function try_expand_paths (line 120) | def try_expand_paths(fs: "FileSystem", paths: Iterable[str]) -> Iterator... function to_relpath (line 136) | def to_relpath(fs: "FileSystem", root_dir: str, d: Result) -> Result: function _gather_metrics (line 147) | def _gather_metrics( function _hide_workspace (line 177) | def _hide_workspace( function show (line 194) | def show( FILE: dvc/repo/move.py function _expand_target_path (line 12) | def _expand_target_path(from_path, to_path): function move (line 20) | def move(self: "Repo", from_path, to_path): FILE: dvc/repo/open_repo.py function _external_repo (line 21) | def _external_repo(url, rev: Optional[str] = None, **kwargs) -> "Repo": function open_repo (line 46) | def open_repo(url, *args, **kwargs): function erepo_factory (line 63) | def erepo_factory(url, root_dir, cache_config): function _get_cache_dir (line 82) | def _get_cache_dir(url): function clean_repos (line 90) | def clean_repos(): function _get_remote_config (line 100) | def _get_remote_config(url): function _cached_clone (line 130) | def _cached_clone(url, rev): function _clone_default_branch (line 155) | def _clone_default_branch(url, rev): function _pull (line 214) | def _pull(git: "Git", unshallow: bool = False): function _merge_upstream (line 222) | def _merge_upstream(git: "Git"): function _remove (line 234) | def _remove(path): FILE: dvc/repo/params/__init__.py class Params (line 1) | class Params: method __init__ (line 2) | def __init__(self, repo): method show (line 5) | def show(self, *args, **kwargs): method diff (line 10) | def diff(self, *args, **kwargs): FILE: dvc/repo/params/diff.py function diff (line 8) | def diff( FILE: dvc/repo/params/show.py function _collect_top_level_params (line 21) | def _collect_top_level_params(repo: "Repo") -> Iterator[str]: function params_from_target (line 30) | def params_from_target( function _collect_params (line 38) | def _collect_params( function _collect_vars (line 84) | def _collect_vars(repo, params, stages=None) -> dict: function _read_params (line 105) | def _read_params( function _gather_params (line 116) | def _gather_params( function show (line 161) | def show( FILE: dvc/repo/plots/__init__.py function onerror_collect (line 34) | def onerror_collect(result: dict, exception: Exception, *args, **kwargs): class PlotMetricTypeError (line 42) | class PlotMetricTypeError(DvcException): method __init__ (line 43) | def __init__(self, file): class NotAPlotError (line 50) | class NotAPlotError(DvcException): method __init__ (line 51) | def __init__(self, out): class PropsNotFoundError (line 57) | class PropsNotFoundError(DvcException): function _unpack_dir_files (line 62) | def _unpack_dir_files(fs, path, **kwargs): class Plots (line 70) | class Plots: method __init__ (line 71) | def __init__(self, repo): method collect (line 74) | def collect( method _collect_data_sources (line 159) | def _collect_data_sources( method show (line 189) | def show( method diff (line 225) | def diff(self, *args, **kwargs): method _unset (line 231) | def _unset(out, props): method modify (line 241) | def modify(self, path, props=None, unset=None): method templates_dir (line 270) | def templates_dir(self) -> Optional[str]: function _is_plot (line 276) | def _is_plot(out: "Output") -> bool: function _resolve_data_sources (line 280) | def _resolve_data_sources(plots_data: dict, rev: str, cache: bool = False): function _collect_plots (line 317) | def _collect_plots( function _get_data_targets (line 338) | def _get_data_targets(definitions: dict): function infer_data_sources (line 348) | def infer_data_sources(plot_id, config=None): function _matches (line 363) | def _matches(targets, config_file, plot_id): function _normpath (line 377) | def _normpath(path): function _relpath (line 385) | def _relpath(fs, path): function _collect_output_plots (line 394) | def _collect_output_plots(repo, targets, props, onerror: Optional[Callab... function _id_is_path (line 414) | def _id_is_path(plot_props=None): function _adjust_sources (line 422) | def _adjust_sources(fs, plot_props, config_dir): function _resolve_definitions (line 438) | def _resolve_definitions( function _closest_parent (line 477) | def _closest_parent(fs, path, parents): function _collect_pipeline_files (line 486) | def _collect_pipeline_files(repo, targets: list[str], props, onerror=None): function _collect_definitions (line 508) | def _collect_definitions( function unpack_if_dir (line 531) | def unpack_if_dir(fs, path, props: dict[str, str], onerror: Optional[Cal... function parse (line 548) | def parse(fs, path, props=None, **fs_kwargs): function _plot_props (line 569) | def _plot_props(out: "Output") -> dict: function _load_sv (line 582) | def _load_sv(content, delimiter=",", header=True): FILE: dvc/repo/plots/diff.py function _revisions (line 1) | def _revisions(repo, revs, experiment): function diff (line 14) | def diff(repo, *args, revs=None, experiment=False, **kwargs): FILE: dvc/repo/pull.py function pull (line 10) | def pull( # noqa: PLR0913 FILE: dvc/repo/push.py function _rebuild (line 13) | def _rebuild(idx, path, fs, cb): function _update_meta (line 37) | def _update_meta(index, **kwargs): function push (line 64) | def push( # noqa: PLR0913 FILE: dvc/repo/remove.py function remove (line 20) | def remove(self: "Repo", target: str, outs: bool = False): FILE: dvc/repo/reproduce.py function collect_stages (line 26) | def collect_stages( function get_subgraph (line 38) | def get_subgraph( function get_active_graph (line 56) | def get_active_graph(graph: "DiGraph") -> "DiGraph": function plan_repro (line 65) | def plan_repro( function _reproduce_stage (line 112) | def _reproduce_stage(stage: "Stage", **kwargs) -> Optional["Stage"]: function _get_upstream_downstream_nodes (line 123) | def _get_upstream_downstream_nodes( function _repr (line 131) | def _repr(stages: Iterable["Stage"]) -> str: function handle_error (line 135) | def handle_error( function _raise_error (line 152) | def _raise_error(exc: Optional[Exception], *stages: "Stage") -> NoReturn: function _reproduce (line 158) | def _reproduce( function reproduce (line 210) | def reproduce( FILE: dvc/repo/run.py function run (line 16) | def run( FILE: dvc/repo/scm_context.py class SCMContext (line 20) | class SCMContext: method __init__ (line 21) | def __init__(self, scm: "Base", config: Optional[dict[str, Any]] = Non... method track_file (line 32) | def track_file(self, paths: Union[str, Iterable[str], None] = None) ->... method _make_git_add_cmd (line 37) | def _make_git_add_cmd(paths: Union[str, Iterable[str]]) -> str: method add (line 41) | def add(self, paths: Union[str, Iterable[str]]) -> None: method track_changed_files (line 58) | def track_changed_files(self) -> None: method ignore (line 65) | def ignore(self, path: str) -> None: method ignore_remove (line 81) | def ignore_remove(self, path: str) -> None: method __call__ (line 97) | def __call__( method __enter__ (line 134) | def __enter__(self) -> "SCMContext": method __exit__ (line 138) | def __exit__(self, *exc_args) -> None: function scm_context (line 143) | def scm_context(method, autostage: Optional[bool] = None, quiet: Optiona... FILE: dvc/repo/stage.py class StageInfo (line 30) | class StageInfo(NamedTuple): function _collect_with_deps (line 40) | def _collect_with_deps(stages: StageList, graph: "DiGraph") -> StageSet: function _maybe_collect_from_dvc_yaml (line 57) | def _maybe_collect_from_dvc_yaml( function _collect_specific_target (line 71) | def _collect_specific_target( function locked (line 100) | def locked(f): class StageLoad (line 109) | class StageLoad: method __init__ (line 110) | def __init__(self, repo: "Repo") -> None: method fs (line 114) | def fs(self): method add (line 118) | def add( method create (line 146) | def create( method from_target (line 201) | def from_target( method get_target (line 211) | def get_target(self, target: str) -> "Stage": method _get_filepath (line 219) | def _get_filepath( method _get_group_keys (line 230) | def _get_group_keys(stages: "StageLoader", group: str) -> Iterable[str]: method _get_keys (line 238) | def _get_keys( method load_all (line 253) | def load_all( method load_one (line 286) | def load_one( method load_file (line 303) | def load_file(self, path: Optional[str] = None) -> StageList: method load_glob (line 307) | def load_glob(self, path: str, expr: Optional[str] = None): method collect (line 311) | def collect( method collect_granular (line 361) | def collect_granular( FILE: dvc/repo/status.py function _joint_status (line 11) | def _joint_status(pairs, check_updates=True): function _local_status (line 30) | def _local_status( function _cloud_status (line 42) | def _cloud_status( function status (line 107) | def status( # noqa: PLR0913 FILE: dvc/repo/trie.py function build_outs_trie (line 7) | def build_outs_trie(stages): FILE: dvc/repo/update.py function update (line 12) | def update( # noqa: C901 FILE: dvc/repo/worktree.py function _meta_checksum (line 27) | def _meta_checksum(fs: "FileSystem", meta: "Meta") -> Any: function worktree_view_by_remotes (line 34) | def worktree_view_by_remotes( function worktree_view (line 63) | def worktree_view( function _get_remote (line 92) | def _get_remote( function _merge_push_meta (line 100) | def _merge_push_meta( # noqa: C901 function update_worktree_stages (line 161) | def update_worktree_stages(repo: "Repo", stage_infos: Iterable["StageInf... function _update_worktree_out (line 176) | def _update_worktree_out( function _fetch_out_changes (line 219) | def _fetch_out_changes( function _get_diff_indexes (line 255) | def _get_diff_indexes( function _update_out_meta (line 279) | def _update_out_meta( function _get_update_diff_index (line 305) | def _get_update_diff_index( FILE: dvc/rwlock.py class RWLockFileCorruptedError (line 32) | class RWLockFileCorruptedError(DvcException): method __init__ (line 33) | def __init__(self, path): class RWLockFileFormatError (line 39) | class RWLockFileFormatError(DvcException): method __init__ (line 40) | def __init__(self, path): function _edit_rwlock (line 45) | def _edit_rwlock(lock_dir, fs, hardlink): function _infos_to_str (line 70) | def _infos_to_str(infos): function _check_blockers (line 76) | def _check_blockers(tmp_dir, lock, info, *, mode, waiters): # noqa: C90... function _acquire_read (line 134) | def _acquire_read(lock, info, paths): function _acquire_write (line 150) | def _acquire_write(lock, info, paths): function _release_write (line 165) | def _release_write(lock, info, changes): function _release_read (line 175) | def _release_read(lock, info, changes): function rwlock (line 188) | def rwlock(tmp_dir, fs, cmd, read, write, hardlink): FILE: dvc/schema.py function either_or (line 99) | def either_or(primary, fallback, fallback_includes=None): FILE: dvc/scm.py class SCMError (line 26) | class SCMError(DvcException): class CloneError (line 30) | class CloneError(SCMError): class RevError (line 34) | class RevError(SCMError): class NoSCMError (line 38) | class NoSCMError(SCMError): method __init__ (line 39) | def __init__(self): class InvalidRemoteSCMRepo (line 48) | class InvalidRemoteSCMRepo(SCMError): # noqa: N818 class GitAuthError (line 52) | class GitAuthError(SCMError): method __init__ (line 53) | def __init__(self, reason: str) -> None: function map_scm_exception (line 59) | def map_scm_exception(with_cause: bool = False) -> Iterator[None]: function SCM (line 72) | def SCM( function SCM (line 81) | def SCM( function SCM (line 90) | def SCM( function SCM (line 98) | def SCM(root_dir, *, search_parent_directories=True, no_scm=False): class TqdmGit (line 117) | class TqdmGit(Tqdm): method __init__ (line 122) | def __init__(self, *args, **kwargs): method update_git (line 128) | def update_git(self, event: "GitProgressEvent") -> None: function clone (line 146) | def clone(url: str, to_path: str, **kwargs): function resolve_rev (line 161) | def resolve_rev(scm: Union["Git", "NoSCM"], rev: str) -> str: function _get_n_commits (line 185) | def _get_n_commits(scm: "Git", revs: list[str], num: int) -> list[str]: function iter_revs (line 204) | def iter_revs( function lfs_prefetch (line 267) | def lfs_prefetch(fs: "FileSystem", paths: list[str]): function add_no_submodules (line 294) | def add_no_submodules( FILE: dvc/stage/__init__.py function loads_from (line 53) | def loads_from( class RawData (line 78) | class RawData: function create_stage (line 83) | def create_stage(cls: type[_T], repo, path, **kwargs) -> _T: function restore_fields (line 105) | def restore_fields(stage: "Stage") -> None: class Stage (line 129) | class Stage(params.StageParams): method __init__ (line 130) | def __init__( # noqa: PLR0913 method path (line 168) | def path(self) -> str: method path (line 172) | def path(self, path: str): method dvcfile (line 178) | def dvcfile(self) -> Union["ProjectFile", "SingleStageFile"]: method dvcfile (line 193) | def dvcfile(self, dvcfile: Union["ProjectFile", "SingleStageFile"]) ->... method params (line 197) | def params(self) -> list["ParamsDependency"]: method metrics (line 203) | def metrics(self) -> list["Output"]: method __repr__ (line 206) | def __repr__(self): method __str__ (line 209) | def __str__(self): method addressing (line 213) | def addressing(self) -> str: method __hash__ (line 220) | def __hash__(self): method __eq__ (line 223) | def __eq__(self, other): method path_in_repo (line 231) | def path_in_repo(self) -> str: method relpath (line 235) | def relpath(self) -> str: method is_data_source (line 239) | def is_data_source(self) -> bool: method is_callback (line 244) | def is_callback(self) -> bool: method is_import (line 252) | def is_import(self) -> bool: method is_partial_import (line 257) | def is_partial_import(self) -> bool: method is_repo_import (line 265) | def is_repo_import(self) -> bool: method is_db_import (line 274) | def is_db_import(self) -> bool: method is_versioned_import (line 283) | def is_versioned_import(self) -> bool: method short_description (line 292) | def short_description(self) -> Optional["str"]: method changed_deps (line 301) | def changed_deps( method _changed_deps (line 313) | def _changed_deps( method changed_outs (line 338) | def changed_outs(self, allow_missing: bool = False) -> bool: method changed_stage (line 354) | def changed_stage(self) -> bool: method changed (line 361) | def changed( method remove_outs (line 376) | def remove_outs(self, ignore_remove=False, force=False) -> None: method unprotect_outs (line 386) | def unprotect_outs(self) -> None: method ignore_remove_outs (line 390) | def ignore_remove_outs(self) -> None: method remove (line 395) | def remove(self, force=False, remove_outs=True, purge=True) -> None: method transfer (line 404) | def transfer( method reproduce (line 420) | def reproduce(self, interactive=False, **kwargs) -> Optional["Stage"]: method update (line 454) | def update( method reload (line 477) | def reload(self) -> "Stage": method dumpd (line 480) | def dumpd(self, **kwargs) -> dict[str, Any]: method compute_md5 (line 483) | def compute_md5(self) -> Optional[str]: method save (line 492) | def save(self, allow_missing: bool = False, run_cache: bool = True): method save_deps (line 502) | def save_deps(self, allow_missing=False): method save_outs (line 512) | def save_outs(self, allow_missing: bool = False): method ignore_outs (line 527) | def ignore_outs(self) -> None: method _changed_entries (line 532) | def _changed_entries(entries) -> list[str]: method _changed_stage_entry (line 535) | def _changed_stage_entry(self) -> str: method changed_entries (line 538) | def changed_entries(self) -> ChangedEntries: method commit (line 548) | def commit(self, allow_missing=False, filter_info=None, **kwargs) -> N... method add_outs (line 564) | def add_outs(self, filter_info=None, allow_missing: bool = False, **kw... method run (line 586) | def run( method _run_stage (line 627) | def _run_stage(self, dry, force, **kwargs) -> None: method _sync_import (line 631) | def _sync_import(self, dry, force, jobs, no_download) -> None: method _check_missing_outputs (line 635) | def _check_missing_outputs(self) -> None: method filter_outs (line 638) | def filter_outs(self, fs_path) -> Iterable["Output"]: method checkout (line 645) | def checkout( method _checkout (line 659) | def _checkout(out, **kwargs) -> tuple[Optional[str], list[str]]: method status (line 670) | def status( method _status (line 686) | def _status(entries: Iterable["Output"]) -> dict[str, str]: method _status_deps (line 694) | def _status_deps(self, ret) -> None: method _status_outs (line 699) | def _status_outs(self, ret, filter_info) -> None: method _status_always_changed (line 705) | def _status_always_changed(self, ret) -> None: method _status_stage (line 709) | def _status_stage(self, ret) -> None: method already_cached (line 713) | def already_cached(self) -> bool: method deps_cached (line 716) | def deps_cached(self) -> bool: method outs_cached (line 719) | def outs_cached(self) -> bool: method get_used_objs (line 725) | def get_used_objs( method _check_can_merge (line 739) | def _check_can_merge(stage, ancestor_out=None) -> None: method merge (line 751) | def merge(self, ancestor, other, allowed=None) -> None: method dump (line 773) | def dump(self, **kwargs) -> None: class PipelineStage (line 777) | class PipelineStage(Stage): method __init__ (line 778) | def __init__(self, *args, name: Optional[str] = None, **kwargs): method __eq__ (line 784) | def __eq__(self, other): method __hash__ (line 787) | def __hash__(self) -> int: method addressing (line 791) | def addressing(self): method reload (line 798) | def reload(self) -> Stage: method _status_stage (line 806) | def _status_stage(self, ret) -> None: method changed_stage (line 810) | def changed_stage(self) -> bool: method _changed_stage_entry (line 815) | def _changed_stage_entry(self) -> str: method merge (line 818) | def merge(self, ancestor, other, allowed=None): FILE: dvc/stage/cache.py class RunCacheNotFoundError (line 19) | class RunCacheNotFoundError(DvcException): method __init__ (line 20) | def __init__(self, stage): class RunCacheNotSupported (line 24) | class RunCacheNotSupported(DvcException): function _get_cache_hash (line 28) | def _get_cache_hash(cache, key=False): function _can_hash (line 36) | def _can_hash(stage): function _get_stage_hash (line 59) | def _get_stage_hash(stage): class StageCache (line 66) | class StageCache: method __init__ (line 67) | def __init__(self, repo): method _get_cache_dir (line 71) | def _get_cache_dir(self, key): method _get_cache_path (line 74) | def _get_cache_path(self, key, value): method _load_cache (line 77) | def _load_cache(self, key, value): method _load (line 94) | def _load(self, stage): method _create_stage (line 116) | def _create_stage(self, cache, wdir=None): method _cache_type_copy (line 132) | def _cache_type_copy(self): method _uncached_outs (line 143) | def _uncached_outs(self, stage, cache): method save (line 157) | def save(self, stage): method restore (line 192) | def restore(self, stage, run_cache=True, pull=False, dry=False): # no... method transfer (line 232) | def transfer(self, from_odb, to_odb, force=True): method push (line 275) | def push(self, remote: Optional[str], odb: Optional["ObjectDB"] = None): method pull (line 284) | def pull(self, remote: Optional[str], odb: Optional["ObjectDB"] = None): method get_used_objs (line 293) | def get_used_objs(self, used_run_cache, *args, **kwargs): FILE: dvc/stage/decorators.py function rwlocked (line 7) | def rwlocked(call, read=None, write=None): function unlocked_repo (line 47) | def unlocked_repo(f): function relock_repo (line 61) | def relock_repo(f): FILE: dvc/stage/exceptions.py class StageCmdFailedError (line 4) | class StageCmdFailedError(DvcException): method __init__ (line 5) | def __init__(self, cmd, status=None): class StageFileDoesNotExistError (line 12) | class StageFileDoesNotExistError(DvcException): method __init__ (line 16) | def __init__(self, fname, dvc_ignored=False): class StageFileAlreadyExistsError (line 22) | class StageFileAlreadyExistsError(DvcException): class StageFileIsNotDvcFileError (line 26) | class StageFileIsNotDvcFileError(DvcException): method __init__ (line 27) | def __init__(self, fname): class StageFileBadNameError (line 39) | class StageFileBadNameError(DvcException): class StagePathOutsideError (line 43) | class StagePathOutsideError(DvcException): class StagePathNotFoundError (line 47) | class StagePathNotFoundError(DvcException): class StagePathNotDirectoryError (line 51) | class StagePathNotDirectoryError(DvcException): class StageCommitError (line 55) | class StageCommitError(DvcException): class StageExternalOutputsError (line 59) | class StageExternalOutputsError(DvcException): class StageUpdateError (line 63) | class StageUpdateError(DvcException): method __init__ (line 64) | def __init__(self, path): class MissingDataSource (line 68) | class MissingDataSource(DvcException): method __init__ (line 69) | def __init__(self, missing_files): class DataSourceChanged (line 80) | class DataSourceChanged(DvcException): method __init__ (line 81) | def __init__(self, path: str): class StageNotFound (line 85) | class StageNotFound(DvcException, KeyError): # noqa: N818 method __init__ (line 86) | def __init__(self, file, name): method __str__ (line 91) | def __str__(self): class StageNameUnspecified (line 97) | class StageNameUnspecified(DvcException): method __init__ (line 98) | def __init__(self, file): class DuplicateStageName (line 105) | class DuplicateStageName(DvcException): class InvalidStageName (line 109) | class InvalidStageName(DvcException): method __init__ (line 110) | def __init__(self): FILE: dvc/stage/imports.py function _update_import_on_remote (line 7) | def _update_import_on_remote(stage, remote, jobs): function update_import (line 20) | def update_import( function sync_import (line 47) | def sync_import(stage, dry=False, force=False, jobs=None, no_download=Fa... FILE: dvc/stage/loader.py class StageLoader (line 27) | class StageLoader(Mapping): method __init__ (line 28) | def __init__(self, dvcfile: "ProjectFile", data, lockfile_data=None): method lockfile_data (line 39) | def lockfile_data(self) -> dict[str, Any]: method fill_from_lock (line 45) | def fill_from_lock(stage, lock_data=None): method load_stage (line 86) | def load_stage(cls, dvcfile: "ProjectFile", name, stage_data, lock_dat... method lockfile_needs_update (line 122) | def lockfile_needs_update(self): method __getitem__ (line 129) | def __getitem__(self, name): method __iter__ (line 158) | def __iter__(self): method __len__ (line 161) | def __len__(self): method __contains__ (line 164) | def __contains__(self, name): method is_foreach_or_matrix_generated (line 167) | def is_foreach_or_matrix_generated(self, name: str) -> bool: class SingleStageLoader (line 174) | class SingleStageLoader(Mapping): method __init__ (line 175) | def __init__( method __getitem__ (line 185) | def __getitem__(self, item): method load_stage (line 195) | def load_stage( method __iter__ (line 210) | def __iter__(self): method __contains__ (line 213) | def __contains__(self, item): method __len__ (line 216) | def __len__(self): FILE: dvc/stage/params.py class StageParams (line 1) | class StageParams: FILE: dvc/stage/run.py function _fish_supports_no_config (line 19) | def _fish_supports_no_config(executable) -> bool: function _warn_if_fish (line 42) | def _warn_if_fish(executable): function _make_cmd (line 58) | def _make_cmd(executable, cmd): function _enforce_cmd_list (line 73) | def _enforce_cmd_list(cmd): function prepare_kwargs (line 78) | def prepare_kwargs(stage, run_env=None): function display_command (line 108) | def display_command(cmd): function get_executable (line 112) | def get_executable(): function _run (line 116) | def _run(executable, cmd, **kwargs): function cmd_run (line 139) | def cmd_run(stage, dry=False, run_env=None): function _pull_missing_deps (line 156) | def _pull_missing_deps(stage): function run_stage (line 166) | def run_stage(stage, dry=False, force=False, run_env=None, **kwargs): FILE: dvc/stage/serialize.py function _get_flags (line 37) | def _get_flags(out): function _serialize_out (line 56) | def _serialize_out(out): function _serialize_outs (line 62) | def _serialize_outs(outputs: list[Output]): function _serialize_params_keys (line 74) | def _serialize_params_keys(params: Iterable["ParamsDependency"]): function _serialize_params_values (line 95) | def _serialize_params_values(params: list[ParamsDependency]): function to_pipeline_file (line 114) | def to_pipeline_file(stage: "PipelineStage"): function to_single_stage_lockfile (line 143) | def to_single_stage_lockfile(stage: "Stage", **kwargs) -> dict: function to_lockfile (line 195) | def to_lockfile(stage: "PipelineStage", **kwargs) -> dict: function to_single_stage_file (line 200) | def to_single_stage_file(stage: "Stage", **kwargs): FILE: dvc/stage/utils.py function check_stage_path (line 26) | def check_stage_path(repo, path, is_wdir=False): function fill_stage_outputs (line 47) | def fill_stage_outputs(stage, **kwargs): function fill_stage_dependencies (line 80) | def fill_stage_dependencies( function check_no_externals (line 91) | def check_no_externals(stage): function check_circular_dependency (line 115) | def check_circular_dependency(stage): function check_duplicated_arguments (line 126) | def check_duplicated_arguments(stage): function check_missing_outputs (line 138) | def check_missing_outputs(stage): function compute_md5 (line 144) | def compute_md5(stage): function resolve_wdir (line 177) | def resolve_wdir(wdir, path): function resolve_paths (line 184) | def resolve_paths(fs, path, wdir=None): function get_dump (line 191) | def get_dump(stage: "Stage", **kwargs): function split_params_deps (line 209) | def split_params_deps( function is_valid_name (line 217) | def is_valid_name(name: str) -> bool: function prepare_file_path (line 223) | def prepare_file_path(kwargs) -> str: function check_stage_exists (line 246) | def check_stage_exists(repo: "Repo", stage: Union["Stage", "PipelineStag... function validate_kwargs (line 264) | def validate_kwargs( function _get_stage_files (line 289) | def _get_stage_files(stage: "Stage") -> list[str]: FILE: dvc/testing/api_tests.py class TestAPI (line 9) | class TestAPI: method test_get_url (line 10) | def test_get_url(self, tmp_dir, dvc, remote): method test_open (line 18) | def test_open(self, tmp_dir, dvc, remote): method test_filesystem (line 44) | def test_filesystem( FILE: dvc/testing/benchmarks/cli/commands/test_add.py function generate_test (line 4) | def generate_test(*, link_type="copy"): FILE: dvc/testing/benchmarks/cli/commands/test_checkout.py function _skip_unsupported_link (line 10) | def _skip_unsupported_link(src, dest, link_type): function generate_test (line 19) | def generate_test(*, link_type="copy"): FILE: dvc/testing/benchmarks/cli/commands/test_data_status.py function test_data_status (line 4) | def test_data_status(bench_dvc, tmp_dir, scm, dvc, make_dataset): function test_data_status_all_flags (line 22) | def test_data_status_all_flags(bench_dvc, tmp_dir, scm, dvc, make_dataset): FILE: dvc/testing/benchmarks/cli/commands/test_diff.py function test_diff (line 1) | def test_diff(bench_dvc, tmp_dir, scm, dvc, make_dataset): FILE: dvc/testing/benchmarks/cli/commands/test_exp_show.py function test_exp_show (line 1) | def test_exp_show(make_project, monkeypatch, bench_dvc, dvc_bin): FILE: dvc/testing/benchmarks/cli/commands/test_fetch.py function test_fetch (line 1) | def test_fetch(bench_dvc, tmp_dir, dvc, make_dataset, remote): FILE: dvc/testing/benchmarks/cli/commands/test_gc.py function test_gc (line 1) | def test_gc(bench_dvc, tmp_dir, dvc, make_dataset): FILE: dvc/testing/benchmarks/cli/commands/test_get.py function test_get (line 5) | def test_get(bench_dvc, tmp_dir, scm, dvc, make_dataset, remote): FILE: dvc/testing/benchmarks/cli/commands/test_get_url.py function test_get_url (line 1) | def test_get_url(bench_dvc, tmp_dir, scm, dvc, make_dataset): FILE: dvc/testing/benchmarks/cli/commands/test_help.py function test_help (line 1) | def test_help(bench_dvc): FILE: dvc/testing/benchmarks/cli/commands/test_import.py function test_import (line 11) | def test_import(bench_dvc, tmp_dir, scm, dvc, make_dataset, remote): FILE: dvc/testing/benchmarks/cli/commands/test_import_url.py function test_import_url (line 1) | def test_import_url(bench_dvc, tmp_dir, scm, dvc, make_dataset): FILE: dvc/testing/benchmarks/cli/commands/test_init.py function test_init (line 4) | def test_init(bench_dvc, tmp_dir, scm): FILE: dvc/testing/benchmarks/cli/commands/test_ls.py function test_list (line 1) | def test_list(bench_dvc, tmp_dir, scm, dvc, make_dataset, remote): FILE: dvc/testing/benchmarks/cli/commands/test_plots.py function test_plots (line 5) | def test_plots(project, bench_dvc): FILE: dvc/testing/benchmarks/cli/commands/test_push.py function test_push (line 1) | def test_push(bench_dvc, tmp_dir, dvc, make_dataset, remote): FILE: dvc/testing/benchmarks/cli/commands/test_status.py function test_status (line 1) | def test_status(bench_dvc, tmp_dir, dvc, make_dataset): FILE: dvc/testing/benchmarks/cli/commands/test_update.py function test_update (line 1) | def test_update(bench_dvc, tmp_dir, dvc, make_dataset): FILE: dvc/testing/benchmarks/cli/stories/test_modify_data.py function test_partial_add (line 15) | def test_partial_add(bench_dvc, tmp_dir, dvc, dataset, remote): function test_partial_remove (line 38) | def test_partial_remove(bench_dvc, tmp_dir, dvc, dataset, remote): FILE: dvc/testing/benchmarks/cli/stories/use_cases/test_sharing.py function test_sharing (line 6) | def test_sharing(bench_dvc, tmp_dir, dvc, make_dataset, remote, dvc_bin): FILE: dvc/testing/benchmarks/fixtures.py function bench_config (line 18) | def bench_config(request): class VirtualEnv (line 22) | class VirtualEnv: method __init__ (line 23) | def __init__(self, path: StrPath) -> None: method create (line 27) | def create(self) -> None: method install (line 30) | def install(self, *packages: str) -> None: method run (line 33) | def run(self, cmd: str, *args: str, env: Optional[dict[str, str]] = No... method which (line 37) | def which(self, cmd: str) -> str: function make_dvc_venv (line 43) | def make_dvc_venv(tmp_path_factory): function _sanitize_venv_name (line 54) | def _sanitize_venv_name(name): function dvc_venvs (line 59) | def dvc_venvs(): function dvc_repo (line 64) | def dvc_repo(tmp_path_factory, bench_config): function dvc_bench_repo (line 77) | def dvc_bench_repo(tmp_path_factory, bench_config): function make_dvc_bin (line 95) | def make_dvc_bin( function dvc_bin (line 141) | def dvc_bin(request, make_dvc_bin): function make_bench (line 160) | def make_bench(request): function bench_dvc (line 193) | def bench_dvc(request, dvc_bin, make_bench): function _pull (line 211) | def _pull(repo, *args): function make_dataset (line 222) | def make_dataset(request, bench_config, tmp_dir, dvc_bench_repo): function dataset (line 262) | def dataset(make_dataset): function remote_dataset (line 267) | def remote_dataset(): function make_project (line 272) | def make_project(tmp_path_factory): function project (line 286) | def project(bench_config, monkeypatch, make_project): FILE: dvc/testing/benchmarks/plugin.py function pytest_report_header (line 11) | def pytest_report_header(config): function pytest_generate_tests (line 16) | def pytest_generate_tests(metafunc): class DVCBenchConfig (line 25) | class DVCBenchConfig: method __repr__ (line 35) | def __repr__(self): function pytest_configure (line 44) | def pytest_configure(config): function resolve_path (line 61) | def resolve_path(path): function pytest_addoption (line 67) | def pytest_addoption(parser): FILE: dvc/testing/cloud.py class Cloud (line 6) | class Cloud(ABC): method is_file (line 10) | def is_file(self): method is_dir (line 14) | def is_dir(self): method exists (line 18) | def exists(self): method mkdir (line 22) | def mkdir(self, mode=0o777, parents=False, exist_ok=False): method write_text (line 25) | def write_text(self, contents, encoding=None, errors=None): method write_bytes (line 32) | def write_bytes(self, contents): method unlink (line 36) | def unlink(self, missing_ok: bool = False) -> None: method rmdir (line 40) | def rmdir(self, recursive: bool = True) -> None: method read_text (line 43) | def read_text(self, encoding=None, errors=None): method read_bytes (line 50) | def read_bytes(self): method _gen (line 53) | def _gen(self, struct, prefix=None): method gen (line 69) | def gen(self, struct, text=""): method close (line 76) | def close(self): # noqa: B027 method should_test (line 80) | def should_test(): method get_url (line 84) | def get_url(): method config (line 89) | def config(self): FILE: dvc/testing/fixtures.py function make_tmp_dir (line 39) | def make_tmp_dir(tmp_path_factory, request, worker_id): function tmp_dir (line 74) | def tmp_dir(tmp_path, make_tmp_dir, request, monkeypatch): function scm (line 81) | def scm(tmp_dir): function dvc (line 86) | def dvc(tmp_dir): function make_local (line 92) | def make_local(make_tmp_dir): function make_cloud (line 100) | def make_cloud(request): function make_cloud_version_aware (line 108) | def make_cloud_version_aware(request): function cloud (line 116) | def cloud(make_cloud, request): function local_cloud (line 122) | def local_cloud(make_cloud): function make_remote (line 127) | def make_remote(tmp_dir, dvc, make_cloud): # noqa: ARG001 function make_remote_version_aware (line 137) | def make_remote_version_aware(tmp_dir, dvc, make_cloud_version_aware): ... function make_remote_worktree (line 149) | def make_remote_worktree(tmp_dir, dvc, make_cloud_version_aware): # noq... function remote (line 161) | def remote(make_remote, request): function remote_version_aware (line 167) | def remote_version_aware(make_remote_version_aware, request): function remote_worktree (line 173) | def remote_worktree(make_remote_worktree, request): function local_remote (line 179) | def local_remote(make_remote): function make_workspace (line 184) | def make_workspace(tmp_dir, dvc, make_cloud): function workspace (line 208) | def workspace(make_workspace, request): function local_workspace (line 214) | def local_workspace(make_workspace): function docker_compose_project_name (line 219) | def docker_compose_project_name(): function docker_services (line 224) | def docker_services(tmp_path_factory, request): function run_copy (line 256) | def run_copy(tmp_dir, copy_script, dvc): # noqa: ARG001 FILE: dvc/testing/matchers.py class dict (line 8) | class dict: # noqa: A001, N801, PLW1641 method __init__ (line 21) | def __init__(self, d: Optional[Mapping[Any, Any]] = None, **keys: Any)... method __len__ (line 27) | def __len__(self) -> int: method __repr__ (line 30) | def __repr__(self) -> str: method __eq__ (line 34) | def __eq__(self, other: object) -> bool: class unordered (line 39) | class unordered: # noqa: N801, PLW1641 method __init__ (line 45) | def __init__(self, *items: Any) -> None: method __repr__ (line 48) | def __repr__(self) -> str: method __eq__ (line 52) | def __eq__(self, other: object) -> bool: class attrs (line 57) | class attrs: # noqa: N801, PLW1641 method __init__ (line 58) | def __init__(self, **attribs: Any) -> None: method __repr__ (line 61) | def __repr__(self) -> str: method __eq__ (line 65) | def __eq__(self, other: object) -> bool: class instance_of (line 71) | class instance_of: # noqa: N801, PLW1641 method __init__ (line 72) | def __init__(self, expected_type: Union[Any, tuple[Any, ...]]) -> None: method __repr__ (line 75) | def __repr__(self) -> str: method __eq__ (line 82) | def __eq__(self, other: object) -> bool: class any_of (line 86) | class any_of: # noqa: N801, PLW1641 method __init__ (line 87) | def __init__(self, *items: Any) -> None: method __repr__ (line 90) | def __repr__(self) -> str: method __eq__ (line 94) | def __eq__(self, other: object) -> bool: FILE: dvc/testing/path_info.py class _BasePath (line 12) | class _BasePath: method overlaps (line 13) | def overlaps(self, other): method isin_or_eq (line 20) | def isin_or_eq(self, other): class PathInfo (line 24) | class PathInfo(pathlib.PurePath, _BasePath): method __new__ (line 33) | def __new__(cls, *args): method as_posix (line 39) | def as_posix(self): method __str__ (line 48) | def __str__(self): method __repr__ (line 52) | def __repr__(self): method __fspath__ (line 56) | def __fspath__(self): method fspath (line 60) | def fspath(self): method relpath (line 67) | def relpath(self, other): method isin (line 70) | def isin(self, other): method relative_to (line 82) | def relative_to(self, other, *args, **kwargs): class WindowsPathInfo (line 94) | class WindowsPathInfo(PathInfo, pathlib.PureWindowsPath): class PosixPathInfo (line 98) | class PosixPathInfo(PathInfo, pathlib.PurePosixPath): class _URLPathInfo (line 102) | class _URLPathInfo(PosixPathInfo): method __str__ (line 103) | def __str__(self): class _URLPathParents (line 109) | class _URLPathParents: method __init__ (line 110) | def __init__(self, src): method __len__ (line 114) | def __len__(self): method __getitem__ (line 117) | def __getitem__(self, idx): method __repr__ (line 120) | def __repr__(self): class URLInfo (line 124) | class URLInfo(_BasePath): method __init__ (line 132) | def __init__(self, url): method from_parts (line 141) | def from_parts( method _fill_parts (line 153) | def _fill_parts(self, scheme, host, user, port, path): method _base_parts (line 169) | def _base_parts(self): method parts (line 173) | def parts(self): method replace (line 176) | def replace(self, path=None): method url (line 180) | def url(self) -> str: method __str__ (line 183) | def __str__(self): method __repr__ (line 186) | def __repr__(self): method __eq__ (line 189) | def __eq__(self, other): method __hash__ (line 198) | def __hash__(self): method __div__ (line 201) | def __div__(self, other): method joinpath (line 204) | def joinpath(self, *args): method path (line 210) | def path(self): method _path (line 214) | def _path(self) -> "_URLPathInfo": method name (line 218) | def name(self) -> str: method netloc (line 222) | def netloc(self) -> str: method bucket (line 231) | def bucket(self) -> str: method parent (line 235) | def parent(self): method parents (line 239) | def parents(self): method relative_to (line 242) | def relative_to(self, other): method isin (line 253) | def isin(self, other): class CloudURLInfo (line 261) | class CloudURLInfo(URLInfo): method path (line 263) | def path(self): class HTTPURLInfo (line 267) | class HTTPURLInfo(URLInfo): method __init__ (line 270) | def __init__(self, url): method replace (line 278) | def replace(self, path=None): method from_parts (line 288) | def from_parts( method _extra_parts (line 322) | def _extra_parts(self): method parts (line 326) | def parts(self): method url (line 330) | def url(self) -> str: method __eq__ (line 340) | def __eq__(self, other): class WebDAVURLInfo (line 351) | class WebDAVURLInfo(URLInfo): method url (line 353) | def url(self) -> str: FILE: dvc/testing/plugin.py function pytest_generate_tests (line 5) | def pytest_generate_tests(metafunc): function pytest_addoption (line 11) | def pytest_addoption(parser): function pytest_configure (line 17) | def pytest_configure(config): function pytest_report_header (line 23) | def pytest_report_header(config): FILE: dvc/testing/remote_tests.py function _check_status (line 10) | def _check_status(status, **kwargs): class TestRemote (line 16) | class TestRemote: method test (line 17) | def test(self, tmp_dir, dvc, remote): method test_stage_cache_push_pull (line 99) | def test_stage_cache_push_pull(self, tmp_dir, dvc, remote): method test_pull_00_prefix (line 118) | def test_pull_00_prefix(self, tmp_dir, dvc, remote, monkeypatch): method test_pull_no_00_prefix (line 148) | def test_pull_no_00_prefix(self, tmp_dir, dvc, remote, monkeypatch): class TestRemoteVersionAware (line 178) | class TestRemoteVersionAware: method test_file (line 179) | def test_file(self, tmp_dir, dvc, run_copy, remote_version_aware): method test_dir (line 216) | def test_dir(self, tmp_dir, dvc, run_copy, remote_version_aware): # n... class TestRemoteWorktree (line 296) | class TestRemoteWorktree: method test_file (line 297) | def test_file(self, tmp_dir, dvc, remote_worktree): method test_dir (line 312) | def test_dir(self, tmp_dir, dvc, remote_worktree): method test_deletion (line 342) | def test_deletion(self, tmp_dir, dvc, scm, remote_worktree): method test_update (line 371) | def test_update(self, tmp_dir, dvc, remote_worktree): FILE: dvc/testing/scripts.py function _add_script (line 15) | def _add_script(tmp_dir, path, contents=""): function copy_script (line 23) | def copy_script(tmp_dir): FILE: dvc/testing/tmp_dir.py class TmpDir (line 55) | class TmpDir(pathlib.Path): method fs_path (line 59) | def fs_path(self): method url (line 63) | def url(self): method config (line 67) | def config(self): method __new__ (line 72) | def __new__(cls, *args, **kwargs): method init (line 87) | def init(self, *, scm=False, dvc=False, subdir=False): method close (line 107) | def close(self): method _require (line 113) | def _require(self, name): method gen (line 121) | def gen(self, struct, text=""): method _gen (line 127) | def _gen(self, struct, prefix=None): method dvc_gen (line 146) | def dvc_gen(self, struct, text="", commit=None): method scm_gen (line 150) | def scm_gen(self, struct, text="", commit=None, force=False): method commit (line 154) | def commit(self, output_paths, msg, force=False): method dvc_add (line 165) | def dvc_add(self, filenames, commit=None): method scm_add (line 174) | def scm_add(self, filenames, commit=None, force=False): method add_remote (line 184) | def add_remote(self, *, url=None, config=None, name="upstream", defaul... method chdir (line 205) | def chdir(self): method branch (line 214) | def branch(self, name, new=False): method read_text (line 223) | def read_text(self, *args, **kwargs): method oid_to_path (line 234) | def oid_to_path(self, hash_): method dump (line 237) | def dump(self, *args, **kwargs): method parse (line 240) | def parse(self, *args, **kwargs): method modify (line 243) | def modify(self, *args, **kwargs): function make_subrepo (line 254) | def make_subrepo(dir_: TmpDir, scm, config=None): function _coerce_filenames (line 263) | def _coerce_filenames(filenames): class WindowsTmpDir (line 269) | class WindowsTmpDir(TmpDir, pathlib.PureWindowsPath): class PosixTmpDir (line 273) | class PosixTmpDir(TmpDir, pathlib.PurePosixPath): FILE: dvc/testing/workspace_tests.py class TestImport (line 13) | class TestImport: method test_import (line 14) | def test_import(self, tmp_dir, dvc, workspace): method stage_md5 (line 22) | def stage_md5(self): method dir_md5 (line 26) | def dir_md5(self): method test_import_dir (line 29) | def test_import_dir(self, tmp_dir, dvc, workspace, stage_md5, dir_md5): method is_object_storage (line 68) | def is_object_storage(self): method test_import_empty_dir (line 71) | def test_import_empty_dir(self, tmp_dir, dvc, workspace, is_object_sto... class TestImportURLVersionAware (line 89) | class TestImportURLVersionAware: method test_import_file (line 90) | def test_import_file(self, tmp_dir, dvc, remote_version_aware): method test_import_dir (line 124) | def test_import_dir(self, tmp_dir, dvc, remote_version_aware): method test_import_no_download (line 154) | def test_import_no_download(self, tmp_dir, dvc, remote_version_aware, ... function match_files (line 194) | def match_files(fs, entries, expected): class TestLsUrl (line 200) | class TestLsUrl: method test_file (line 202) | def test_file(self, cloud, fname): method test_dir (line 208) | def test_dir(self, cloud): method test_recursive (line 223) | def test_recursive(self, cloud): method test_nonexistent (line 271) | def test_nonexistent(self, cloud): class TestGetUrl (line 276) | class TestGetUrl: method test_get_file (line 277) | def test_get_file(self, cloud, tmp_dir): method test_get_dir (line 285) | def test_get_dir(self, cloud, tmp_dir): method test_get_url_to_dir (line 297) | def test_get_url_to_dir(self, cloud, tmp_dir, dname): method test_get_url_nonexistent (line 308) | def test_get_url_nonexistent(self, cloud): class TestToRemote (line 313) | class TestToRemote: method test_add_to_remote (line 314) | def test_add_to_remote(self, tmp_dir, dvc, remote, workspace): method test_import_url_to_remote_file (line 335) | def test_import_url_to_remote_file(self, tmp_dir, dvc, workspace, remo... method test_import_url_to_remote_dir (line 357) | def test_import_url_to_remote_dir(self, tmp_dir, dvc, workspace, remote): FILE: dvc/ui/__init__.py function disable_colorama (line 22) | def disable_colorama(): class Formatter (line 36) | class Formatter: method __init__ (line 37) | def __init__( method format (line 49) | def format(self, message: str, style: Optional[str] = None, **kwargs) ... class Console (line 55) | class Console: method __init__ (line 56) | def __init__( method enable (line 65) | def enable(self) -> None: method success (line 68) | def success(self, message: str) -> None: method error (line 71) | def error(self, message: str) -> None: method warn (line 74) | def warn(self, message: str) -> None: method error_write (line 77) | def error_write( method write_json (line 96) | def write_json( method rich_print (line 137) | def rich_print( # noqa: PLR0913 method write (line 178) | def write( method rich_text (line 222) | def rich_text(self) -> "type[RichText]": method progress (line 228) | def progress(*args, **kwargs) -> "Tqdm": method pager (line 234) | def pager(self, styles: bool = True) -> Iterator[None]: method prompt (line 244) | def prompt( method confirm (line 267) | def confirm(self, statement: str) -> bool: method rich_console (line 280) | def rich_console(self) -> "RichConsole": method error_console (line 287) | def error_console(self) -> "RichConsole": method table (line 292) | def table( method status (line 334) | def status(self, status: str, **kwargs: Any) -> "Status": method isatty (line 338) | def isatty() -> bool: method open_browser (line 345) | def open_browser(self, file: "StrPath") -> int: FILE: dvc/ui/_rich_progress.py class MofNCompleteColumnWithUnit (line 15) | class MofNCompleteColumnWithUnit(MofNCompleteColumn): method render (line 18) | def render(self, task): class RichProgress (line 24) | class RichProgress(Progress): method clear_task (line 25) | def clear_task(self, task): class RichTransferProgress (line 32) | class RichTransferProgress(RichProgress): method get_renderables (line 47) | def get_renderables(self): class DbDownloadProgress (line 58) | class DbDownloadProgress(RichProgress): method get_renderables (line 71) | def get_renderables(self): FILE: dvc/ui/pager.py function prepare_default_pager (line 20) | def prepare_default_pager( function make_pager (line 45) | def make_pager(cmd=None): function find_pager (line 53) | def find_pager(): function pager (line 87) | def pager(text: str) -> None: class DvcPager (line 93) | class DvcPager(Pager): method show (line 94) | def show(self, content: str) -> None: FILE: dvc/ui/table.py function plain_table (line 25) | def plain_table( function console_width (line 56) | def console_width(table: "Table", console: "RichConsole", val: int) -> I... function rich_table (line 76) | def rich_table( FILE: dvc/updater.py class Updater (line 17) | class Updater: method __init__ (line 23) | def __init__(self, tmp_dir, friendly=False, hardlink_lock=False): method _is_outdated_file (line 35) | def _is_outdated_file(self): method _with_lock (line 42) | def _with_lock(self, func, action): method check (line 56) | def check(self): method _check (line 69) | def _check(self): method fetch (line 89) | def fetch(self, detach=True): method _get_latest_version (line 98) | def _get_latest_version(self): method _notify (line 119) | def _notify(self, latest: str, pkg: Optional[str] = PKG) -> None: method _get_message (line 128) | def _get_message( method _get_update_instructions (line 148) | def _get_update_instructions(pkg: Optional[str] = None) -> str: method is_enabled (line 172) | def is_enabled(self): function notify_updates (line 182) | def notify_updates(): FILE: dvc/utils/__init__.py function bytes_hash (line 21) | def bytes_hash(byts, typ): function dict_filter (line 27) | def dict_filter(d, exclude=()): function dict_hash (line 40) | def dict_hash(d, typ, exclude=()): function dict_md5 (line 46) | def dict_md5(d, **kwargs): function dict_sha256 (line 50) | def dict_sha256(d, **kwargs): function _split (line 54) | def _split(list_to_split, chunk_size): function is_binary (line 63) | def is_binary(): function fix_env (line 67) | def fix_env(env=None): function colorize (line 137) | def colorize(message, color=None, style=None): function boxify (line 161) | def boxify(message, border_color=None): function _visual_width (line 206) | def _visual_width(line): function _visual_center (line 212) | def _visual_center(line, width): function relpath (line 222) | def relpath(path, start=os.curdir): function as_posix (line 233) | def as_posix(path: str) -> str: function env2bool (line 240) | def env2bool(var, undefined=False): function resolve_output (line 250) | def resolve_output(inp: str, out: Optional[str], force=False) -> str: function resolve_paths (line 270) | def resolve_paths(repo, out, always_local=False): function format_link (line 313) | def format_link(link): function error_link (line 319) | def error_link(name): function parse_target (line 323) | def parse_target( function glob_targets (line 363) | def glob_targets(targets, glob=True, recursive=True): function error_handler (line 384) | def error_handler(func): function errored_revisions (line 401) | def errored_revisions(rev_data: dict) -> list: function isatty (line 411) | def isatty(stream: "Optional[TextIO]") -> bool: FILE: dvc/utils/cli_parse.py function parse_params (line 5) | def parse_params(path_params: Iterable[str]) -> list[dict[str, list[str]]]: function to_path_overrides (line 20) | def to_path_overrides(path_params: Iterable[str]) -> dict[str, list[str]]: FILE: dvc/utils/collections.py function apply_diff (line 6) | def apply_diff(src, dest): # noqa: C901 function to_omegaconf (line 46) | def to_omegaconf(item): function remove_missing_keys (line 59) | def remove_missing_keys(src, to_update): function _merge_item (line 70) | def _merge_item(d, key, value): function merge_dicts (line 81) | def merge_dicts(src: dict, to_update: dict) -> dict: function ensure_list (line 93) | def ensure_list(item: Union[Iterable[str], str, None]) -> list[str]: function nested_contains (line 101) | def nested_contains(dictionary: dict, phrase: str) -> bool: FILE: dvc/utils/diff.py function _parse (line 7) | def _parse(raw): function _diff_vals (line 18) | def _diff_vals(old, new, with_unchanged): function _flatten (line 32) | def _flatten(d): function _diff_dicts (line 42) | def _diff_dicts(old_dict, new_dict, with_unchanged): function _diff (line 59) | def _diff(old_raw, new_raw, with_unchanged): function diff (line 73) | def diff(old, new, with_unchanged=False): function format_dict (line 89) | def format_dict(d): FILE: dvc/utils/flatten.py function flatten (line 1) | def flatten(d): function unflatten (line 7) | def unflatten(d): FILE: dvc/utils/fs.py class BasePathNotInCheckedPathException (line 17) | class BasePathNotInCheckedPathException(DvcException): method __init__ (line 18) | def __init__(self, path, base_path): function contains_symlink_up_to (line 23) | def contains_symlink_up_to(path: "StrPath", base_path: "StrPath"): function _chmod (line 41) | def _chmod(func, p, excinfo): # noqa: ARG001 function _unlink (line 55) | def _unlink(path, onerror): function remove (line 62) | def remove(path): function path_isin (line 75) | def path_isin(child: "StrPath", parent: "StrPath") -> bool: FILE: dvc/utils/humanize.py function join (line 4) | def join(words): function get_summary (line 16) | def get_summary(stats): function truncate_text (line 29) | def truncate_text(text: str, max_length: int, with_ellipsis: bool = True... function naturalsize (line 36) | def naturalsize(value: float, base: int = 1024) -> str: FILE: dvc/utils/hydra.py function load_hydra_plugins (line 16) | def load_hydra_plugins(plugins_path: str): function compose_and_dump (line 28) | def compose_and_dump( function apply_overrides (line 83) | def apply_overrides(path: "StrPath", overrides: list[str]) -> None: function to_hydra_overrides (line 123) | def to_hydra_overrides(path_overrides): function dict_product (line 130) | def dict_product(dicts): function get_hydra_sweeps (line 136) | def get_hydra_sweeps(path_overrides): FILE: dvc/utils/packaging.py function check_required_version (line 11) | def check_required_version(pkg: str, dist: str = "dvc", log_level=loggin... FILE: dvc/utils/plots.py function get_plot_id (line 4) | def get_plot_id(config_plot_id: str, config_file_path: str = ""): function group_definitions_by_id (line 10) | def group_definitions_by_id( FILE: dvc/utils/serialize/__init__.py function load_path (line 22) | def load_path(fs_path, fs, **kwargs): FILE: dvc/utils/serialize/_common.py class DumperFn (line 16) | class DumperFn(Protocol): method __call__ (line 17) | def __call__( class DumpersFn (line 22) | class DumpersFn(Protocol): method __call__ (line 23) | def __call__(self, data: Any, stream: TextIO) -> Any: ... class ModifierFn (line 26) | class ModifierFn(Protocol): method __call__ (line 27) | def __call__( class LoaderFn (line 32) | class LoaderFn(Protocol): method __call__ (line 33) | def __call__(self, path: "StrPath", fs: Optional["FileSystem"] = None)... class ParseError (line 40) | class ParseError(DvcException): method __init__ (line 43) | def __init__(self, path: "StrPath", message: str): class EncodingError (line 51) | class EncodingError(ParseError): method __init__ (line 54) | def __init__(self, path: "StrPath", encoding: str): function _load_data (line 59) | def _load_data( function _dump_data (line 69) | def _dump_data( function _modify_data (line 82) | def _modify_data( FILE: dvc/utils/serialize/_json.py class JSONFileCorruptedError (line 8) | class JSONFileCorruptedError(ParseError): method __init__ (line 9) | def __init__(self, path): function load_json (line 13) | def load_json(path, fs=None, **kwargs): function parse_json (line 17) | def parse_json(text, path, **kwargs): function _dump_json (line 22) | def _dump_json(data, stream, **kwargs): function dump_json (line 26) | def dump_json(path, data, fs=None, **kwargs): function modify_json (line 31) | def modify_json(path, fs=None): function encode_exception (line 36) | def encode_exception(o): FILE: dvc/utils/serialize/_py.py class PythonFileCorruptedError (line 13) | class PythonFileCorruptedError(ParseError): method __init__ (line 14) | def __init__(self, path, message="Python file structure is corrupted"): function load_py (line 18) | def load_py(path, fs=None, **kwargs): function parse_py (line 22) | def parse_py(text, path): function parse_py_for_update (line 30) | def parse_py_for_update(text, path): function _dump (line 41) | def _dump(data, stream): function dump_py (line 78) | def dump_py(path, data, fs=None): function modify_py (line 83) | def modify_py(path, fs=None): function _ast_tree_to_dict (line 88) | def _ast_tree_to_dict(tree, only_self_params=False, lineno=False): function _ast_assign_to_dict (line 114) | def _ast_assign_to_dict(assign, only_self_params=False, lineno=False): ... function _get_ast_name (line 155) | def _get_ast_name(target, only_self_params=False): FILE: dvc/utils/serialize/_toml.py class TOMLFileCorruptedError (line 8) | class TOMLFileCorruptedError(ParseError): method __init__ (line 9) | def __init__(self, path): function load_toml (line 13) | def load_toml(path, fs=None, **kwargs): function _parse_toml (line 17) | def _parse_toml(text, path): function parse_toml (line 25) | def parse_toml(text, path, preserve_comments=False): function parse_toml_for_update (line 34) | def parse_toml_for_update(text, path): function _dump (line 38) | def _dump(data, stream, sort_keys=False): function dump_toml (line 44) | def dump_toml(path, data, fs=None, **kwargs): function modify_toml (line 49) | def modify_toml(path, fs=None): FILE: dvc/utils/serialize/_yaml.py class YAMLError (line 11) | class YAMLError(ParseError): class YAMLFileCorruptedError (line 15) | class YAMLFileCorruptedError(YAMLError): method __init__ (line 16) | def __init__(self, path): function load_yaml (line 20) | def load_yaml(path, fs=None, **kwargs): function parse_yaml (line 24) | def parse_yaml(text, path, typ="safe"): function parse_yaml_for_update (line 33) | def parse_yaml_for_update(text, path): function _get_yaml (line 45) | def _get_yaml(): function _dump (line 57) | def _dump(data: Any, stream: TextIO) -> Any: function dump_yaml (line 62) | def dump_yaml(path, data, fs=None, **kwargs): function loads_yaml (line 66) | def loads_yaml(s, typ="safe"): function dumps_yaml (line 72) | def dumps_yaml(d): function modify_yaml (line 79) | def modify_yaml(path, fs=None): FILE: dvc/utils/strictyaml.py function make_relpath (line 38) | def make_relpath(fs_path: str, fs: "Optional[FileSystem]" = None) -> str: function _prepare_message (line 59) | def _prepare_message(message: str) -> "RichText": function _prepare_cause (line 63) | def _prepare_cause(cause: str) -> "RichText": function _prepare_code_snippets (line 67) | def _prepare_code_snippets(code: str, start_line: int = 1, **kwargs: Any... class YAMLSyntaxError (line 82) | class YAMLSyntaxError(PrettyDvcException, YAMLFileCorruptedError): method __init__ (line 83) | def __init__( method __pretty_exc__ (line 99) | def __pretty_exc__(self, **kwargs: Any) -> None: # noqa: C901 function determine_linecol (line 154) | def determine_linecol( class YAMLValidationError (line 199) | class YAMLValidationError(PrettyDvcException): method __init__ (line 200) | def __init__( method _prepare_context (line 218) | def _prepare_context(self, data: typing.Mapping) -> list[object]: method __pretty_exc__ (line 242) | def __pretty_exc__(self, **kwargs: Any) -> None: function validate (line 266) | def validate( function load (line 281) | def load( FILE: dvc/utils/studio.py function post (line 29) | def post( function notify_refs (line 51) | def notify_refs( function config_to_env (line 95) | def config_to_env(config: dict[str, Any]) -> dict[str, Any]: function env_to_config (line 108) | def env_to_config(env: dict[str, Any]) -> dict[str, Any]: function get_subrepo_relpath (line 121) | def get_subrepo_relpath(repo: "Repo") -> str: function get_repo_url (line 131) | def get_repo_url(repo: "Repo") -> str: FILE: dvc/utils/table.py class Table (line 9) | class Table(RichTable): method add_column (line 10) | def add_column(self, *args: Any, collapse: bool = False, **kwargs: Any... method _calculate_column_widths (line 14) | def _calculate_column_widths( method _collapse_widths (line 48) | def _collapse_widths( # type: ignore[override] FILE: dvc/utils/threadpool.py class ThreadPoolExecutor (line 9) | class ThreadPoolExecutor(futures.ThreadPoolExecutor): method __init__ (line 10) | def __init__( method imap_unordered (line 19) | def imap_unordered( method __exit__ (line 38) | def __exit__(self, exc_type, exc_val, exc_tb): FILE: tests/conftest.py function reset_loglevel (line 39) | def reset_loglevel(request, caplog): function enable_ui (line 57) | def enable_ui(): function clean_repos (line 64) | def clean_repos(): function _get_opt (line 70) | def _get_opt(remote_name, action): function pytest_addoption (line 74) | def pytest_addoption(parser): class DVCTestConfig (line 101) | class DVCTestConfig: method __init__ (line 102) | def __init__(self): method requires (line 105) | def requires(self, remote_name): method apply_marker (line 111) | def apply_marker(self, marker): function pytest_runtest_setup (line 115) | def pytest_runtest_setup(item): function test_config (line 130) | def test_config(request): function pytest_configure (line 134) | def pytest_configure(config): function custom_template (line 165) | def custom_template(tmp_dir, dvc): function mocked_webbrowser_open (line 174) | def mocked_webbrowser_open(mocker): function isolate (line 179) | def isolate(tmp_path_factory): function run_copy_metrics (line 223) | def run_copy_metrics(tmp_dir, copy_script): FILE: tests/dir_helpers.py function run_head (line 61) | def run_head(tmp_dir, head_script, dvc): function erepo_dir (line 78) | def erepo_dir(make_tmp_dir): function git_dir (line 83) | def git_dir(make_tmp_dir): class GitRemote (line 89) | class GitRemote: method __init__ (line 90) | def __init__(self, tmp_dir, name, url): function git_upstream (line 97) | def git_upstream(tmp_dir, erepo_dir, git_dir, request): function git_downstream (line 105) | def git_downstream(tmp_dir, erepo_dir, git_dir, request): FILE: tests/func/api/test_artifacts.py function test_artifacts_show (line 12) | def test_artifacts_show(tmp_dir, dvc, scm, sub): function test_artifacts_show_subrepo (line 44) | def test_artifacts_show_subrepo(tmp_dir, scm, sub): FILE: tests/func/api/test_data.py function test_get_url_external (line 14) | def test_get_url_external(tmp_dir, erepo_dir, cloud): function test_get_url_requires_dvc (line 25) | def test_get_url_requires_dvc(tmp_dir, scm): function test_get_url_from_remote (line 35) | def test_get_url_from_remote(tmp_dir, erepo_dir, cloud, local_cloud): function test_get_url_ignore_scm (line 69) | def test_get_url_ignore_scm(tmp_dir, dvc, cloud, scm): function test_open_external (line 97) | def test_open_external(tmp_dir, erepo_dir, cloud): function test_open_granular (line 120) | def test_open_granular(tmp_dir, dvc, remote): function test_missing (line 131) | def test_missing(tmp_dir, dvc, remote): function test_open_scm_controlled (line 145) | def test_open_scm_controlled(tmp_dir, erepo_dir): function test_open_not_cached (line 152) | def test_open_not_cached(dvc): function test_open_rev (line 170) | def test_open_rev(tmp_dir, scm, dvc): function test_api_missing_local_cache_exists_on_remote (line 188) | def test_api_missing_local_cache_exists_on_remote( function test_read_with_subrepos (line 204) | def test_read_with_subrepos(tmp_dir, scm, local_cloud, local_repo): function test_get_url_granular (line 228) | def test_get_url_granular(tmp_dir, dvc, cloud): function test_get_url_subrepos (line 253) | def test_get_url_subrepos(tmp_dir, scm, local_cloud): function test_open_from_remote (line 273) | def test_open_from_remote(tmp_dir, erepo_dir, cloud, local_cloud): function test_read_from_remote (line 295) | def test_read_from_remote(tmp_dir, erepo_dir, cloud, local_cloud): FILE: tests/func/api/test_experiments.py function test_exp_save (line 10) | def test_exp_save(tmp_dir, dvc, scm): function test_exp_show (line 24) | def test_exp_show(tmp_dir, dvc, scm, exp_stage): # noqa: F811 FILE: tests/func/api/test_scm.py function test_all_branches (line 4) | def test_all_branches(tmp_dir, scm, dvc): function test_all_commits (line 13) | def test_all_commits(tmp_dir, scm, dvc): function test_all_tags (line 23) | def test_all_tags(tmp_dir, scm, dvc): FILE: tests/func/api/test_show.py function params_repo (line 29) | def params_repo(tmp_dir, scm, dvc): function metrics_repo (line 51) | def metrics_repo(tmp_dir, scm, dvc, run_copy_metrics): function test_params_show_no_args (line 116) | def test_params_show_no_args(params_repo): function test_params_show_targets (line 125) | def test_params_show_targets(params_repo): function test_params_show_deps (line 135) | def test_params_show_deps(params_repo): function test_params_show_stages (line 145) | def test_params_show_stages(params_repo): function test_params_show_stage_addressing (line 157) | def test_params_show_stage_addressing(tmp_dir, dvc): function test_params_show_revs (line 178) | def test_params_show_revs(params_repo): function test_params_show_while_running_stage (line 187) | def test_params_show_while_running_stage(tmp_dir, dvc): function test_params_show_repo (line 214) | def test_params_show_repo(tmp_dir, erepo_dir): function test_params_show_no_params_found (line 221) | def test_params_show_no_params_found(tmp_dir, dvc): function test_params_show_stage_without_params (line 235) | def test_params_show_stage_without_params(tmp_dir, dvc): function test_params_show_untracked_target (line 245) | def test_params_show_untracked_target(params_repo, tmp_dir): function test_metrics_show_no_args (line 253) | def test_metrics_show_no_args(metrics_repo): function test_metrics_show_targets (line 263) | def test_metrics_show_targets(metrics_repo): function test_metrics_show_no_metrics_found (line 275) | def test_metrics_show_no_metrics_found(tmp_dir, dvc): function test_metrics_show_rev_without_metrics (line 284) | def test_metrics_show_rev_without_metrics(metrics_repo): function test_metrics_show_rev_with_metrics (line 288) | def test_metrics_show_rev_with_metrics(metrics_repo): function test_metrics_show_dirty_working_dir (line 311) | def test_metrics_show_dirty_working_dir(metrics_repo, tmp_dir): FILE: tests/func/artifacts/test_artifacts.py function test_artifacts_read_subdir (line 30) | def test_artifacts_read_subdir(tmp_dir, dvc): function test_artifacts_read_bad_name (line 47) | def test_artifacts_read_bad_name(tmp_dir, dvc, caplog): function test_artifacts_add_subdir (line 63) | def test_artifacts_add_subdir(tmp_dir, dvc): function test_artifacts_add_abspath (line 79) | def test_artifacts_add_abspath(tmp_dir, dvc): function test_artifacts_add_fails_on_dvc_subrepo (line 93) | def test_artifacts_add_fails_on_dvc_subrepo(tmp_dir, dvc): function test_broken_dvcyaml_extra_field (line 124) | def test_broken_dvcyaml_extra_field(tmp_dir, dvc, bad_dvcyaml): function test_artifacts_read_fails_on_id_duplication (line 139) | def test_artifacts_read_fails_on_id_duplication(tmp_dir, dvc): function test_name_is_compatible (line 150) | def test_name_is_compatible(name): function test_name_is_compatible_fails (line 170) | def test_name_is_compatible_fails(name): function test_get_rev (line 175) | def test_get_rev(tmp_dir, dvc, scm): function test_get_path (line 191) | def test_get_path(tmp_dir, dvc, scm): function test_parametrized (line 204) | def test_parametrized(tmp_dir, dvc): function test_get_path_subrepo (line 214) | def test_get_path_subrepo(tmp_dir, scm, dvc): function get_tag_and_name (line 234) | def get_tag_and_name(dirname, name, version): function make_artifact (line 241) | def make_artifact(tmp_dir, name, tag, path) -> Artifact: function test_artifacts_download (line 253) | def test_artifacts_download(tmp_dir, dvc, scm, sub): function test_artifacts_download_subrepo (line 269) | def test_artifacts_download_subrepo(tmp_dir, scm, sub): function test_artifacts_download_studio (line 287) | def test_artifacts_download_studio(monkeypatch, tmp_dir, dvc, mocker, tm... FILE: tests/func/data/db/test_index.py function index (line 11) | def index(tmp_dir, dvc, local_remote): function test_indexed_on_status (line 16) | def test_indexed_on_status(tmp_dir, dvc, index): function test_indexed_on_push (line 29) | def test_indexed_on_push(tmp_dir, dvc, index): function test_indexed_dir_missing (line 40) | def test_indexed_dir_missing(tmp_dir, dvc, index): function test_clear_on_gc (line 47) | def test_clear_on_gc(tmp_dir, dvc, index): function test_clear_on_download_err (line 57) | def test_clear_on_download_err(tmp_dir, dvc, index, mocker): function test_partial_upload (line 73) | def test_partial_upload(tmp_dir, dvc, index, mocker): FILE: tests/func/experiments/conftest.py function http_auth_patch (line 14) | def http_auth_patch(mocker): function workspace (line 28) | def workspace(request, session_queue) -> bool: # noqa: F811 function params_repo (line 33) | def params_repo(tmp_dir, scm, dvc): FILE: tests/func/experiments/test_apply.py function test_apply (line 7) | def test_apply(tmp_dir, scm, dvc, exp_stage): function test_apply_failed (line 29) | def test_apply_failed(tmp_dir, scm, dvc, failed_exp_stage, mocker): function test_apply_queued (line 60) | def test_apply_queued(tmp_dir, scm, dvc, exp_stage): function test_apply_untracked (line 82) | def test_apply_untracked(tmp_dir, scm, dvc, exp_stage): function test_apply_unchanged_head (line 93) | def test_apply_unchanged_head(tmp_dir, scm, dvc, exp_stage): FILE: tests/func/experiments/test_diff.py function test_diff_empty (line 4) | def test_diff_empty(tmp_dir, scm, dvc, exp_stage): function test_diff_head (line 8) | def test_diff_head(tmp_dir, scm, dvc, exp_stage): function test_diff_exp (line 18) | def test_diff_exp(tmp_dir, scm, dvc, exp_stage): FILE: tests/func/experiments/test_experiments.py function test_new_simple (line 35) | def test_new_simple(tmp_dir, scm, dvc, exp_stage, mocker, name, workspace): function test_experiment_exists (line 61) | def test_experiment_exists(tmp_dir, scm, dvc, exp_stage, mocker, workspa... function test_file_permissions (line 94) | def test_file_permissions(tmp_dir, scm, dvc, exp_stage, mocker): function test_failed_exp_workspace (line 105) | def test_failed_exp_workspace(tmp_dir, scm, dvc, failed_exp_stage, mocke... function test_get_baseline (line 114) | def test_get_baseline(tmp_dir, scm, dvc, exp_stage): function test_update_py_params (line 139) | def test_update_py_params(tmp_dir, scm, dvc, session_queue, copy_script): function test_detached_parent (line 223) | def test_detached_parent(tmp_dir, scm, dvc, exp_stage, mocker): function test_branch (line 240) | def test_branch(tmp_dir, scm, dvc, exp_stage): function test_no_scm (line 276) | def test_no_scm(tmp_dir): function test_untracked (line 297) | def test_untracked(tmp_dir, scm, dvc, caplog, workspace, copy_script): function test_packed_args_exists (line 330) | def test_packed_args_exists(tmp_dir, scm, dvc, exp_stage, caplog): function test_list (line 346) | def test_list(tmp_dir, scm, dvc, exp_stage): function test_subdir (line 391) | def test_subdir(tmp_dir, scm, dvc, workspace): function test_subrepo (line 425) | def test_subrepo(tmp_dir, request, scm, workspace): function test_run_celery (line 464) | def test_run_celery(tmp_dir, scm, dvc, exp_stage, mocker): function test_checkout_targets_deps (line 484) | def test_checkout_targets_deps(tmp_dir, scm, dvc, exp_stage): function test_fix_exp_head (line 506) | def test_fix_exp_head(tmp_dir, scm, tail): function test_modified_data_dep (line 523) | def test_modified_data_dep(tmp_dir, scm, dvc, workspace, params, target,... function test_exp_run_recursive (line 567) | def test_exp_run_recursive(tmp_dir, scm, dvc, run_copy_metrics): function test_experiment_name_invalid (line 580) | def test_experiment_name_invalid(tmp_dir, scm, dvc, exp_stage, mocker): function test_experiments_workspace_not_log_exception (line 589) | def test_experiments_workspace_not_log_exception(caplog, dvc, scm): function test_run_env (line 602) | def test_run_env(tmp_dir, dvc, scm, mocker): function test_experiment_unchanged (line 654) | def test_experiment_unchanged(tmp_dir, scm, dvc, exp_stage): function test_experiment_run_dry (line 661) | def test_experiment_run_dry(tmp_dir, scm, dvc, exp_stage, mocker): function test_clean (line 669) | def test_clean(tmp_dir, scm, dvc, mocker): function test_experiment_no_commit (line 675) | def test_experiment_no_commit(tmp_dir): function test_local_config_is_propagated_to_tmp (line 692) | def test_local_config_is_propagated_to_tmp(tmp_dir, scm, dvc): function test_untracked_top_level_files_are_included_in_exp (line 711) | def test_untracked_top_level_files_are_included_in_exp(tmp_dir, scm, dvc... function test_copy_paths (line 728) | def test_copy_paths(tmp_dir, scm, dvc, tmp): function test_copy_paths_errors (line 747) | def test_copy_paths_errors(tmp_dir, scm, dvc, mocker): function test_mixed_git_dvc_out (line 761) | def test_mixed_git_dvc_out(tmp_dir, scm, dvc, exp_stage): function test_custom_commit_message (line 788) | def test_custom_commit_message(tmp_dir, scm, dvc, tmp): function test_experiments_run_with_submodule_dependencies (line 801) | def test_experiments_run_with_submodule_dependencies(dvc, scm, make_tmp_... function test_experiments_run_in_linked_git_worktree (line 816) | def test_experiments_run_in_linked_git_worktree( FILE: tests/func/experiments/test_queue.py function to_dict (line 5) | def to_dict(tasks): function test_celery_logs (line 13) | def test_celery_logs(tmp_dir, scm, dvc, failed_exp_stage, follow, capsys... function test_queue_doesnt_remove_untracked_params_file (line 28) | def test_queue_doesnt_remove_untracked_params_file(tmp_dir, dvc, scm): function test_copy_paths_queue (line 38) | def test_copy_paths_queue(tmp_dir, scm, dvc): function test_custom_commit_message_queue (line 57) | def test_custom_commit_message_queue(tmp_dir, scm, dvc): FILE: tests/func/experiments/test_remote.py function test_push (line 11) | def test_push(tmp_dir, scm, dvc, git_upstream, exp_stage, use_url): function test_push_args (line 46) | def test_push_args(tmp_dir, scm, dvc, git_upstream, exp_stage, all_, rev... function test_push_multi_rev (line 73) | def test_push_multi_rev(tmp_dir, scm, dvc, git_upstream, exp_stage): function test_push_diverged (line 96) | def test_push_diverged(tmp_dir, scm, dvc, git_upstream, exp_stage): function test_push_ambiguous_name (line 117) | def test_push_ambiguous_name(tmp_dir, scm, dvc, git_upstream, exp_stage): function test_list_remote (line 144) | def test_list_remote(tmp_dir, scm, dvc, git_downstream, exp_stage, use_u... function test_pull (line 181) | def test_pull(tmp_dir, scm, dvc, git_downstream, exp_stage, use_url): function test_pull_args (line 219) | def test_pull_args(tmp_dir, scm, dvc, git_downstream, exp_stage, all_, r... function test_pull_multi_rev (line 248) | def test_pull_multi_rev(tmp_dir, scm, dvc, git_downstream, exp_stage): function test_pull_diverged (line 272) | def test_pull_diverged(tmp_dir, scm, dvc, git_downstream, exp_stage): function test_pull_ambiguous_name (line 290) | def test_pull_ambiguous_name(tmp_dir, scm, dvc, git_downstream, exp_stage): function test_auth_error_list (line 315) | def test_auth_error_list(tmp_dir, scm, dvc, http_auth_patch): function test_auth_error_pull (line 325) | def test_auth_error_pull(tmp_dir, scm, dvc, http_auth_patch): function test_auth_error_push (line 335) | def test_auth_error_push(tmp_dir, scm, dvc, exp_stage, http_auth_patch): function test_get (line 350) | def test_get(tmp_dir, scm, dvc, exp_stage, erepo_dir, use_ref): function test_push_pull_invalid_workspace (line 362) | def test_push_pull_invalid_workspace( function test_auto_push_on_run (line 379) | def test_auto_push_on_run( function test_auto_push_on_save (line 397) | def test_auto_push_on_save( function test_auto_push_misconfigured (line 413) | def test_auto_push_misconfigured( function test_auto_push_tmp_dir (line 426) | def test_auto_push_tmp_dir(tmp_dir, scm, dvc, git_upstream, local_remote... FILE: tests/func/experiments/test_remove.py function test_remove_experiments_by_ref (line 9) | def test_remove_experiments_by_ref(tmp_dir, scm, dvc, exp_stage, caplog): function test_remove_all_queued_experiments (line 32) | def test_remove_all_queued_experiments(tmp_dir, scm, dvc, exp_stage): function test_remove_all_experiments_queued_and_completed (line 46) | def test_remove_all_experiments_queued_and_completed(tmp_dir, scm, dvc, ... function test_remove_special_queued_experiments (line 66) | def test_remove_special_queued_experiments(tmp_dir, scm, dvc, exp_stage): function test_remove_all (line 101) | def test_remove_all(tmp_dir, scm, dvc, exp_stage): function test_remove_remote (line 122) | def test_remove_remote(tmp_dir, scm, dvc, exp_stage, git_upstream, use_u... function test_remove_experiments_by_rev (line 151) | def test_remove_experiments_by_rev(tmp_dir, scm, dvc, exp_stage): function test_remove_multi_rev (line 181) | def test_remove_multi_rev(tmp_dir, scm, dvc, exp_stage): function test_keep_selected_by_name (line 213) | def test_keep_selected_by_name(tmp_dir, scm, dvc, exp_stage, keep, expec... function test_keep_selected_by_nonexistent_name (line 233) | def test_keep_selected_by_nonexistent_name(tmp_dir, scm, dvc, exp_stage): function test_keep_selected_by_rev (line 252) | def test_keep_selected_by_rev( function test_remove_with_queue_and_keep (line 280) | def test_remove_with_queue_and_keep(tmp_dir, scm, dvc, exp_stage): FILE: tests/func/experiments/test_rename.py function test_rename_experiment_by_name (line 11) | def test_rename_experiment_by_name(scm, dvc, exp_stage): function test_same_name (line 22) | def test_same_name(dvc, exp_stage): function test_existing_name (line 27) | def test_existing_name(dvc, exp_stage): function test_invalid_name (line 37) | def test_invalid_name(dvc, exp_stage): FILE: tests/func/experiments/test_save.py function setup_stage (line 9) | def setup_stage(tmp_dir, dvc, scm): function test_exp_save_unchanged (line 16) | def test_exp_save_unchanged(tmp_dir, dvc, scm): function test_exp_save (line 22) | def test_exp_save(tmp_dir, dvc, scm, name): function test_exp_save_overwrite_experiment (line 36) | def test_exp_save_overwrite_experiment(tmp_dir, dvc, scm): function test_exp_save_invalid_name (line 58) | def test_exp_save_invalid_name(tmp_dir, dvc, scm, name): function test_exp_save_after_commit (line 64) | def test_exp_save_after_commit(tmp_dir, dvc, scm): function test_exp_save_with_staged_changes (line 78) | def test_exp_save_with_staged_changes(tmp_dir, dvc, scm): function test_exp_save_include_untracked (line 95) | def test_exp_save_include_untracked(tmp_dir, dvc, scm): function test_exp_save_include_untracked_warning (line 107) | def test_exp_save_include_untracked_warning(tmp_dir, dvc, scm, mocker): function test_untracked_top_level_files_are_included_in_exp (line 122) | def test_untracked_top_level_files_are_included_in_exp(tmp_dir, scm, dvc): function test_untracked_dvclock_is_included_in_exp (line 138) | def test_untracked_dvclock_is_included_in_exp(tmp_dir, scm, dvc): function test_exp_save_include_untracked_force (line 152) | def test_exp_save_include_untracked_force(tmp_dir, dvc, scm): function test_exp_save_custom_message (line 164) | def test_exp_save_custom_message(tmp_dir, dvc, scm): function test_exp_save_target (line 171) | def test_exp_save_target(tmp_dir, dvc, scm): FILE: tests/func/experiments/test_set_params.py function test_modify_params (line 14) | def test_modify_params(params_repo, dvc, changes, expected): function test_hydra_compose_and_dump (line 30) | def test_hydra_compose_and_dump( function test_hydra_sweep (line 101) | def test_hydra_sweep( function test_hydra_sweep_requires_queue (line 125) | def test_hydra_sweep_requires_queue(params_repo, dvc): function test_hydra_sweep_prefix_name (line 133) | def test_hydra_sweep_prefix_name(tmp_dir, params_repo, dvc): function test_mixing_no_hydra_and_params_flags (line 144) | def test_mixing_no_hydra_and_params_flags(tmp_dir, params_repo, dvc): function test_mixing_no_hydra_and_sweeps (line 191) | def test_mixing_no_hydra_and_sweeps( FILE: tests/func/experiments/test_show.py function make_executor_info (line 26) | def make_executor_info(**kwargs): function make_executor (line 40) | def make_executor(local=None, **kwargs): function make_data (line 57) | def make_data(params=None, **kwargs): function test_show_branch_and_tag_name (line 73) | def test_show_branch_and_tag_name(tmp_dir, scm, dvc, exp_stage): function test_show (line 90) | def test_show(tmp_dir, scm, dvc, exp_stage): function test_show_experiment (line 115) | def test_show_experiment(tmp_dir, scm, dvc, exp_stage, workspace): function test_show_queued (line 151) | def test_show_queued(tmp_dir, scm, dvc, exp_stage): function test_show_failed_experiment (line 216) | def test_show_failed_experiment(tmp_dir, scm, dvc, failed_exp_stage, tes... function test_show_filter (line 246) | def test_show_filter(tmp_dir, scm, dvc, capsys, copy_script): function test_show_multiple_commits (line 314) | def test_show_multiple_commits(tmp_dir, scm, dvc, exp_stage): function test_show_sort (line 333) | def test_show_sort(tmp_dir, scm, dvc, exp_stage, caplog): function test_show_sort_metric_sep (line 349) | def test_show_sort_metric_sep(tmp_dir, scm, dvc, caplog): function test_show_running (line 372) | def test_show_running( function test_show_with_broken_repo (line 420) | def test_show_with_broken_repo(tmp_dir, scm, dvc, exp_stage, caplog): function test_show_csv (line 433) | def test_show_csv(tmp_dir, scm, dvc, exp_stage, capsys): function test_show_only_changed (line 478) | def test_show_only_changed(tmp_dir, dvc, scm, capsys, copy_script): function test_show_outs (line 522) | def test_show_outs(tmp_dir, dvc, scm, erepo_dir, copy_script): function test_metrics_renaming (line 626) | def test_metrics_renaming(tmp_dir, dvc, scm, capsys, copy_script): function test_show_sorted_deps (line 681) | def test_show_sorted_deps(tmp_dir, dvc, scm, capsys): function test_show_queued_error (line 696) | def test_show_queued_error(tmp_dir, scm, dvc, exp_stage, mocker): function test_show_completed_error (line 726) | def test_show_completed_error(tmp_dir, scm, dvc, exp_stage, mocker): function test_show_baseline_error (line 749) | def test_show_baseline_error(tmp_dir, scm, dvc, exp_stage, mocker): FILE: tests/func/experiments/test_stash_exp.py function test_deleted (line 10) | def test_deleted(tmp_dir, scm, dvc, tmp, staged): function test_modified (line 30) | def test_modified(tmp_dir, scm, dvc, caplog, tmp, staged): function test_staged_new_file (line 47) | def test_staged_new_file(tmp_dir, scm, dvc, tmp): FILE: tests/func/experiments/test_utils.py function test_generate_random_exp_name (line 4) | def test_generate_random_exp_name(tmp_dir, dvc, scm, exp_stage, mocker): FILE: tests/func/metrics/test_diff.py function test_metrics_diff_simple (line 12) | def test_metrics_diff_simple(tmp_dir, scm, dvc, run_copy_metrics): function test_metrics_diff_yaml (line 29) | def test_metrics_diff_yaml(tmp_dir, scm, dvc, run_copy_metrics): function test_metrics_diff_json (line 55) | def test_metrics_diff_json(tmp_dir, scm, dvc, run_copy_metrics): function test_metrics_diff_json_unchanged (line 80) | def test_metrics_diff_json_unchanged(tmp_dir, scm, dvc, run_copy_metrics): function test_metrics_diff_broken_json (line 99) | def test_metrics_diff_broken_json(tmp_dir, scm, dvc, run_copy_metrics): function test_metrics_diff_no_metrics (line 124) | def test_metrics_diff_no_metrics(tmp_dir, scm, dvc): function test_metrics_diff_new_metric (line 129) | def test_metrics_diff_new_metric(tmp_dir, scm, dvc, run_copy_metrics): function test_metrics_diff_deleted_metric (line 147) | def test_metrics_diff_deleted_metric(tmp_dir, scm, dvc, run_copy_metrics): function test_metrics_diff_with_unchanged (line 172) | def test_metrics_diff_with_unchanged(tmp_dir, scm, dvc, run_copy_metrics): function test_no_commits (line 195) | def test_no_commits(tmp_dir): function test_metrics_diff_dirty (line 205) | def test_metrics_diff_dirty(tmp_dir, scm, dvc, run_copy_metrics): function test_metrics_diff_cli (line 224) | def test_metrics_diff_cli(tmp_dir, scm, dvc, run_copy_metrics, caplog, c... function test_metrics_diff_non_metrics (line 248) | def test_metrics_diff_non_metrics(tmp_dir, scm, dvc): function test_diff_top_level_metrics (line 270) | def test_diff_top_level_metrics(tmp_dir, dvc, scm, dvcfile, metrics_file): function test_metrics_diff_active_branch_unchanged (line 287) | def test_metrics_diff_active_branch_unchanged(tmp_dir, scm, dvc, run_cop... FILE: tests/func/metrics/test_show.py function test_show_simple (line 20) | def test_show_simple(tmp_dir, dvc, run_copy_metrics): function test_show_simple_from_subdir (line 28) | def test_show_simple_from_subdir(tmp_dir, dvc, run_copy_metrics): function test_show (line 53) | def test_show(tmp_dir, dvc, run_copy_metrics): function test_show_toml (line 63) | def test_show_toml(tmp_dir, dvc, run_copy_metrics): function test_show_targets (line 73) | def test_show_targets(tmp_dir, dvc, run_copy_metrics): function test_show_multiple (line 83) | def test_show_multiple(tmp_dir, dvc, run_copy_metrics): function test_show_branch (line 93) | def test_show_branch(tmp_dir, scm, dvc, run_copy_metrics): function test_show_subrepo_with_preexisting_tags (line 113) | def test_show_subrepo_with_preexisting_tags(tmp_dir, scm): function test_missing_cache (line 148) | def test_missing_cache(tmp_dir, dvc, run_copy_metrics): function test_show_non_metric (line 171) | def test_show_non_metric(tmp_dir, scm, use_dvc): function test_show_non_metric_branch (line 188) | def test_show_non_metric_branch(tmp_dir, scm, use_dvc): function test_non_metric_and_dir_show (line 207) | def test_non_metric_and_dir_show(tmp_dir, dvc, run_copy_metrics): function test_show_falsey (line 224) | def test_show_falsey(tmp_dir, dvc): function test_show_no_repo (line 231) | def test_show_no_repo(tmp_dir): function test_show_malformed_metric (line 241) | def test_show_malformed_metric(tmp_dir, scm, dvc, caplog): function test_metrics_show_no_target (line 250) | def test_metrics_show_no_target(tmp_dir, dvc, capsys): function test_show_no_metrics_files (line 256) | def test_show_no_metrics_files(tmp_dir, dvc, caplog): function test_metrics_show_overlap (line 262) | def test_metrics_show_overlap(tmp_dir, dvc, run_copy_metrics, clear_befo... function test_log_errors (line 302) | def test_log_errors( function test_cached_metrics (line 329) | def test_cached_metrics(tmp_dir, dvc, scm, remote): function test_top_level_parametrized (line 351) | def test_top_level_parametrized(tmp_dir, dvc): function test_metric_in_a_tracked_directory_with_missing_dir_file (line 360) | def test_metric_in_a_tracked_directory_with_missing_dir_file(tmp_dir, dvc): FILE: tests/func/params/test_diff.py function test_diff_no_params (line 9) | def test_diff_no_params(tmp_dir, scm, dvc): function test_diff_no_changes (line 13) | def test_diff_no_changes(tmp_dir, scm, dvc): function test_diff (line 21) | def test_diff(tmp_dir, scm, dvc): function test_diff_dirty (line 35) | def test_diff_dirty(tmp_dir, scm, dvc): function test_diff_new (line 49) | def test_diff_new(tmp_dir, scm, dvc): function test_diff_deleted (line 58) | def test_diff_deleted(tmp_dir, scm, dvc): function test_diff_list (line 72) | def test_diff_list(tmp_dir, scm, dvc): function test_diff_dict (line 89) | def test_diff_dict(tmp_dir, scm, dvc): function test_diff_with_unchanged (line 102) | def test_diff_with_unchanged(tmp_dir, scm, dvc): function test_pipeline_tracked_params (line 121) | def test_pipeline_tracked_params(tmp_dir, scm, dvc, run_copy): function test_no_commits (line 138) | def test_no_commits(tmp_dir): function test_vars_shows_on_params_diff (line 148) | def test_vars_shows_on_params_diff(tmp_dir, scm, dvc): function test_diff_targeted (line 193) | def test_diff_targeted(tmp_dir, scm, dvc, run_copy): function test_diff_without_targets_specified (line 239) | def test_diff_without_targets_specified(tmp_dir, dvc, scm, file): function test_diff_top_level_params (line 265) | def test_diff_top_level_params(tmp_dir, dvc, scm, dvcfile, params_file): function test_diff_active_branch_no_changes (line 282) | def test_diff_active_branch_no_changes(tmp_dir, scm, dvc): FILE: tests/func/params/test_show.py function test_show_empty (line 13) | def test_show_empty(dvc): function test_show (line 17) | def test_show(tmp_dir, dvc): function test_show_targets (line 25) | def test_show_targets(tmp_dir, dvc): function test_show_toml (line 33) | def test_show_toml(tmp_dir, dvc): function test_show_py (line 41) | def test_show_py(tmp_dir, dvc): function test_show_multiple (line 62) | def test_show_multiple(tmp_dir, dvc): function test_show_list (line 71) | def test_show_list(tmp_dir, dvc): function test_show_branch (line 79) | def test_show_branch(tmp_dir, scm, dvc): function test_pipeline_params (line 94) | def test_pipeline_params(tmp_dir, scm, dvc, run_copy): function test_show_no_repo (line 115) | def test_show_no_repo(tmp_dir): function test_show_without_targets_specified (line 126) | def test_show_without_targets_specified(tmp_dir, dvc, scm, file): function test_deps_multi_stage (line 135) | def test_deps_multi_stage(tmp_dir, scm, dvc, run_copy): function test_deps_with_targets (line 148) | def test_deps_with_targets(tmp_dir, scm, dvc, run_copy): function test_cached_params (line 165) | def test_cached_params(tmp_dir, dvc, scm, remote): function test_top_level_parametrized (line 187) | def test_top_level_parametrized(tmp_dir, dvc): function test_param_in_a_tracked_directory_with_missing_dir_file (line 201) | def test_param_in_a_tracked_directory_with_missing_dir_file(tmp_dir, dvc): FILE: tests/func/parsing/__init__.py function make_entry_definition (line 40) | def make_entry_definition(wdir, name, data, context=None) -> EntryDefini... function make_foreach_def (line 49) | def make_foreach_def( FILE: tests/func/parsing/test_errors.py function escape_ansi (line 16) | def escape_ansi(line): function test_vars_interpolation_errors (line 25) | def test_vars_interpolation_errors(tmp_dir, dvc, vars_): function test_failed_to_interpolate (line 36) | def test_failed_to_interpolate(tmp_dir, dvc): function test_local_vars_params_file_not_exist (line 56) | def test_local_vars_params_file_not_exist(tmp_dir, dvc): function test_specified_key_does_not_exist (line 73) | def test_specified_key_does_not_exist(tmp_dir, dvc): function test_wdir_failed_to_interpolate (line 105) | def test_wdir_failed_to_interpolate(tmp_dir, dvc, wdir, expected_msg): function test_interpolate_non_string (line 121) | def test_interpolate_non_string(tmp_dir, dvc): function test_interpolate_nested_iterable (line 135) | def test_interpolate_nested_iterable(tmp_dir, dvc): function test_partial_vars_doesnot_exist (line 151) | def test_partial_vars_doesnot_exist(tmp_dir, dvc): function test_foreach_data_syntax_error (line 173) | def test_foreach_data_syntax_error(tmp_dir, dvc): function test_foreach_data_key_does_not_exists (line 189) | def test_foreach_data_key_does_not_exists(tmp_dir, dvc, key): function test_foreach_data_expects_list_or_dict (line 202) | def test_foreach_data_expects_list_or_dict(tmp_dir, dvc, foreach_data): function test_foreach_overwriting_item_in_list (line 222) | def test_foreach_overwriting_item_in_list(tmp_dir, dvc, caplog, global_d... function test_foreach_do_syntax_errors (line 236) | def test_foreach_do_syntax_errors(tmp_dir, dvc): function test_foreach_do_definition_item_does_not_exist (line 264) | def test_foreach_do_definition_item_does_not_exist(tmp_dir, dvc, key, loc): function test_item_key_in_generated_stage_vars (line 296) | def test_item_key_in_generated_stage_vars(tmp_dir, dvc, redefine, from_f... function test_foreach_wdir_key_does_not_exist (line 327) | def test_foreach_wdir_key_does_not_exist(tmp_dir, dvc): FILE: tests/func/parsing/test_foreach.py function test_with_simple_list_data (line 11) | def test_with_simple_list_data(tmp_dir, dvc): function test_with_dict_data (line 27) | def test_with_dict_data(tmp_dir, dvc): function test_with_dict_with_non_str_keys (line 48) | def test_with_dict_with_non_str_keys(tmp_dir, dvc): function test_with_composite_list (line 65) | def test_with_composite_list(tmp_dir, dvc): function test_foreach_interpolated_simple_list (line 82) | def test_foreach_interpolated_simple_list(tmp_dir, dvc): function test_foreach_interpolate_with_composite_data (line 115) | def test_foreach_interpolate_with_composite_data( function test_params_file_with_dict_tracked (line 128) | def test_params_file_with_dict_tracked(tmp_dir, dvc): function test_params_file_tracked_for_composite_list (line 149) | def test_params_file_tracked_for_composite_list(tmp_dir, dvc): function test_foreach_data_from_nested_vars (line 169) | def test_foreach_data_from_nested_vars(tmp_dir, dvc): function test_foreach_partial_interpolations (line 183) | def test_foreach_partial_interpolations(tmp_dir, dvc): function test_mixed_vars_for_foreach_data (line 197) | def test_mixed_vars_for_foreach_data(tmp_dir, dvc): function test_mixed_vars_for_foreach_data_2 (line 216) | def test_mixed_vars_for_foreach_data_2(tmp_dir, dvc): function test_foreach_with_interpolated_wdir (line 253) | def test_foreach_with_interpolated_wdir(tmp_dir, dvc): function test_foreach_with_local_vars (line 274) | def test_foreach_with_local_vars(tmp_dir, dvc): function test_foreach_with_imported_vars (line 305) | def test_foreach_with_imported_vars(tmp_dir, dvc, local_import): function test_foreach_with_interpolated_wdir_and_local_vars (line 334) | def test_foreach_with_interpolated_wdir_and_local_vars(tmp_dir, dvc, loc... function test_foreach_do_syntax_is_checked_once (line 402) | def test_foreach_do_syntax_is_checked_once(tmp_dir, dvc, mocker): function test_foreach_data_is_only_resolved_once (line 414) | def test_foreach_data_is_only_resolved_once(tmp_dir, dvc, mocker): FILE: tests/func/parsing/test_interpolated_entry.py function assert_stage_equal (line 14) | def assert_stage_equal(d1, d2): function test_simple (line 27) | def test_simple(tmp_dir, dvc): function test_vars_import (line 37) | def test_vars_import(tmp_dir, dvc): function test_vars_and_params_import (line 55) | def test_vars_and_params_import(tmp_dir, dvc): function test_stage_with_wdir (line 75) | def test_stage_with_wdir(tmp_dir, dvc): function test_with_templated_wdir (line 116) | def test_with_templated_wdir(tmp_dir, dvc): function test_resolve_local_tries_to_load_globally_used_files (line 159) | def test_resolve_local_tries_to_load_globally_used_files(tmp_dir, dvc): function test_resolve_local_tries_to_load_globally_used_params_yaml (line 188) | def test_resolve_local_tries_to_load_globally_used_params_yaml(tmp_dir, ... function test_vars_relpath_overwrite (line 216) | def test_vars_relpath_overwrite(tmp_dir, dvc): function test_vars_load_partial (line 244) | def test_vars_load_partial(tmp_dir, dvc, local, vars_): function test_cmd_dict (line 260) | def test_cmd_dict(tmp_dir, dvc, bool_config, list_config): FILE: tests/func/parsing/test_matrix.py function test_matrix_interpolated (line 25) | def test_matrix_interpolated(tmp_dir, dvc, matrix): function test_matrix_key_present (line 67) | def test_matrix_key_present(tmp_dir, dvc, matrix): FILE: tests/func/parsing/test_resolver.py function test_resolver (line 14) | def test_resolver(tmp_dir, dvc): function test_default_params_file_not_exist (line 20) | def test_default_params_file_not_exist(tmp_dir, dvc): function test_no_params_yaml_and_vars (line 26) | def test_no_params_yaml_and_vars(tmp_dir, dvc): function test_local_vars (line 31) | def test_local_vars(tmp_dir, dvc): function test_vars_interpolation_errors (line 39) | def test_vars_interpolation_errors(tmp_dir, dvc, vars_): function test_default_params_file (line 49) | def test_default_params_file(tmp_dir, dvc, vars_): function test_load_vars_from_file (line 55) | def test_load_vars_from_file(tmp_dir, dvc): function test_load_vars_with_relpath (line 68) | def test_load_vars_with_relpath(tmp_dir, scm, dvc): function test_partial_vars_doesnot_exist (line 79) | def test_partial_vars_doesnot_exist(tmp_dir, dvc): function test_global_overwrite_error_on_imports (line 91) | def test_global_overwrite_error_on_imports(tmp_dir, dvc): function test_global_overwrite_vars (line 106) | def test_global_overwrite_vars(tmp_dir, dvc): function test_local_declared_vars_overwrite (line 120) | def test_local_declared_vars_overwrite(tmp_dir, dvc): function test_specified_params_file_not_exist (line 134) | def test_specified_params_file_not_exist(tmp_dir, dvc): function test_vars_already_loaded_message (line 154) | def test_vars_already_loaded_message(tmp_dir, dvc, local, vars_): function test_local_overwrite_error (line 171) | def test_local_overwrite_error(tmp_dir, dvc, vars_, loc): FILE: tests/func/parsing/test_top_level.py function test_params (line 4) | def test_params(tmp_dir, dvc): function test_metrics (line 14) | def test_metrics(tmp_dir, dvc): function test_plots (line 24) | def test_plots(tmp_dir, dvc): function test_artifacts (line 84) | def test_artifacts(tmp_dir, dvc): function test_datasets (line 121) | def test_datasets(tmp_dir, dvc): FILE: tests/func/plots/test_collect.py function test_subdir_config_not_overwritten_by_parents (line 6) | def test_subdir_config_not_overwritten_by_parents(tmp_dir, scm, dvc): FILE: tests/func/plots/test_diff.py function test_diff_dirty (line 6) | def test_diff_dirty(tmp_dir, scm, dvc, run_copy_metrics): function test_no_commits (line 54) | def test_no_commits(tmp_dir): FILE: tests/func/plots/test_modify.py function test_plots_modify_existing_template (line 9) | def test_plots_modify_existing_template( function test_plots_modify_should_not_change_lockfile (line 26) | def test_plots_modify_should_not_change_lockfile( function test_plots_modify_not_existing_template (line 43) | def test_plots_modify_not_existing_template(dvc): function test_unset_nonexistent (line 52) | def test_unset_nonexistent(tmp_dir, dvc, run_copy_metrics, custom_templa... function test_dir_plots (line 67) | def test_dir_plots(tmp_dir, dvc, run_copy_metrics): FILE: tests/func/plots/test_show.py function test_show_targets (line 16) | def test_show_targets(tmp_dir, dvc): function test_plot_cache_missing (line 27) | def test_plot_cache_missing(tmp_dir, scm, dvc, caplog, run_copy_metrics): function test_plot_wrong_metric_type (line 62) | def test_plot_wrong_metric_type(tmp_dir, scm, dvc, run_copy_metrics): function test_show_non_plot (line 80) | def test_show_non_plot(tmp_dir, scm, use_dvc): function test_show_non_plot_and_plot_with_params (line 94) | def test_show_non_plot_and_plot_with_params(tmp_dir, scm, dvc, run_copy_... function test_show_from_subdir (line 113) | def test_show_from_subdir(tmp_dir, dvc, capsys): function test_plots_show_non_existing (line 129) | def test_plots_show_non_existing(tmp_dir, dvc, capsys): function test_plots_show_overlap (line 143) | def test_plots_show_overlap(tmp_dir, dvc, run_copy_metrics, clear_before... function test_plots_show_nested_x_dict (line 175) | def test_plots_show_nested_x_dict(tmp_dir, dvc, scm): function test_dir_plots (line 253) | def test_dir_plots(tmp_dir, dvc, run_copy_metrics): function test_ignore_parsing_error (line 286) | def test_ignore_parsing_error(tmp_dir, dvc, run_copy_metrics): function test_log_errors (line 311) | def test_log_errors(tmp_dir, scm, dvc, run_copy_metrics, file, path_kwar... function test_plots_binary (line 336) | def test_plots_binary(tmp_dir, scm, dvc, run_copy_metrics, custom_templa... function test_collect_non_existing_dir (line 365) | def test_collect_non_existing_dir(tmp_dir, dvc, run_copy_metrics): function test_top_level_plots (line 434) | def test_top_level_plots(tmp_dir, dvc, plot_config, expected_datafiles): function test_show_plots_defined_with_native_os_path (line 469) | def test_show_plots_defined_with_native_os_path(tmp_dir, dvc, scm, capsys): function test_top_level_parametrized (line 532) | def test_top_level_parametrized( FILE: tests/func/repro/test_repro.py function test_non_existing_stage_name (line 24) | def test_non_existing_stage_name(tmp_dir, dvc, run_copy): function test_repro_fail (line 34) | def test_repro_fail(tmp_dir, dvc, copy_script): function test_repro_frozen (line 46) | def test_repro_frozen(tmp_dir, dvc, run_copy): function test_downstream (line 59) | def test_downstream(tmp_dir, dvc): function test_repro_when_cmd_changes (line 167) | def test_repro_when_cmd_changes(tmp_dir, dvc, run_copy, mocker): function test_repro_when_new_deps_is_added_in_dvcfile (line 185) | def test_repro_when_new_deps_is_added_in_dvcfile(tmp_dir, dvc, run_copy,... function test_repro_when_new_outs_is_added_in_dvcfile (line 206) | def test_repro_when_new_outs_is_added_in_dvcfile(tmp_dir, dvc, copy_scri... function test_repro_when_new_deps_is_moved (line 227) | def test_repro_when_new_deps_is_moved(tmp_dir, dvc, copy_script): function test_repro_when_new_out_overlaps_others_stage_outs (line 261) | def test_repro_when_new_out_overlaps_others_stage_outs(tmp_dir, dvc): function test_repro_when_new_deps_added_does_not_exist (line 281) | def test_repro_when_new_deps_added_does_not_exist(tmp_dir, dvc, copy_scr... function test_repro_when_new_outs_added_does_not_exist (line 298) | def test_repro_when_new_outs_added_does_not_exist(tmp_dir, dvc, copy_scr... function test_repro_when_lockfile_gets_deleted (line 315) | def test_repro_when_lockfile_gets_deleted(tmp_dir, dvc, copy_script): function test_cyclic_graph_error (line 339) | def test_cyclic_graph_error(tmp_dir, dvc, run_copy): function test_repro_multiple_params (line 356) | def test_repro_multiple_params(tmp_dir, dvc): function test_repro_list_of_commands_in_order (line 406) | def test_repro_list_of_commands_in_order(tmp_dir, dvc, multiline): function test_repro_list_of_commands_raise_and_stops_after_failure (line 430) | def test_repro_list_of_commands_raise_and_stops_after_failure(tmp_dir, d... function test_repro_pulls_missing_data_source (line 443) | def test_repro_pulls_missing_data_source(tmp_dir, dvc, mocker, local_rem... function test_repro_pulls_missing_import (line 455) | def test_repro_pulls_missing_import(tmp_dir, dvc, mocker, erepo_dir, loc... function test_repro_allow_missing (line 470) | def test_repro_allow_missing(tmp_dir, dvc): function test_repro_allow_missing_and_pull (line 485) | def test_repro_allow_missing_and_pull(tmp_dir, dvc, mocker, local_remote): function test_repro_pulls_continue_without_run_cache (line 502) | def test_repro_pulls_continue_without_run_cache(tmp_dir, dvc, mocker, lo... function test_repro_skip_pull_if_no_run_cache_is_passed (line 516) | def test_repro_skip_pull_if_no_run_cache_is_passed(tmp_dir, dvc, mocker,... function test_repro_no_commit (line 529) | def test_repro_no_commit(tmp_dir, dvc, copy_script): function test_repro_all_pipelines (line 545) | def test_repro_all_pipelines(mocker, dvc): class TestReproAlreadyCached (line 577) | class TestReproAlreadyCached: method test (line 578) | def test(self, dvc): method test_force_with_dependencies (line 591) | def test_force_with_dependencies(self, tmp_dir, dvc): method test_force_import (line 606) | def test_force_import(self, mocker, tmp_dir, dvc): function test_repro_shell (line 625) | def test_repro_shell(tmp_dir, monkeypatch, dvc): function test_cmd_repro (line 637) | def test_cmd_repro(tmp_dir, dvc, copy_script): function test_repro_dep_under_dir (line 658) | def test_repro_dep_under_dir(tmp_dir, dvc, copy_script): function test_repro_dep_dir_with_outputs_under_it (line 679) | def test_repro_dep_dir_with_outputs_under_it( function test_repro_force (line 704) | def test_repro_force(tmp_dir, dvc, copy_script): function test_repro_changed_code (line 716) | def test_repro_changed_code(tmp_dir, dvc, copy_script): function test_repro_changed_data (line 733) | def test_repro_changed_data(tmp_dir, dvc, copy_script): function test_repro_dry (line 750) | def test_repro_dry(tmp_dir, dvc, copy_script): function test_repro_up_to_date (line 771) | def test_repro_up_to_date(tmp_dir, dvc, copy_script): function test_repro_dry_no_exec (line 784) | def test_repro_dry_no_exec(tmp_dir, dvc): function test_repro_changed_deep_data (line 830) | def test_repro_changed_deep_data(tmp_dir, dvc, copy_script): function test_repro_force_downstream (line 852) | def test_repro_force_downstream(tmp_dir, dvc, copy_script): function test_repro_force_downstream_do_not_force_independent_stages (line 898) | def test_repro_force_downstream_do_not_force_independent_stages(tmp_dir,... function test_repro_pipeline (line 910) | def test_repro_pipeline(tmp_dir, dvc, copy_script): function test_repro_pipeline_cli (line 929) | def test_repro_pipeline_cli(tmp_dir, dvc, copy_script): function test_repro_pipelines (line 942) | def test_repro_pipelines(tmp_dir, dvc, copy_script): function test_repro_pipelines_cli (line 964) | def test_repro_pipelines_cli(tmp_dir, dvc, copy_script): function test_freeze_non_existing (line 993) | def test_freeze_non_existing(dvc, target): function test_repro_frozen_callback (line 1001) | def test_repro_frozen_callback(tmp_dir, dvc, copy_script): function test_repro_frozen_unchanged (line 1019) | def test_repro_frozen_unchanged(tmp_dir, dvc, copy_script): function test_repro_metrics_add_unchanged (line 1041) | def test_repro_metrics_add_unchanged(tmp_dir, dvc, copy_script): function test_repro_phony (line 1083) | def test_repro_phony(tmp_dir, dvc, copy_script): function test_non_existing_output (line 1100) | def test_non_existing_output(tmp_dir, dvc, copy_script): function test_repro_data_source (line 1115) | def test_repro_data_source(tmp_dir, dvc, copy_script): function test_repro_changed_dir (line 1132) | def test_repro_changed_dir(tmp_dir, dvc, copy_script): function test_repro_changed_dir_data (line 1153) | def test_repro_changed_dir_data(tmp_dir, dvc, copy_script): function test_repro_missing_lock_info (line 1182) | def test_repro_missing_lock_info(tmp_dir, dvc, copy_script): function test_repro_rm_recursive (line 1195) | def test_repro_rm_recursive(tmp_dir, dvc): function test_repro_single_item_with_multiple_targets (line 1204) | def test_repro_single_item_with_multiple_targets(tmp_dir, dvc, copy_scri... function test_repro_keep_going (line 1218) | def test_repro_keep_going(mocker, tmp_dir, dvc, copy_script): function test_repro_ignore_errors (line 1245) | def test_repro_ignore_errors(mocker, tmp_dir, dvc, copy_script): function test_repro_external_outputs (line 1278) | def test_repro_external_outputs(tmp_dir, dvc, local_workspace, persist): FILE: tests/func/repro/test_repro_allow_missing.py function test_repro_allow_missing (line 4) | def test_repro_allow_missing(tmp_dir, dvc): function test_repro_allow_missing_and_pull (line 19) | def test_repro_allow_missing_and_pull(tmp_dir, dvc, mocker, local_remote): function test_repro_allow_missing_upstream_stage_modified (line 36) | def test_repro_allow_missing_upstream_stage_modified( function test_repro_allow_missing_cached (line 60) | def test_repro_allow_missing_cached(tmp_dir, dvc): FILE: tests/func/repro/test_repro_pull.py function test_repro_pulls_missing_data_source (line 9) | def test_repro_pulls_missing_data_source(tmp_dir, dvc, mocker, local_rem... function test_repro_pulls_missing_import (line 21) | def test_repro_pulls_missing_import(tmp_dir, dvc, mocker, erepo_dir, loc... function test_repro_pulls_continue_without_run_cache (line 36) | def test_repro_pulls_continue_without_run_cache(tmp_dir, dvc, mocker, lo... function test_repro_skip_pull_if_no_run_cache_is_passed (line 50) | def test_repro_skip_pull_if_no_run_cache_is_passed(tmp_dir, dvc, mocker,... function test_repro_skip_pull_if_single_item_is_passed (line 66) | def test_repro_skip_pull_if_single_item_is_passed(tmp_dir, dvc, mocker, ... function test_repro_pulls_persisted_output (line 78) | def test_repro_pulls_persisted_output(tmp_dir, dvc, mocker, local_remote): function test_repro_pulls_allow_missing (line 92) | def test_repro_pulls_allow_missing(tmp_dir, dvc, mocker, local_remote, a... function test_repro_pull_fails (line 107) | def test_repro_pull_fails(tmp_dir, dvc, mocker, local_remote): FILE: tests/func/test_add.py function test_add (line 35) | def test_add(tmp_dir, dvc): function test_add_executable (line 63) | def test_add_executable(tmp_dir, dvc): function test_add_unicode (line 83) | def test_add_unicode(tmp_dir, dvc): function test_add_unsupported_file (line 92) | def test_add_unsupported_file(dvc): function test_add_directory (line 97) | def test_add_directory(tmp_dir, dvc): function test_add_directory_with_forward_slash (line 114) | def test_add_directory_with_forward_slash(tmp_dir, dvc): function test_add_tracked_file (line 120) | def test_add_tracked_file(tmp_dir, scm, dvc): function test_add_dir_with_existing_cache (line 133) | def test_add_dir_with_existing_cache(tmp_dir, dvc): function test_add_modified_dir (line 142) | def test_add_modified_dir(tmp_dir, dvc): function test_add_file_in_dir (line 152) | def test_add_file_in_dir(tmp_dir, dvc): function test_add_filtered_files_in_dir (line 204) | def test_add_filtered_files_in_dir( function test_cmd_add (line 239) | def test_cmd_add(tmp_dir, dvc): function test_double_add_unchanged_file (line 248) | def test_double_add_unchanged_file(tmp_dir, dvc): function test_double_add_unchanged_dir (line 257) | def test_double_add_unchanged_dir(tmp_dir, dvc): function test_add_colon_in_filename (line 267) | def test_add_colon_in_filename(tmp_dir, dvc): function test_should_update_state_entry_for_file_after_add (line 273) | def test_should_update_state_entry_for_file_after_add(mocker, dvc, tmp_d... function test_should_update_state_entry_for_directory_after_add (line 298) | def test_should_update_state_entry_for_directory_after_add(mocker, dvc, ... function test_add_commit (line 324) | def test_add_commit(tmp_dir, dvc): function test_should_collect_dir_cache_only_once (line 337) | def test_should_collect_dir_cache_only_once(mocker, tmp_dir, dvc): function test_should_place_stage_in_data_dir_if_repository_below_symlink (line 353) | def test_should_place_stage_in_data_dir_if_repository_below_symlink( function test_should_throw_proper_exception_on_corrupted_stage_file (line 370) | def test_should_throw_proper_exception_on_corrupted_stage_file(caplog, t... function test_should_throw_proper_exception_on_existing_out (line 383) | def test_should_throw_proper_exception_on_existing_out(caplog, tmp_dir, ... function test_add_force_overwrite_out (line 397) | def test_add_force_overwrite_out(caplog, tmp_dir, dvc): function test_failed_add_cleanup (line 405) | def test_failed_add_cleanup(tmp_dir, scm, dvc): function test_add_unprotected (line 421) | def test_add_unprotected(tmp_dir, dvc): function temporary_windows_drive (line 443) | def temporary_windows_drive(tmp_path_factory): function test_windows_should_add_when_cache_on_different_drive (line 484) | def test_windows_should_add_when_cache_on_different_drive( function test_readding_dir_should_not_unprotect_all (line 498) | def test_readding_dir_should_not_unprotect_all(tmp_dir, dvc, mocker): function test_should_not_checkout_when_adding_cached_copy (line 513) | def test_should_not_checkout_when_adding_cached_copy(tmp_dir, dvc, mocker): function test_should_relink_on_repeated_add (line 536) | def test_should_relink_on_repeated_add(link, new_link, link_test_func, t... function test_should_protect_on_repeated_add (line 554) | def test_should_protect_on_repeated_add(link, tmp_dir, dvc): function test_escape_gitignore_entries (line 575) | def test_escape_gitignore_entries(tmp_dir, scm, dvc): function test_add_from_data_dir (line 589) | def test_add_from_data_dir(tmp_dir, scm, dvc): function test_add_parent_dir (line 597) | def test_add_parent_dir(tmp_dir, scm, dvc): function test_not_raises_on_re_add (line 612) | def test_not_raises_on_re_add(tmp_dir, dvc): function test_add_empty_files (line 620) | def test_add_empty_files(tmp_dir, dvc, link): function test_add_optimization_for_hardlink_on_empty_files (line 630) | def test_add_optimization_for_hardlink_on_empty_files(tmp_dir, dvc, mock... function test_try_adding_pipeline_tracked_output (line 652) | def test_try_adding_pipeline_tracked_output(tmp_dir, dvc, run_copy): function test_try_adding_multiple_overlaps (line 663) | def test_try_adding_multiple_overlaps(tmp_dir, dvc): function test_add_pipeline_file (line 682) | def test_add_pipeline_file(tmp_dir, dvc, run_copy): function test_add_symlink_file (line 692) | def test_add_symlink_file(tmp_dir, dvc): function test_add_symlink_dir (line 730) | def test_add_symlink_dir(make_tmp_dir, tmp_dir, dvc): function test_add_file_in_symlink_dir (line 743) | def test_add_file_in_symlink_dir(make_tmp_dir, tmp_dir, dvc): function test_add_with_cache_link_error (line 754) | def test_add_with_cache_link_error(tmp_dir, dvc, mocker, capsys): function test_add_preserve_fields (line 776) | def test_add_preserve_fields(tmp_dir, dvc): function test_add_long_fname (line 817) | def test_add_long_fname(tmp_dir, dvc): function test_add_to_remote_absolute (line 832) | def test_add_to_remote_absolute(tmp_dir, make_tmp_dir, dvc, remote): function test_add_to_cache_dir (line 853) | def test_add_to_cache_dir(tmp_dir, dvc, local_cloud): function test_add_to_cache_file (line 872) | def test_add_to_cache_file(tmp_dir, dvc, local_cloud): function test_add_with_out (line 889) | def test_add_with_out(tmp_dir, scm, dvc): function test_add_to_cache_different_name (line 896) | def test_add_to_cache_different_name(tmp_dir, dvc, local_cloud): function test_add_to_cache_not_exists (line 914) | def test_add_to_cache_not_exists(tmp_dir, dvc, local_cloud): function test_add_to_cache_from_remote (line 928) | def test_add_to_cache_from_remote(tmp_dir, dvc, workspace): function test_add_ignored (line 947) | def test_add_ignored(tmp_dir, scm, dvc): function test_add_on_not_existing_file_should_not_remove_stage_file (line 958) | def test_add_on_not_existing_file_should_not_remove_stage_file(tmp_dir, ... function test_add_does_not_remove_stage_file_on_failure (line 976) | def test_add_does_not_remove_stage_file_on_failure(tmp_dir, dvc, mocker,... function test_add_updates_to_cloud_versioning_dir (line 990) | def test_add_updates_to_cloud_versioning_dir(tmp_dir, dvc): FILE: tests/func/test_analytics.py function test_daemon_analytics (line 12) | def test_daemon_analytics(mocker, tmp_path): function test_main_analytics (line 20) | def test_main_analytics(mocker, tmp_dir, dvc): function mock_daemon (line 30) | def mock_daemon(mocker): function test_collect_and_send_report (line 37) | def test_collect_and_send_report(monkeypatch, mocker, dvc, mock_daemon): function test_scm_dvc_only (line 61) | def test_scm_dvc_only(tmp_dir, dvc): function test_scm_git (line 66) | def test_scm_git(tmp_dir, scm, dvc): function test_scm_subrepo (line 71) | def test_scm_subrepo(tmp_dir, scm): FILE: tests/func/test_check_ignore.py function test_check_ignore (line 12) | def test_check_ignore(tmp_dir, dvc, file, ret, output, caplog, capsys): function test_check_ignore_details (line 37) | def test_check_ignore_details(tmp_dir, dvc, file, ret, output, capsys): function test_check_ignore_non_matching (line 46) | def test_check_ignore_non_matching(tmp_dir, dvc, non_matching, caplog, c... function test_check_ignore_error_args_cases (line 67) | def test_check_ignore_error_args_cases(tmp_dir, dvc, args, caplog): function test_check_ignore_dir (line 73) | def test_check_ignore_dir(tmp_dir, dvc, path, ret): function test_check_ignore_default_dir (line 80) | def test_check_ignore_default_dir(tmp_dir, dvc): function test_check_ignore_out_side_repo (line 84) | def test_check_ignore_out_side_repo(tmp_dir, dvc): function test_check_ignore_sub_repo (line 89) | def test_check_ignore_sub_repo(tmp_dir, dvc, capsys): function test_check_sub_dir_ignore_file (line 97) | def test_check_sub_dir_ignore_file(tmp_dir, dvc, capsys): function test_check_ignore_details_all (line 123) | def test_check_ignore_details_all(tmp_dir, dvc, capsys): function test_check_ignore_stdin_mode (line 134) | def test_check_ignore_stdin_mode(tmp_dir, dvc, file, ret, output, capsys... FILE: tests/func/test_checkout.py function walk_files (line 22) | def walk_files(directory): function test_checkout (line 28) | def test_checkout(tmp_dir, dvc, copy_script): function test_checkout_cli (line 47) | def test_checkout_cli(tmp_dir, dvc, copy_script): function test_checkout_stats (line 92) | def test_checkout_stats(tmp_dir, dvc, capsys, summary, expected_lines): function test_remove_files_when_checkout (line 118) | def test_remove_files_when_checkout(tmp_dir, dvc, scm): class TestCheckoutCleanWorkingDir (line 136) | class TestCheckoutCleanWorkingDir: method test (line 137) | def test(self, mocker, tmp_dir, dvc): method test_force (line 145) | def test_force(self, mocker, tmp_dir, dvc): function test_checkout_selective_remove (line 154) | def test_checkout_selective_remove(tmp_dir, dvc): function test_gitignore_basic (line 172) | def test_gitignore_basic(tmp_dir, dvc, scm): function test_gitignore_when_checkout (line 187) | def test_gitignore_when_checkout(tmp_dir, dvc, scm): function test_checkout_missing_md5_in_lock_file_for_outs_deps (line 211) | def test_checkout_missing_md5_in_lock_file_for_outs_deps(tmp_dir, dvc, c... function test_checkout_empty_dir (line 225) | def test_checkout_empty_dir(tmp_dir, dvc): function test_checkout_not_cached_file (line 241) | def test_checkout_not_cached_file(tmp_dir, dvc): function test_checkout_with_deps_cli (line 247) | def test_checkout_with_deps_cli(tmp_dir, dvc, copy_script): function test_checkout_directory (line 268) | def test_checkout_directory(tmp_dir, dvc): function test_checkout_suggest_git (line 280) | def test_checkout_suggest_git(tmp_dir, dvc, scm): function test_checkout_target_recursive_should_not_remove_other_used_files (line 297) | def test_checkout_target_recursive_should_not_remove_other_used_files(tm... function test_checkout_recursive_not_directory (line 304) | def test_checkout_recursive_not_directory(tmp_dir, dvc): function test_checkout_moved_cache_dir_with_symlinks (line 312) | def test_checkout_moved_cache_dir_with_symlinks(tmp_dir, dvc): function test_checkout_no_checksum (line 352) | def test_checkout_no_checksum(tmp_dir, dvc): function test_checkout_relink (line 366) | def test_checkout_relink(tmp_dir, dvc, link, link_test_func): function test_partial_checkout (line 394) | def test_partial_checkout(tmp_dir, dvc, target): function test_stats_on_empty_checkout (line 408) | def test_stats_on_empty_checkout(tmp_dir, dvc, scm): function test_stats_on_checkout (line 417) | def test_stats_on_checkout(tmp_dir, dvc, scm): function test_checkout_stats_on_failure (line 464) | def test_checkout_stats_on_failure(tmp_dir, dvc, scm): function test_stats_on_added_file_from_tracked_dir (line 489) | def test_stats_on_added_file_from_tracked_dir(tmp_dir, dvc, scm): function test_stats_on_updated_file_from_tracked_dir (line 514) | def test_stats_on_updated_file_from_tracked_dir(tmp_dir, dvc, scm): function test_stats_on_removed_file_from_tracked_dir (line 539) | def test_stats_on_removed_file_from_tracked_dir(tmp_dir, dvc, scm): function test_stats_on_show_changes_does_not_show_summary (line 564) | def test_stats_on_show_changes_does_not_show_summary(tmp_dir, dvc, scm, ... function test_stats_does_not_show_changes_by_default (line 580) | def test_stats_does_not_show_changes_by_default(tmp_dir, dvc, scm, capsys): function test_checkout_with_relink_existing (line 594) | def test_checkout_with_relink_existing(tmp_dir, dvc, link): function test_checkout_with_deps (line 609) | def test_checkout_with_deps(tmp_dir, dvc): function test_checkout_recursive (line 632) | def test_checkout_recursive(tmp_dir, dvc): function test_checkouts_with_different_addressing (line 646) | def test_checkouts_with_different_addressing(tmp_dir, dvc, run_copy): function test_checkouts_on_same_stage_name_and_output_name (line 700) | def test_checkouts_on_same_stage_name_and_output_name(tmp_dir, dvc, run_... function test_checkouts_for_pipeline_tracked_outs (line 717) | def test_checkouts_for_pipeline_tracked_outs(tmp_dir, dvc, scm, run_copy): function test_checkout_executable (line 756) | def test_checkout_executable(tmp_dir, dvc): function test_checkout_partial (line 776) | def test_checkout_partial(tmp_dir, dvc): function test_checkout_partial_unchanged (line 805) | def test_checkout_partial_unchanged(tmp_dir, dvc): function test_checkout_partial_subdir (line 862) | def test_checkout_partial_subdir(tmp_dir, dvc): function test_checkout_file (line 890) | def test_checkout_file(tmp_dir, dvc): function test_checkout_dir_compat (line 903) | def test_checkout_dir_compat(tmp_dir, dvc): function test_checkout_cleanup_properly_on_untracked_nested_directories (line 924) | def test_checkout_cleanup_properly_on_untracked_nested_directories(tmp_d... function test_checkout_loads_specific_file (line 936) | def test_checkout_loads_specific_file(tmp_dir, dvc, mocker): FILE: tests/func/test_cli.py function test_argparse (line 18) | def test_argparse(dvc): function test_pull (line 23) | def test_pull(dvc): function test_push (line 31) | def test_push(dvc): function test_status (line 39) | def test_status(dvc): function test_repro (line 47) | def test_repro(dvc): function test_remove (line 64) | def test_remove(dvc): function test_add (line 77) | def test_add(dvc): function test_config_unset (line 90) | def test_config_unset(dvc): function test_config_list (line 103) | def test_config_list(): function test_checkout (line 111) | def test_checkout(dvc): function test_find_root (line 119) | def test_find_root(dvc): function test_cd (line 135) | def test_cd(dvc): function test_unknown_command_help (line 154) | def test_unknown_command_help(capsys): function test_unknown_subcommand_help (line 170) | def test_unknown_subcommand_help(capsys): FILE: tests/func/test_commit.py function test_commit_recursive (line 13) | def test_commit_recursive(tmp_dir, dvc): function test_commit_force (line 24) | def test_commit_force(tmp_dir, dvc): function test_commit_preserve_fields (line 43) | def test_commit_preserve_fields(tmp_dir, dvc): function test_commit_with_deps (line 89) | def test_commit_with_deps(tmp_dir, dvc, run_copy): function test_commit_changed_md5 (line 107) | def test_commit_changed_md5(tmp_dir, dvc): function test_commit_no_exec (line 122) | def test_commit_no_exec(tmp_dir, dvc): function test_commit_granular_output (line 131) | def test_commit_granular_output(tmp_dir, dvc): function test_commit_granular_output_file (line 149) | def test_commit_granular_output_file(tmp_dir, dvc): function test_commit_granular_output_dir (line 156) | def test_commit_granular_output_dir(tmp_dir, dvc): function test_commit_granular_dir (line 171) | def test_commit_granular_dir(tmp_dir, dvc): function test_commit_no_exec_missing_dep (line 211) | def test_commit_no_exec_missing_dep(tmp_dir, dvc): function test_commit_no_exec_missing_out (line 219) | def test_commit_no_exec_missing_out(tmp_dir, dvc): function test_commit_pipeline_stage (line 227) | def test_commit_pipeline_stage(tmp_dir, dvc, run_copy): function test_imported_entries_unchanged (line 240) | def test_imported_entries_unchanged(tmp_dir, dvc, erepo_dir): function test_commit_updates_to_cloud_versioning_dir (line 249) | def test_commit_updates_to_cloud_versioning_dir(tmp_dir, dvc): function test_commit_dos2unix (line 309) | def test_commit_dos2unix(tmp_dir, dvc): function test_commit_multiple_files (line 330) | def test_commit_multiple_files(tmp_dir, dvc, mocker): FILE: tests/func/test_config.py function test_config_set (line 10) | def test_config_set(tmp_dir, dvc): function test_config_set_local (line 41) | def test_config_set_local(tmp_dir, dvc): function test_config_set_in_non_dvc_repo (line 80) | def test_config_set_in_non_dvc_repo(tmp_dir, caplog): function test_config_get (line 107) | def test_config_get(tmp_dir, dvc, capsys, caplog, args, ret, msg): function test_config_get_in_non_dvc_repo (line 145) | def test_config_get_in_non_dvc_repo(tmp_dir, caplog, args, ret): function test_config_list (line 152) | def test_config_list(tmp_dir, dvc, capsys): function test_config_list_in_non_dvc_repo (line 201) | def test_config_list_in_non_dvc_repo(tmp_dir, caplog, args, ret): function test_list_bad_args (line 211) | def test_list_bad_args(tmp_dir, dvc, caplog, args): function test_set_invalid_key (line 220) | def test_set_invalid_key(dvc): function test_merging_two_levels (line 226) | def test_merging_two_levels(dvc): function test_config_loads_without_error_for_non_dvc_repo (line 244) | def test_config_loads_without_error_for_non_dvc_repo(tmp_dir): function test_load_relative_paths (line 261) | def test_load_relative_paths(dvc, field, remote_url): function test_config_gdrive_fields (line 280) | def test_config_gdrive_fields(tmp_dir, dvc): function test_config_remote (line 290) | def test_config_remote(tmp_dir, dvc, capsys): function test_config_show_origin_single (line 304) | def test_config_show_origin_single(tmp_dir, dvc, capsys): function test_config_show_origin_merged (line 326) | def test_config_show_origin_merged(tmp_dir, dvc, capsys): FILE: tests/func/test_daemon.py function make_request_handler (line 43) | def make_request_handler(): function make_server (line 72) | def make_server(port: int = 0) -> Iterator["HTTPServer"]: function server (line 78) | def server(): function test_analytics (line 89) | def test_analytics(tmp_path, server): function test_updater (line 133) | def test_updater(tmp_dir, dvc, server): FILE: tests/func/test_data_cloud.py function test_cloud_cli (line 26) | def test_cloud_cli(tmp_dir, dvc, capsys, remote, mocker): # noqa: PLR0915 function test_data_cloud_error_cli (line 124) | def test_data_cloud_error_cli(dvc): function test_warn_on_outdated_stage (line 132) | def test_warn_on_outdated_stage(tmp_dir, dvc, local_remote, caplog): function test_hash_recalculation (line 151) | def test_hash_recalculation(mocker, dvc, tmp_dir, local_remote): function test_missing_cache (line 163) | def test_missing_cache(tmp_dir, dvc, local_remote, caplog): function test_verify_hashes (line 195) | def test_verify_hashes(tmp_dir, scm, dvc, mocker, tmp_path_factory, loca... function test_pull_git_imports (line 227) | def test_pull_git_imports(request, tmp_dir, dvc, scm, erepo_type): function test_pull_external_dvc_imports (line 256) | def test_pull_external_dvc_imports(tmp_dir, dvc, scm, erepo_dir): function test_pull_partial_import (line 283) | def test_pull_partial_import(tmp_dir, dvc, local_workspace): function test_pull_partial_import_missing (line 298) | def test_pull_partial_import_missing(tmp_dir, dvc, local_workspace): function test_pull_partial_import_modified (line 310) | def test_pull_partial_import_modified(tmp_dir, dvc, local_workspace): function test_pull_external_dvc_imports_mixed (line 322) | def test_pull_external_dvc_imports_mixed(tmp_dir, dvc, scm, erepo_dir, l... function clean (line 344) | def clean(outs, dvc=None): function recurse_list_dir (line 353) | def recurse_list_dir(d): function test_dvc_pull_pipeline_stages (line 359) | def test_dvc_pull_pipeline_stages(tmp_dir, dvc, run_copy, local_remote): function test_pipeline_file_target_ops (line 400) | def test_pipeline_file_target_ops(tmp_dir, dvc, run_copy, local_remote): function test_push_stats (line 459) | def test_push_stats(tmp_dir, dvc, fs, msg, capsys, local_remote): function test_fetch_stats (line 475) | def test_fetch_stats(tmp_dir, dvc, fs, msg, capsys, local_remote): function test_pull_stats (line 485) | def test_pull_stats(tmp_dir, dvc, capsys, local_remote): function test_push_pull_all (line 521) | def test_push_pull_all(tmp_dir, scm, dvc, local_remote, key, expected): function test_push_pull_fetch_pipeline_stages (line 540) | def test_push_pull_fetch_pipeline_stages(tmp_dir, dvc, run_copy, local_r... function test_pull_partial (line 563) | def test_pull_partial(tmp_dir, dvc, local_remote): function test_output_remote (line 577) | def test_output_remote(tmp_dir, dvc, make_remote): function test_target_remote (line 622) | def test_target_remote(tmp_dir, dvc, make_remote): function test_output_target_remote (line 657) | def test_output_target_remote(tmp_dir, dvc, make_remote): function test_pull_allow_missing (line 712) | def test_pull_allow_missing(tmp_dir, dvc, local_remote): function test_pull_granular_excluding_import_that_cannot_be_pulled (line 730) | def test_pull_granular_excluding_import_that_cannot_be_pulled( function test_loads_single_file (line 760) | def test_loads_single_file(tmp_dir, dvc, local_remote, mocker): FILE: tests/func/test_data_status.py function test_git_to_dvc_path_wdir_transformation (line 31) | def test_git_to_dvc_path_wdir_transformation(tmp_dir, scm, path): function test_file (line 63) | def test_file(tmp_dir, dvc, scm): function test_directory (line 78) | def test_directory(tmp_dir, dvc, scm): function test_tracked_directory_deep (line 110) | def test_tracked_directory_deep(tmp_dir, dvc, scm): function test_new_dvc_repo (line 143) | def test_new_dvc_repo(tmp_dir, scm, subdir, git_repo_state): function test_noscm_repo (line 164) | def test_noscm_repo(tmp_dir, dvc): function test_unchanged (line 170) | def test_unchanged(tmp_dir, dvc, scm): function test_skip_uncached_pipeline_outputs (line 186) | def test_skip_uncached_pipeline_outputs(tmp_dir, dvc, run_copy_metrics): function test_outs_with_no_hashes (line 198) | def test_outs_with_no_hashes(tmp_dir, dvc, scm): function test_outs_with_no_hashes_and_with_uncommitted_files (line 207) | def test_outs_with_no_hashes_and_with_uncommitted_files(tmp_dir, dvc, scm): function test_subdir (line 221) | def test_subdir(tmp_dir, scm): function test_untracked_newly_added_files (line 239) | def test_untracked_newly_added_files(tmp_dir, dvc, scm): function test_missing_cache_workspace_exists (line 252) | def test_missing_cache_workspace_exists(tmp_dir, dvc, scm): function test_missing_cache_missing_workspace (line 275) | def test_missing_cache_missing_workspace(tmp_dir, dvc, scm): function test_git_committed_missing_cache_workspace_exists (line 300) | def test_git_committed_missing_cache_workspace_exists(tmp_dir, dvc, scm): function test_git_committed_missing_cache_missing_workspace (line 320) | def test_git_committed_missing_cache_missing_workspace(tmp_dir, dvc, scm): function test_partial_missing_cache (line 341) | def test_partial_missing_cache(tmp_dir, dvc, scm): function test_missing_dir_object_from_head (line 365) | def test_missing_dir_object_from_head(tmp_dir, dvc, scm): function test_missing_dir_object_from_index (line 387) | def test_missing_dir_object_from_index(tmp_dir, dvc, scm): function test_remote_check (line 409) | def test_remote_check(tmp_dir, dvc, scm, make_remote): function test_missing_remote_cache (line 445) | def test_missing_remote_cache(tmp_dir, dvc, scm, local_remote): function test_not_in_remote_respects_not_pushable (line 487) | def test_not_in_remote_respects_not_pushable( function test_root_from_dir_to_file (line 532) | def test_root_from_dir_to_file(tmp_dir, dvc, scm): function test_root_from_file_to_dir (line 558) | def test_root_from_file_to_dir(tmp_dir, dvc, scm): function test_empty_dir (line 580) | def test_empty_dir(tmp_dir, scm, dvc): function test_untracked_files_filter_targets (line 595) | def test_untracked_files_filter_targets(tmp_dir, scm, dvc): function param (line 619) | def param(*values): function test_filter_targets_files_after_dvc_commit (line 653) | def test_filter_targets_files_after_dvc_commit(tmp_dir, dvc, scm, target... function test_filter_targets_after_git_commit (line 680) | def test_filter_targets_after_git_commit(tmp_dir, dvc, scm, targets, exp... function with_aliases (line 695) | def with_aliases(values, aliases): function test_filter_targets_inside_directory_after_dvc_commit (line 796) | def test_filter_targets_inside_directory_after_dvc_commit( function test_filter_targets_inside_directory_after_git_commit (line 863) | def test_filter_targets_inside_directory_after_git_commit( function test_filter_targets_not_in_cache (line 910) | def test_filter_targets_not_in_cache( function test_compat_legacy_new_cache_types (line 930) | def test_compat_legacy_new_cache_types(tmp_dir, dvc, scm): function test_missing_cache_remote_check (line 967) | def test_missing_cache_remote_check(tmp_dir, dvc, scm, local_remote): function test_renames (line 1196) | def test_renames(tmp_dir, scm, dvc, targets, expected_non_granular, expe... function test_shallow_should_iterate_upto_tracked_directory (line 1214) | def test_shallow_should_iterate_upto_tracked_directory(tmp_dir, dvc, scm... function test_duplicate_hashes_not_in_remote (line 1249) | def test_duplicate_hashes_not_in_remote(tmp_dir, dvc, scm, local_remote): FILE: tests/func/test_dataset.py class MockedDatachainVersionInfo (line 30) | class MockedDatachainVersionInfo: function evolve_recursive (line 35) | def evolve_recursive(inst, **changes): function test_dvc (line 47) | def test_dvc(tmp_dir, scm, dvc: "Repo"): function test_datachain (line 80) | def test_datachain(tmp_dir, dvc, mocker): function test_url (line 115) | def test_url(tmp_dir, dvc, mocker): function test_dvc_dump (line 162) | def test_dvc_dump(tmp_dir, dvc): function test_datachain_dump (line 192) | def test_datachain_dump(tmp_dir, dvc): function test_url_dump (line 215) | def test_url_dump(tmp_dir, dvc): function test_invalidation (line 244) | def test_invalidation(tmp_dir, dvc): function test_dvc_dataset_pipeline (line 264) | def test_dvc_dataset_pipeline(tmp_dir, dvc, scm): function test_datachain_dataset_pipeline (line 292) | def test_datachain_dataset_pipeline(mocker, tmp_dir, dvc): function test_url_dataset_pipeline (line 322) | def test_url_dataset_pipeline(mocker, tmp_dir, dvc): function test_pipeline_when_not_in_sync (line 360) | def test_pipeline_when_not_in_sync(tmp_dir, dvc): function test_collect (line 382) | def test_collect(tmp_dir, dvc): function test_parametrized (line 417) | def test_parametrized(tmp_dir, dvc): FILE: tests/func/test_diff.py function digest (line 10) | def digest(text): function test_no_scm (line 14) | def test_no_scm(tmp_dir, dvc): function test_same_rev (line 23) | def test_same_rev(tmp_dir, scm, dvc): function test_added (line 31) | def test_added(tmp_dir, scm, dvc): function test_added_deep (line 43) | def test_added_deep(tmp_dir, scm, dvc): function test_no_cache_entry (line 65) | def test_no_cache_entry(tmp_dir, scm, dvc): function test_diff_no_cache (line 98) | def test_diff_no_cache(tmp_dir, scm, dvc): function test_deleted (line 174) | def test_deleted(tmp_dir, scm, dvc, delete_data): function test_modified (line 189) | def test_modified(tmp_dir, scm, dvc): function test_modified_subrepo (line 207) | def test_modified_subrepo(tmp_dir, scm, dvc): function test_refs (line 238) | def test_refs(tmp_dir, scm, dvc): function test_directories (line 267) | def test_directories(tmp_dir, scm, dvc): function test_diff_dirty (line 333) | def test_diff_dirty(tmp_dir, scm, dvc): function test_no_changes (line 368) | def test_no_changes(tmp_dir, scm, dvc): function test_no_commits (line 373) | def test_no_commits(tmp_dir): function test_abs_target (line 383) | def test_abs_target(tmp_dir, scm, dvc): function setup_targets_test (line 395) | def setup_targets_test(tmp_dir): function test_targets_missing_path (line 404) | def test_targets_missing_path(tmp_dir, scm, dvc): function test_targets_single_file (line 411) | def test_targets_single_file(tmp_dir, scm, dvc): function test_targets_single_dir (line 428) | def test_targets_single_dir(tmp_dir, scm, dvc): function test_targets_single_file_in_dir (line 449) | def test_targets_single_file_in_dir(tmp_dir, scm, dvc): function test_targets_two_files_in_dir (line 461) | def test_targets_two_files_in_dir(tmp_dir, scm, dvc): function test_targets_file_and_dir (line 476) | def test_targets_file_and_dir(tmp_dir, scm, dvc): function test_targets_single_dir_with_file (line 499) | def test_targets_single_dir_with_file(tmp_dir, scm, dvc): function test_targets_single_file_in_dir_with_file (line 521) | def test_targets_single_file_in_dir_with_file(tmp_dir, scm, dvc): function test_diff_add_similar_files (line 539) | def test_diff_add_similar_files(tmp_dir, scm, dvc, commit_last): function test_diff_rename_folder (line 579) | def test_diff_rename_folder(tmp_dir, scm, dvc, commit_last): function test_diff_rename_file (line 625) | def test_diff_rename_file(tmp_dir, scm, dvc, commit_last): function test_rename_multiple_files_same_hashes (line 663) | def test_rename_multiple_files_same_hashes(tmp_dir, scm, dvc): function test_diff_granular (line 709) | def test_diff_granular(tmp_dir, dvc, scm): FILE: tests/func/test_download.py function test_lfs_prefetch_directory (line 41) | def test_lfs_prefetch_directory(tmp_dir, dvc, scm, mocker, dirname, incl... function test_lfs_prefetch_file (line 59) | def test_lfs_prefetch_file(tmp_dir, dvc, scm, mocker, basename, include_... FILE: tests/func/test_du.py function test_du (line 4) | def test_du(tmp_dir, dvc): FILE: tests/func/test_dvcfile.py function test_run_load_one_for_multistage (line 28) | def test_run_load_one_for_multistage(tmp_dir, dvc): function test_run_load_one_for_multistage_non_existing (line 49) | def test_run_load_one_for_multistage_non_existing(tmp_dir, dvc): function test_run_load_one_for_multistage_non_existing_stage_name (line 54) | def test_run_load_one_for_multistage_non_existing_stage_name(tmp_dir, dvc): function test_run_load_one_on_single_stage (line 67) | def test_run_load_one_on_single_stage(tmp_dir, dvc): function test_has_stage_with_name (line 74) | def test_has_stage_with_name(tmp_dir, dvc): function test_load_all_multistage (line 88) | def test_load_all_multistage(tmp_dir, dvc): function test_load_all_singlestage (line 112) | def test_load_all_singlestage(tmp_dir, dvc): function test_try_get_single_stage_from_pipeline_file (line 122) | def test_try_get_single_stage_from_pipeline_file(tmp_dir, dvc): function test_stage_collection (line 137) | def test_stage_collection(tmp_dir, dvc): function test_remove_stage (line 156) | def test_remove_stage(tmp_dir, dvc, run_copy): function test_remove_stage_lockfile (line 181) | def test_remove_stage_lockfile(tmp_dir, dvc, run_copy): function test_remove_stage_dvcfiles (line 205) | def test_remove_stage_dvcfiles(tmp_dir, dvc, run_copy): function test_remove_stage_on_lockfile_format_error (line 221) | def test_remove_stage_on_lockfile_format_error(tmp_dir, dvc, run_copy): function test_remove_stage_preserves_comment (line 243) | def test_remove_stage_preserves_comment(tmp_dir, dvc, run_copy): function test_remove_stage_removes_dvcfiles_if_no_stages_left (line 279) | def test_remove_stage_removes_dvcfiles_if_no_stages_left(tmp_dir, dvc, r... function test_dvcfile_dump_preserves_meta (line 294) | def test_dvcfile_dump_preserves_meta(tmp_dir, dvc, run_copy): function test_dvcfile_dump_preserves_desc (line 309) | def test_dvcfile_dump_preserves_desc(tmp_dir, dvc, run_copy): function test_dvcfile_dump_preserves_comments (line 330) | def test_dvcfile_dump_preserves_comments(tmp_dir, dvc): function test_dvcfile_try_dumping_parametrized_stage (line 359) | def test_dvcfile_try_dumping_parametrized_stage(tmp_dir, dvc, data, name): function test_dvcfile_load_dump_stage_with_desc_meta (line 371) | def test_dvcfile_load_dump_stage_with_desc_meta(tmp_dir, dvc): function test_dvcfile_load_with_plots (line 385) | def test_dvcfile_load_with_plots(tmp_dir, dvc): function test_dvcfile_dos2unix (line 404) | def test_dvcfile_dos2unix(tmp_dir, dvc): FILE: tests/func/test_external_repo.py function test_external_repo (line 13) | def test_external_repo(erepo_dir, mocker): function test_source_change (line 34) | def test_source_change(erepo_dir): function test_cache_reused (line 47) | def test_cache_reused(erepo_dir, mocker, local_cloud): function test_known_sha (line 70) | def test_known_sha(erepo_dir): function test_pull_subdir_file (line 87) | def test_pull_subdir_file(tmp_dir, erepo_dir): function test_relative_remote (line 102) | def test_relative_remote(erepo_dir, tmp_dir): function test_shallow_clone_branch (line 126) | def test_shallow_clone_branch(erepo_dir, mocker): function test_shallow_clone_tag (line 153) | def test_shallow_clone_tag(erepo_dir, mocker): function test_subrepos_are_ignored (line 180) | def test_subrepos_are_ignored(tmp_dir, erepo_dir): function test_subrepos_are_ignored_for_git_tracked_dirs (line 232) | def test_subrepos_are_ignored_for_git_tracked_dirs(tmp_dir, erepo_dir): FILE: tests/func/test_fs.py function test_cleanfs_subrepo (line 7) | def test_cleanfs_subrepo(tmp_dir, dvc, scm, monkeypatch): function test_walk_dont_ignore_subrepos (line 27) | def test_walk_dont_ignore_subrepos(tmp_dir, scm, dvc): FILE: tests/func/test_gc.py function good_and_bad_cache (line 17) | def good_and_bad_cache(tmp_dir, dvc): function test_gc_api (line 35) | def test_gc_api(dvc, good_and_bad_cache): function test_gc_cli (line 42) | def test_gc_cli(dvc, good_and_bad_cache): function test_gc_branches_tags (line 49) | def test_gc_branches_tags(tmp_dir, dvc, scm): function test_gc_multiple_dvc_repos (line 76) | def test_gc_multiple_dvc_repos(tmp_dir, scm, dvc, erepo_dir): function test_gc_multiple_dvc_repos_all_branches_num (line 95) | def test_gc_multiple_dvc_repos_all_branches_num(tmp_dir, scm, dvc, erepo... function test_all_commits (line 116) | def test_all_commits(tmp_dir, scm, dvc): function test_gc_no_dir_cache (line 129) | def test_gc_no_dir_cache(tmp_dir, dvc): function _count_files (line 144) | def _count_files(path): function test_gc_no_unpacked_dir (line 148) | def test_gc_no_unpacked_dir(tmp_dir, dvc): function test_gc_without_workspace_raises_error (line 163) | def test_gc_without_workspace_raises_error(tmp_dir, dvc): function test_gc_cloud_with_or_without_specifier (line 175) | def test_gc_cloud_with_or_without_specifier(tmp_dir, erepo_dir, local_cl... function test_gc_without_workspace_on_tags_branches_commits (line 189) | def test_gc_without_workspace_on_tags_branches_commits(tmp_dir, dvc): function test_gc_without_workspace (line 200) | def test_gc_without_workspace(tmp_dir, dvc, caplog, cloud): function test_gc_with_possible_args_positive (line 211) | def test_gc_with_possible_args_positive(tmp_dir, dvc): function test_gc_cloud_positive (line 216) | def test_gc_cloud_positive(tmp_dir, dvc, tmp_path_factory, local_remote): function test_gc_cloud_remove_order (line 221) | def test_gc_cloud_remove_order(tmp_dir, scm, dvc, mocker, local_remote): function test_gc_not_collect_pipeline_tracked_files (line 254) | def test_gc_not_collect_pipeline_tracked_files(tmp_dir, dvc, run_copy): function test_gc_all_experiments (line 272) | def test_gc_all_experiments(tmp_dir, scm, dvc): function test_gc_rev_num (line 297) | def test_gc_rev_num(tmp_dir, scm, dvc): function test_date (line 318) | def test_date(tmp_dir, scm, dvc): function test_gc_not_in_remote (line 342) | def test_gc_not_in_remote(tmp_dir, scm, dvc, mocker, local_remote): function test_gc_not_in_remote_remote_arg (line 375) | def test_gc_not_in_remote_remote_arg(tmp_dir, scm, dvc, mocker, make_rem... function test_gc_not_in_remote_with_remote_field (line 399) | def test_gc_not_in_remote_with_remote_field(tmp_dir, scm, dvc, mocker, m... function test_gc_not_in_remote_cloud (line 420) | def test_gc_not_in_remote_cloud(tmp_dir, scm, dvc): function test_gc_cloud_remote_field (line 428) | def test_gc_cloud_remote_field(tmp_dir, scm, dvc, mocker, make_remote): function test_gc_dry (line 450) | def test_gc_dry(dvc, good_and_bad_cache): function test_gc_logging (line 457) | def test_gc_logging(caplog, dvc, good_and_bad_cache): function test_gc_skip_failed (line 474) | def test_gc_skip_failed(tmp_dir, dvc): function test_gc_dry_logs_paths (line 484) | def test_gc_dry_logs_paths(caplog, tmp_dir, dvc): FILE: tests/func/test_get.py function test_get_repo_file (line 16) | def test_get_repo_file(tmp_dir, erepo_dir): function test_get_repo_file_no_override (line 26) | def test_get_repo_file_no_override(tmp_dir, erepo_dir): function test_get_repo_file_with_override (line 44) | def test_get_repo_file_with_override(tmp_dir, erepo_dir): function test_get_repo_dir (line 58) | def test_get_repo_dir(tmp_dir, erepo_dir): function test_get_repo_broken_dir (line 67) | def test_get_repo_broken_dir(tmp_dir, erepo_dir): function test_get_git_file (line 84) | def test_get_git_file(request, tmp_dir, erepo_type): function test_get_git_dir (line 97) | def test_get_git_dir(request, tmp_dir, erepo_type): function test_cache_type_is_properly_overridden (line 109) | def test_cache_type_is_properly_overridden(tmp_dir, erepo_dir): function test_get_repo_rev (line 126) | def test_get_repo_rev(tmp_dir, erepo_dir): function test_get_from_non_dvc_repo (line 134) | def test_get_from_non_dvc_repo(tmp_dir, git_dir): function test_get_a_dvc_file (line 141) | def test_get_a_dvc_file(tmp_dir, erepo_dir): function test_non_cached_output (line 146) | def test_non_cached_output(tmp_dir, erepo_dir): function test_absolute_file_outside_repo (line 164) | def test_absolute_file_outside_repo(tmp_dir, erepo_dir): function test_absolute_file_outside_git_repo (line 169) | def test_absolute_file_outside_git_repo(tmp_dir, git_dir): function test_unknown_path (line 174) | def test_unknown_path(tmp_dir, erepo_dir): function test_get_to_dir (line 180) | def test_get_to_dir(tmp_dir, erepo_dir, dname): function test_get_from_non_dvc_master (line 192) | def test_get_from_non_dvc_master(tmp_dir, git_dir): function test_get_file_from_dir (line 202) | def test_get_file_from_dir(tmp_dir, erepo_dir): function test_get_url_positive (line 229) | def test_get_url_positive(tmp_dir, erepo_dir, caplog, local_cloud): function test_get_url_not_existing (line 241) | def test_get_url_not_existing(tmp_dir, erepo_dir, caplog): function test_get_url_git_only_repo (line 248) | def test_get_url_git_only_repo(tmp_dir, scm, caplog): function test_get_pipeline_tracked_outs (line 255) | def test_get_pipeline_tracked_outs(tmp_dir, dvc, scm, git_dir, run_copy,... function test_get_mixed_dir (line 270) | def test_get_mixed_dir(tmp_dir, erepo_dir): function test_get_from_subrepos (line 285) | def test_get_from_subrepos(tmp_dir, erepo_dir, is_dvc, files): function test_granular_get_from_subrepos (line 298) | def test_granular_get_from_subrepos(tmp_dir, erepo_dir): function test_get_complete_repo (line 309) | def test_get_complete_repo(tmp_dir, dvc, erepo_dir): FILE: tests/func/test_get_url.py function test_get_file (line 12) | def test_get_file(tmp_dir): function test_get_file_conflict_and_override (line 21) | def test_get_file_conflict_and_override(tmp_dir): function test_get_dir (line 43) | def test_get_dir(tmp_dir): function test_get_url_to_dir (line 54) | def test_get_url_to_dir(tmp_dir, dname): function test_get_url_nonexistent (line 63) | def test_get_url_nonexistent(tmp_dir): class TestGetUrl (line 68) | class TestGetUrl(_TestGetUrl): function test_get_url_config (line 72) | def test_get_url_config(tmp_dir, dvc, make_remote): FILE: tests/func/test_ignore.py function _to_pattern_info_list (line 16) | def _to_pattern_info_list(str_list: list): function test_ignore (line 21) | def test_ignore(tmp_dir, dvc, filename): function test_walk (line 34) | def test_walk(tmp_dir, dvc): function test_rename_ignored_file (line 89) | def test_rename_ignored_file(tmp_dir, dvc): function test_rename_file (line 104) | def test_rename_file(tmp_dir, dvc): function test_remove_ignored_file (line 115) | def test_remove_ignored_file(tmp_dir, dvc): function test_remove_file (line 126) | def test_remove_file(tmp_dir, dvc): function test_dvcignore_in_out_dir (line 137) | def test_dvcignore_in_out_dir(tmp_dir, dvc): function test_ignore_collecting_dvcignores (line 145) | def test_ignore_collecting_dvcignores(tmp_dir, dvc, dname): function test_ignore_on_branch (line 177) | def test_ignore_on_branch(tmp_dir, scm, dvc): function test_match_nested (line 199) | def test_match_nested(tmp_dir, dvc): function test_ignore_external (line 216) | def test_ignore_external(tmp_dir, scm, dvc, tmp_path_factory): function test_ignore_resurface_subrepo (line 230) | def test_ignore_resurface_subrepo(tmp_dir, scm, dvc): function test_ignore_blank_line (line 252) | def test_ignore_blank_line(tmp_dir, dvc): function test_ignore_file_in_parent_path (line 285) | def test_ignore_file_in_parent_path( function test_ignore_sub_directory (line 300) | def test_ignore_sub_directory(tmp_dir, dvc): function test_ignore_directory (line 320) | def test_ignore_directory(tmp_dir, dvc): function test_multi_ignore_file (line 328) | def test_multi_ignore_file(tmp_dir, dvc, monkeypatch): function test_pattern_trie_fs (line 340) | def test_pattern_trie_fs(tmp_dir, dvc): function test_ignore_in_added_dir (line 412) | def test_ignore_in_added_dir(tmp_dir, dvc): function test_ignored_output (line 438) | def test_ignored_output(tmp_dir, scm, dvc, run_copy): function test_ignored_output_nested (line 447) | def test_ignored_output_nested(tmp_dir, scm, dvc, run_copy): function test_run_dvcignored_dep (line 455) | def test_run_dvcignored_dep(tmp_dir, dvc, run_copy): function test_pull_ignore (line 461) | def test_pull_ignore(tmp_dir, dvc, local_cloud): FILE: tests/func/test_import.py function test_import (line 21) | def test_import(tmp_dir, scm, dvc, erepo_dir): function test_import_git_file (line 38) | def test_import_git_file(tmp_dir, scm, dvc, git_dir, src_is_dvc): function test_import_cached_file (line 54) | def test_import_cached_file(mocker, erepo_dir, tmp_dir, dvc, scm, monkey... function test_import_git_dir (line 73) | def test_import_git_dir(tmp_dir, scm, dvc, git_dir, src_is_dvc): function test_import_dir (line 89) | def test_import_dir(tmp_dir, scm, dvc, erepo_dir): function test_import_broken_dir (line 103) | def test_import_broken_dir(tmp_dir, scm, dvc, erepo_dir): function test_import_file_from_dir (line 116) | def test_import_file_from_dir(tmp_dir, scm, dvc, erepo_dir): function test_import_file_from_dir_to_dir (line 152) | def test_import_file_from_dir_to_dir(tmp_dir, scm, dvc, erepo_dir): function test_import_non_cached (line 174) | def test_import_non_cached(erepo_dir, tmp_dir, dvc, scm): function test_import_rev (line 198) | def test_import_rev(tmp_dir, scm, dvc, erepo_dir): function test_pull_imported_stage (line 215) | def test_pull_imported_stage(tmp_dir, dvc, erepo_dir): function test_import_no_download (line 231) | def test_import_no_download(tmp_dir, scm, dvc, erepo_dir): function test_pull_import_no_download (line 248) | def test_pull_import_no_download(tmp_dir, scm, dvc, erepo_dir): function test_pull_import_no_download_rev_lock (line 279) | def test_pull_import_no_download_rev_lock(tmp_dir, dvc, erepo_dir): function test_cache_type_is_properly_overridden (line 292) | def test_cache_type_is_properly_overridden(tmp_dir, scm, dvc, erepo_dir): function test_pull_imported_directory_stage (line 312) | def test_pull_imported_directory_stage(tmp_dir, dvc, erepo_dir, dirpath): function test_pull_wildcard_imported_directory_stage (line 327) | def test_pull_wildcard_imported_directory_stage(tmp_dir, dvc, erepo_dir): function test_push_wildcard_from_bare_git_repo (line 341) | def test_push_wildcard_from_bare_git_repo( function test_import_to_dir (line 369) | def test_import_to_dir(dname, tmp_dir, dvc, erepo_dir): function test_pull_non_workspace (line 384) | def test_pull_non_workspace(tmp_dir, scm, dvc, erepo_dir): function test_import_non_existing (line 404) | def test_import_non_existing(erepo_dir, tmp_dir, dvc): function test_pull_no_rev_lock (line 413) | def test_pull_no_rev_lock(erepo_dir, tmp_dir, dvc): function test_import_from_bare_git_repo (line 432) | def test_import_from_bare_git_repo(tmp_dir, make_tmp_dir, erepo_dir, loc... function test_import_pipeline_tracked_outs (line 448) | def test_import_pipeline_tracked_outs( function test_local_import (line 465) | def test_local_import(tmp_dir, dvc, scm): function test_import_mixed_dir (line 471) | def test_import_mixed_dir(tmp_dir, dvc, erepo_dir): function test_import_subrepos (line 486) | def test_import_subrepos(tmp_dir, erepo_dir, dvc, scm, is_dvc, files): function test_granular_import_from_subrepos (line 506) | def test_granular_import_from_subrepos(tmp_dir, dvc, erepo_dir): function test_pull_imported_stage_from_subrepos (line 524) | def test_pull_imported_stage_from_subrepos(tmp_dir, dvc, erepo_dir, is_d... function test_import_complete_repo (line 546) | def test_import_complete_repo(tmp_dir, dvc, erepo_dir): function test_import_with_no_exec (line 565) | def test_import_with_no_exec(tmp_dir, dvc, erepo_dir): function test_import_with_jobs (line 575) | def test_import_with_jobs(mocker, dvc, erepo_dir): function test_chained_import (line 598) | def test_chained_import(tmp_dir, dvc, make_tmp_dir, erepo_dir, local_clo... function test_parameterized_repo (line 632) | def test_parameterized_repo(tmp_dir, dvc, scm, erepo_dir, paths): function test_import_configs (line 699) | def test_import_configs(tmp_dir, scm, dvc, erepo_dir, options, def_repo): function test_import_invalid_configs (line 711) | def test_import_invalid_configs(tmp_dir, scm, dvc, erepo_dir): function test_import_no_hash (line 746) | def test_import_no_hash( FILE: tests/func/test_import_db.py function db_path (line 13) | def db_path(tmp_dir): function seed_db (line 18) | def seed_db(db_path): function db_connection (line 31) | def db_connection(dvc, db_path): function load_data (line 37) | def load_data(file, output_format): function test (line 51) | def test(tmp_dir, scm, dvc, db_connection, seed_db, output_format, args,... FILE: tests/func/test_import_url.py function test_cmd_import (line 16) | def test_cmd_import(tmp_dir, dvc): function test_cmd_unsupported_scheme (line 26) | def test_cmd_unsupported_scheme(dvc): function test_default_output (line 31) | def test_default_output(tmp_dir, dvc, cloud): function test_should_remove_outs_before_import (line 42) | def test_should_remove_outs_before_import(tmp_dir, dvc, mocker, erepo_dir): function test_import_conflict_and_override (line 52) | def test_import_conflict_and_override(tmp_dir, dvc): function test_import_url_to_dir (line 68) | def test_import_url_to_dir(dname, tmp_dir, dvc): function test_import_stage_accompanies_target (line 83) | def test_import_stage_accompanies_target(tmp_dir, dvc, erepo_dir): function test_import_url_nonexistent (line 95) | def test_import_url_nonexistent(dvc, erepo_dir): function test_import_url_with_no_exec (line 100) | def test_import_url_with_no_exec(tmp_dir, dvc, erepo_dir): class TestImport (line 109) | class TestImport(_TestImport): method stage_md5 (line 111) | def stage_md5(self): method dir_md5 (line 115) | def dir_md5(self): method is_object_storage (line 119) | def is_object_storage(self): function test_import_url_preserve_fields (line 123) | def test_import_url_preserve_fields(tmp_dir, dvc): function test_import_url_to_remote_absolute (line 174) | def test_import_url_to_remote_absolute(tmp_dir, make_tmp_dir, dvc, scm, ... function test_import_url_to_remote_invalid_combinations (line 188) | def test_import_url_to_remote_invalid_combinations(dvc): function test_import_url_to_remote_status (line 193) | def test_import_url_to_remote_status(tmp_dir, dvc, local_cloud, local_re... function test_import_url_no_download (line 208) | def test_import_url_no_download(tmp_dir, scm, dvc, local_workspace): function test_partial_import_pull (line 226) | def test_partial_import_pull(tmp_dir, scm, dvc, local_workspace): function test_import_url_fs_config (line 242) | def test_import_url_fs_config(tmp_dir, dvc, workspace, mocker): FILE: tests/func/test_init.py function test_api_init (line 12) | def test_api_init(scm): function test_cli_init (line 17) | def test_cli_init(scm): function test_double_init (line 23) | def test_double_init(scm): function test_init_no_scm_fail_api (line 37) | def test_init_no_scm_fail_api(tmp_dir): function test_init_no_scm_fail_cli (line 42) | def test_init_no_scm_fail_cli(tmp_dir): function test_init_no_scm_api (line 47) | def test_init_no_scm_api(tmp_dir): function test_init_no_scm_cli (line 54) | def test_init_no_scm_cli(tmp_dir): function test_init_quiet_should_not_display_welcome_screen (line 63) | def test_init_quiet_should_not_display_welcome_screen(tmp_dir, scm, capl... function test_allow_init_dvc_subdir (line 71) | def test_allow_init_dvc_subdir(tmp_dir, scm, monkeypatch): function test_subdir_init_no_option (line 83) | def test_subdir_init_no_option(tmp_dir, scm, monkeypatch, caplog): function test_gen_dvcignore (line 101) | def test_gen_dvcignore(tmp_dir): function test_init_when_ignored_by_git (line 111) | def test_init_when_ignored_by_git(tmp_dir, scm, caplog): FILE: tests/func/test_install.py class TestInstall (line 18) | class TestInstall: method _hook (line 19) | def _hook(self, name): method test_create_hooks (line 22) | def test_create_hooks(self, scm, dvc): method test_install_pre_commit_tool (line 36) | def test_install_pre_commit_tool(self, scm, dvc): method test_fail_if_hook_exists (line 42) | def test_fail_if_hook_exists(self, scm, dvc): method test_pre_commit_hook (line 53) | def test_pre_commit_hook(self, tmp_dir, scm, dvc, caplog): method test_post_checkout (line 62) | def test_post_checkout(self, tmp_dir, scm, dvc): method test_pre_push_hook (line 71) | def test_pre_push_hook(self, tmp_dir, scm, dvc, tmp_path_factory): function test_merge_driver_no_ancestor (line 100) | def test_merge_driver_no_ancestor(tmp_dir, scm, dvc): function test_merge_driver (line 134) | def test_merge_driver(tmp_dir, scm, dvc): FILE: tests/func/test_lock.py function test_with (line 11) | def test_with(tmp_dir, dvc, mocker): function test_unlock_lock_failed (line 21) | def test_unlock_lock_failed(tmp_dir, dvc, request, mocker): function test_unlock_unlocked_raises (line 39) | def test_unlock_unlocked_raises(): function test_cli (line 45) | def test_cli(tmp_dir, dvc, mocker, caplog): function hold_lock_until_signaled (line 60) | def hold_lock_until_signaled(lockfile_path, result_queue, release_signal): function try_lock_with_wait (line 68) | def try_lock_with_wait(lockfile_path, wait, result_queue): function test_lock_waits_when_requested (line 80) | def test_lock_waits_when_requested(request, tmp_path): FILE: tests/func/test_lockfile.py function read_lock_file (line 19) | def read_lock_file(file=LOCK_FILE): function assert_eq_lockfile (line 26) | def assert_eq_lockfile(previous, new): function test_deps_outs_are_sorted_by_path (line 34) | def test_deps_outs_are_sorted_by_path(tmp_dir, dvc, run_head): function test_order_is_preserved_when_pipeline_order_changes (line 62) | def test_order_is_preserved_when_pipeline_order_changes(tmp_dir, dvc, ru... function test_cmd_changes_other_orders_are_preserved (line 87) | def test_cmd_changes_other_orders_are_preserved(tmp_dir, dvc, run_head): function test_params_dump (line 109) | def test_params_dump(tmp_dir, dvc, run_head): FILE: tests/func/test_ls.py function match_files (line 30) | def match_files(files, expected_files): function create_dvc_pipeline (line 36) | def create_dvc_pipeline(tmp_dir, dvc): function test_ls_repo (line 57) | def test_ls_repo(tmp_dir, dvc, scm): function test_ls_repo_recursive (line 76) | def test_ls_repo_recursive(tmp_dir, dvc, scm): function test_ls_repo_dvc_only_recursive (line 104) | def test_ls_repo_dvc_only_recursive(tmp_dir, dvc, scm): function test_ls_repo_with_new_path_dir (line 120) | def test_ls_repo_with_new_path_dir(tmp_dir, dvc, scm): function test_ls_repo_with_path_dir (line 129) | def test_ls_repo_with_path_dir(tmp_dir, dvc, scm): function test_ls_repo_with_path_dir_dvc_only_empty (line 146) | def test_ls_repo_with_path_dir_dvc_only_empty(tmp_dir, dvc, scm): function test_ls_repo_with_path_subdir (line 163) | def test_ls_repo_with_path_subdir(tmp_dir, dvc, scm): function test_ls_repo_with_path_subdir_dvc_only (line 180) | def test_ls_repo_with_path_subdir_dvc_only(tmp_dir, dvc, scm): function test_ls_repo_with_path_subdir_dvc_only_recursive (line 189) | def test_ls_repo_with_path_subdir_dvc_only_recursive(tmp_dir, dvc, scm): function test_ls_repo_with_path_file_out (line 198) | def test_ls_repo_with_path_file_out(tmp_dir, dvc, scm): function test_ls_repo_with_file_path_fs (line 207) | def test_ls_repo_with_file_path_fs(tmp_dir, dvc, scm): function test_ls_repo_with_missed_path (line 216) | def test_ls_repo_with_missed_path(tmp_dir, dvc, scm): function test_ls_repo_with_missed_path_dvc_only (line 224) | def test_ls_repo_with_missed_path_dvc_only(tmp_dir, dvc, scm): function test_ls_repo_with_removed_dvc_dir (line 237) | def test_ls_repo_with_removed_dvc_dir(tmp_dir, dvc, scm): function test_ls_repo_with_removed_dvc_dir_recursive (line 256) | def test_ls_repo_with_removed_dvc_dir_recursive(tmp_dir, dvc, scm): function test_ls_repo_with_removed_dvc_dir_with_path_dir (line 275) | def test_ls_repo_with_removed_dvc_dir_with_path_dir(tmp_dir, dvc, scm): function test_ls_repo_with_removed_dvc_dir_with_path_file (line 283) | def test_ls_repo_with_removed_dvc_dir_with_path_file(tmp_dir, dvc, scm): function test_ls_repo_with_rev (line 291) | def test_ls_repo_with_rev(erepo_dir): function test_ls_remote_repo (line 309) | def test_ls_remote_repo(erepo_dir): function test_ls_remote_repo_recursive (line 330) | def test_ls_remote_repo_recursive(erepo_dir): function test_ls_remote_git_only_repo_recursive (line 360) | def test_ls_remote_git_only_repo_recursive(git_dir): function test_ls_remote_repo_with_path_dir (line 377) | def test_ls_remote_repo_with_path_dir(erepo_dir): function test_ls_remote_repo_with_rev (line 397) | def test_ls_remote_repo_with_rev(erepo_dir): function test_ls_remote_repo_with_rev_recursive (line 416) | def test_ls_remote_repo_with_rev_recursive(erepo_dir): function test_ls_not_existed_url (line 444) | def test_ls_not_existed_url(): function test_ls_shows_pipeline_tracked_outs (line 452) | def test_ls_shows_pipeline_tracked_outs(tmp_dir, dvc, scm, run_copy): function test_ls_granular (line 464) | def test_ls_granular(erepo_dir): function test_ls_target (line 527) | def test_ls_target(erepo_dir, use_scm): function test_subrepo (line 593) | def test_subrepo(request, dvc_top_level, erepo_type): function test_broken_symlink (line 628) | def test_broken_symlink(tmp_dir, dvc): function test_ls_broken_dir (line 658) | def test_ls_broken_dir(tmp_dir, dvc): function test_ls_maxdepth (line 744) | def test_ls_maxdepth(tmp_dir, scm, dvc): function _simplify_tree (line 830) | def _simplify_tree(files): function test_ls_tree (line 840) | def test_ls_tree(tmp_dir, scm, dvc): function test_ls_tree_dvc_only (line 891) | def test_ls_tree_dvc_only(tmp_dir, scm, dvc): function test_ls_tree_maxdepth (line 909) | def test_ls_tree_maxdepth(tmp_dir, scm, dvc): function test_fs_ls_tree (line 1005) | def test_fs_ls_tree(): function test_fs_ls_tree_maxdepth (line 1034) | def test_fs_ls_tree_maxdepth(): FILE: tests/func/test_ls_url.py class TestLsUrl (line 6) | class TestLsUrl(_TestLsUrl): function test_ls_url_config (line 10) | def test_ls_url_config(dvc, make_remote): FILE: tests/func/test_merge_driver.py function _gen (line 9) | def _gen(tmp_dir, struct, name): function test_merge (line 60) | def test_merge(tmp_dir, dvc, ancestor, our, their, merged): function test_merge_conflict (line 103) | def test_merge_conflict(tmp_dir, dvc, ancestor, our, their, error, caplog): function test_merge_different_output_options (line 127) | def test_merge_different_output_options(tmp_dir, dvc, caplog): function test_merge_file (line 163) | def test_merge_file(tmp_dir, dvc, caplog): function test_merge_non_dvc_add (line 194) | def test_merge_non_dvc_add(tmp_dir, dvc, caplog): FILE: tests/func/test_move.py function test_move (line 12) | def test_move(tmp_dir, dvc, scm): function test_move_non_existent_file (line 25) | def test_move_non_existent_file(dvc): function test_move_missing_file (line 30) | def test_move_missing_file(tmp_dir, dvc, scm, caplog): function test_move_directory (line 48) | def test_move_directory(tmp_dir, dvc): function test_cmd_move (line 55) | def test_cmd_move(tmp_dir, dvc): function test_move_not_data_source (line 61) | def test_move_not_data_source(tmp_dir, dvc): function test_move_file_with_extension (line 72) | def test_move_file_with_extension(tmp_dir, dvc): function test_move_file_to_directory (line 82) | def test_move_file_to_directory(tmp_dir, dvc): function test_move_file_to_directory_without_specified_target_name (line 93) | def test_move_file_to_directory_without_specified_target_name(tmp_dir, d... function test_move_directory_should_not_overwrite_existing (line 107) | def test_move_directory_should_not_overwrite_existing(tmp_dir, dvc, scm): function test_move_file_between_directories (line 123) | def test_move_file_between_directories(tmp_dir, dvc): function test_move_file_inside_directory (line 139) | def test_move_file_inside_directory(tmp_dir, dvc): function test_move_should_save_stage_info (line 152) | def test_move_should_save_stage_info(tmp_dir, dvc): function test_should_move_to_dir_on_non_default_stage_file (line 160) | def test_should_move_to_dir_on_non_default_stage_file(tmp_dir, dvc): function test_move_gitignored (line 172) | def test_move_gitignored(tmp_dir, scm, dvc): function test_move_output_overlap (line 189) | def test_move_output_overlap(tmp_dir, dvc): function test_move_meta (line 203) | def test_move_meta(tmp_dir, dvc): function test_import (line 224) | def test_import(tmp_dir, dvc, scm): function test_import_url_in_repo (line 255) | def test_import_url_in_repo(tmp_dir, dvc, path_func): function test_import_url_out_of_repo (line 287) | def test_import_url_out_of_repo(tmp_dir, dvc, scm, path_func, make_tmp_d... function test_all_metadata_are_preserved (line 332) | def test_all_metadata_are_preserved(tmp_dir, dvc, make_tmp_dir, path_func): function test_move_dst_stage_file_already_exists (line 388) | def test_move_dst_stage_file_already_exists(tmp_dir, dvc): FILE: tests/func/test_odb.py function test_cache (line 14) | def test_cache(tmp_dir, dvc): function test_cache_load_bad_dir_cache (line 37) | def test_cache_load_bad_dir_cache(tmp_dir, dvc): function test_external_cache_dir (line 53) | def test_external_cache_dir(tmp_dir, dvc, make_tmp_dir): function test_shared_cache_dir (line 76) | def test_shared_cache_dir(tmp_dir): function test_cache_link_type (line 107) | def test_cache_link_type(tmp_dir, scm, dvc): function test_cmd_cache_dir (line 117) | def test_cmd_cache_dir(tmp_dir, scm, dvc): function test_cmd_cache_abs_path (line 122) | def test_cmd_cache_abs_path(tmp_dir, scm, dvc, make_tmp_dir): function test_cmd_cache_relative_path (line 131) | def test_cmd_cache_relative_path(tmp_dir, scm, dvc, make_tmp_dir): function test_default_cache_type (line 153) | def test_default_cache_type(dvc): function test_shared_cache (line 159) | def test_shared_cache(tmp_dir, dvc, group): FILE: tests/func/test_remote.py function test_remote (line 15) | def test_remote(dvc): function test_remote_add_relative_path (line 32) | def test_remote_add_relative_path(dvc): function test_remote_overwrite (line 44) | def test_remote_overwrite(dvc): function test_referencing_other_remotes (line 52) | def test_referencing_other_remotes(dvc): function test_remove_default (line 60) | def test_remove_default(tmp_dir, dvc): function test_remote_remove (line 79) | def test_remote_remove(dvc): function test_remote_default_cmd (line 91) | def test_remote_default_cmd(dvc): function test_show_default (line 110) | def test_show_default(dvc, capsys): function test_list_shows_default (line 118) | def test_list_shows_default(dvc, capsys): function test_upper_case_remote (line 132) | def test_upper_case_remote(tmp_dir, dvc, local_cloud): function test_dir_hash_should_be_key_order_agnostic (line 144) | def test_dir_hash_should_be_key_order_agnostic(tmp_dir, dvc, mocker): function test_partial_push_n_pull (line 173) | def test_partial_push_n_pull( # noqa: C901 function test_raise_on_too_many_open_files (line 244) | def test_raise_on_too_many_open_files( function test_modify_missing_remote (line 259) | def test_modify_missing_remote(tmp_dir, dvc): function test_remote_modify_local_on_repo_config (line 263) | def test_remote_modify_local_on_repo_config(tmp_dir, dvc): function test_push_order (line 278) | def test_push_order(tmp_dir, dvc, tmp_path_factory, mocker, local_remote): function test_remote_modify_validation (line 299) | def test_remote_modify_validation(dvc): function test_remote_modify_unset (line 310) | def test_remote_modify_unset(dvc): function test_remote_modify_default (line 327) | def test_remote_modify_default(dvc): function test_remote_rename (line 345) | def test_remote_rename(dvc): function test_remote_duplicated (line 370) | def test_remote_duplicated(dvc): function test_remote_default (line 391) | def test_remote_default(dvc): function test_protect_local_remote (line 416) | def test_protect_local_remote(tmp_dir, dvc, local_remote): function test_push_incomplete_dir (line 427) | def test_push_incomplete_dir(tmp_dir, dvc, mocker, local_remote): FILE: tests/func/test_remove.py function test_remove (line 15) | def test_remove(tmp_dir, scm, dvc, run_copy, remove_outs): function test_remove_file_target (line 36) | def test_remove_file_target(tmp_dir, dvc): function test_remove_non_existent_file (line 48) | def test_remove_non_existent_file(tmp_dir, dvc): function test_remove_broken_symlink (line 55) | def test_remove_broken_symlink(tmp_dir, dvc): function test_cmd_remove (line 73) | def test_cmd_remove(tmp_dir, dvc): function test_cmd_remove_gitignore_single_stage (line 87) | def test_cmd_remove_gitignore_single_stage(tmp_dir, scm, dvc, run_copy): function test_cmd_remove_gitignore_multistage (line 98) | def test_cmd_remove_gitignore_multistage(tmp_dir, scm, dvc, run_copy): FILE: tests/func/test_repo.py function test_open_bare (line 13) | def test_open_bare(tmp_dir, scm, dvc, tmp_path_factory): function test_destroy (line 35) | def test_destroy(tmp_dir, dvc, run_copy): FILE: tests/func/test_repo_index.py function test_index (line 12) | def test_index(tmp_dir, scm, dvc, run_copy): function test_repr (line 26) | def test_repr(tmp_dir, scm, dvc): function outputs_equal (line 39) | def outputs_equal(actual, expected): function test_deps_outs_getters (line 51) | def test_deps_outs_getters(tmp_dir, dvc, run_copy_metrics): function test_update (line 91) | def test_update(dvc): function assert_index_equal (line 114) | def assert_index_equal(first, second, strict=True, ordered=True): function test_skip_graph_checks (line 127) | def test_skip_graph_checks(dvc, mocker): function test_used_objs (line 148) | def test_used_objs(tmp_dir, scm, dvc, run_copy): function test_view_granular_dir (line 183) | def test_view_granular_dir(tmp_dir, scm, dvc, run_copy): function test_view_onerror (line 203) | def test_view_onerror(tmp_dir, scm, dvc): function test_view_stage_filter (line 228) | def test_view_stage_filter(tmp_dir, scm, dvc, run_copy): function test_view_outs_filter (line 247) | def test_view_outs_filter(tmp_dir, scm, dvc, run_copy): function test_view_combined_filter (line 258) | def test_view_combined_filter(tmp_dir, scm, dvc, run_copy): function test_view_brancher (line 281) | def test_view_brancher(tmp_dir, scm, dvc): function test_with_gitignore (line 291) | def test_with_gitignore(tmp_dir, dvc, scm): function test_ignored_dir_unignored_pattern (line 304) | def test_ignored_dir_unignored_pattern(tmp_dir, dvc, scm): function test_param_keys_returns_default_file (line 312) | def test_param_keys_returns_default_file(tmp_dir, dvc): function test_param_keys_no_params (line 318) | def test_param_keys_no_params(dvc): function test_param_keys_top_level_params (line 323) | def test_param_keys_top_level_params(tmp_dir, dvc): function test_data_index (line 335) | def test_data_index(tmp_dir, dvc, local_cloud, erepo_dir): function test_index_from_targets (line 408) | def test_index_from_targets(tmp_dir, dvc): FILE: tests/func/test_root.py function test_root (line 4) | def test_root(tmp_dir, dvc, capsys): function test_root_locked (line 9) | def test_root_locked(tmp_dir, dvc, capsys): FILE: tests/func/test_run.py function test_run (line 32) | def test_run(tmp_dir, dvc, copy_script): function test_run_empty (line 58) | def test_run_empty(dvc): function test_run_missing_dep (line 62) | def test_run_missing_dep(dvc): function test_run_no_exec (line 73) | def test_run_no_exec(tmp_dir, dvc, scm, run_copy): function test_run_repeat (line 93) | def test_run_repeat(tmp_dir, dvc, run_copy): function test_run_cached (line 112) | def test_run_cached(tmp_dir, dvc, run_copy, mocker): function test_dump_on_non_cached_outputs (line 123) | def test_dump_on_non_cached_outputs(tmp_dir, dvc): function test_with_wdir (line 133) | def test_with_wdir(tmp_dir, dvc): function test_always_changed (line 147) | def test_always_changed(tmp_dir, dvc): function test_graph (line 163) | def test_graph(tmp_dir, dvc): class TestRunCircularDependency (line 176) | class TestRunCircularDependency: method test (line 177) | def test(self, dvc): method test_outs_no_cache (line 186) | def test_outs_no_cache(self, dvc): method test_non_normalized_paths (line 195) | def test_non_normalized_paths(self, dvc): method test_graph (line 204) | def test_graph(self, tmp_dir, dvc): class TestRunDuplicatedArguments (line 229) | class TestRunDuplicatedArguments: method test (line 230) | def test(self, dvc): method test_outs_no_cache (line 239) | def test_outs_no_cache(self, dvc): method test_non_normalized_paths (line 248) | def test_non_normalized_paths(self, dvc): class TestRunBadWdir (line 258) | class TestRunBadWdir: method test (line 259) | def test(self, make_tmp_dir, dvc): method test_same_prefix (line 263) | def test_same_prefix(self, tmp_dir, dvc): method test_not_found (line 269) | def test_not_found(self, tmp_dir, dvc): method test_not_dir (line 274) | def test_not_dir(self, tmp_dir, dvc): class TestCmdRunWorkingDirectory (line 283) | class TestCmdRunWorkingDirectory: method test_default_wdir_is_not_written (line 284) | def test_default_wdir_is_not_written(self, tmp_dir, dvc): method test_fname_changes_path_and_wdir (line 294) | def test_fname_changes_path_and_wdir(self, tmp_dir, dvc): function test_run_dump (line 312) | def test_run_dump(tmp_dir, dvc, run_head): function test_run_with_invalid_stage_name (line 373) | def test_run_with_invalid_stage_name(run_copy, char): function test_run_with_name_having_hyphen_underscore (line 378) | def test_run_with_name_having_hyphen_underscore(tmp_dir, dvc, run_copy): function test_run_already_exists (line 383) | def test_run_already_exists(tmp_dir, dvc, run_copy): function test_run_params_default (line 400) | def test_run_params_default(tmp_dir, dvc): function test_run_params_custom_file (line 419) | def test_run_params_custom_file(tmp_dir, dvc): function test_run_params_no_exec (line 438) | def test_run_params_no_exec(tmp_dir, dvc): function test_run_without_cmd (line 462) | def test_run_without_cmd(tmp_dir, dvc, kwargs): function test_run_overwrite_order (line 468) | def test_run_overwrite_order(tmp_dir, dvc, run_copy): function test_run_overwrite_preserves_meta_and_comment (line 479) | def test_run_overwrite_preserves_meta_and_comment(tmp_dir, dvc, run_copy): function test_run_external_outputs (line 504) | def test_run_external_outputs(tmp_dir, dvc, local_workspace): function test_rerun_callback (line 558) | def test_rerun_callback(dvc): function test_rerun_changed_dep (line 568) | def test_rerun_changed_dep(tmp_dir, run_copy): function test_run_remove_outs (line 578) | def test_run_remove_outs(tmp_dir, dvc, append_foo_script): function test_metrics_dir (line 589) | def test_metrics_dir(tmp_dir, dvc, caplog, run_copy_metrics, metrics_type): function test_rerun_deterministic (line 597) | def test_rerun_deterministic(tmp_dir, run_copy, mocker): function test_rerun_deterministic_ignore_cache (line 612) | def test_rerun_deterministic_ignore_cache(tmp_dir, run_copy, mocker): function test_rerun_changed_stage (line 627) | def test_rerun_changed_stage(tmp_dir, run_copy): function test_rerun_changed_out (line 636) | def test_rerun_changed_out(tmp_dir, run_copy): function test_should_raise_on_overlapping_output_paths (line 645) | def test_should_raise_on_overlapping_output_paths(tmp_dir, dvc, append_f... function test_should_not_checkout_upon_corrupted_local_hardlink_cache (line 670) | def test_should_not_checkout_upon_corrupted_local_hardlink_cache( FILE: tests/func/test_run_cache.py function _recurse_count_files (line 12) | def _recurse_count_files(path): function test_push_pull (line 16) | def test_push_pull(tmp_dir, dvc, erepo_dir, run_copy, local_remote): function test_restore (line 32) | def test_restore(tmp_dir, dvc, run_copy, mocker): function test_save (line 52) | def test_save(tmp_dir, dvc, run_copy): function test_do_not_save_on_no_exec_and_dry (line 62) | def test_do_not_save_on_no_exec_and_dry(tmp_dir, dvc, run_copy): function test_outs_no_cache_deactivate_run_cache (line 86) | def test_outs_no_cache_deactivate_run_cache(tmp_dir, dvc, out_type, run_... function test_memory_for_multiple_runs_of_same_stage (line 98) | def test_memory_for_multiple_runs_of_same_stage(tmp_dir, dvc, run_copy, ... function test_newest_entry_is_loaded_for_non_deterministic_stage (line 135) | def test_newest_entry_is_loaded_for_non_deterministic_stage(tmp_dir, dvc... function test_memory_runs_of_multiple_stages (line 175) | def test_memory_runs_of_multiple_stages(tmp_dir, dvc, run_copy, mocker): function test_restore_pull (line 210) | def test_restore_pull(tmp_dir, dvc, run_copy, mocker, local_remote): function test_push_pull_unsupported (line 240) | def test_push_pull_unsupported(tmp_dir, dvc, mocker, run_copy, local_rem... FILE: tests/func/test_scm.py function test_init_none (line 8) | def test_init_none(tmp_dir): function test_init_git (line 12) | def test_init_git(tmp_dir): function test_init_no_git (line 17) | def test_init_no_git(tmp_dir): function test_init_sub_dir (line 22) | def test_init_sub_dir(tmp_dir): function test_lfs_prefetch (line 31) | def test_lfs_prefetch(tmp_dir, dvc, scm, mocker): FILE: tests/func/test_scm_context.py function test_scm_context_autostage (line 1) | def test_scm_context_autostage(tmp_dir, scm, dvc): function test_scm_context_ignore (line 10) | def test_scm_context_ignore(tmp_dir, scm, dvc): function test_scm_context_when_already_ignored (line 19) | def test_scm_context_when_already_ignored(tmp_dir, scm, dvc): function test_scm_context_ignore_remove (line 33) | def test_scm_context_ignore_remove(tmp_dir, scm, dvc): function test_scm_context_try_ignore_remove_non_existing_entry (line 45) | def test_scm_context_try_ignore_remove_non_existing_entry(tmp_dir, dvc, ... function test_scm_context_no_track_on_ignore_remove (line 53) | def test_scm_context_no_track_on_ignore_remove(tmp_dir, dvc, scm): FILE: tests/func/test_stage.py function test_cmd_obj (line 19) | def test_cmd_obj(): function test_no_cmd (line 24) | def test_no_cmd(): function test_object (line 28) | def test_object(): function test_none (line 36) | def test_none(): function test_empty_list (line 41) | def test_empty_list(): function test_list (line 49) | def test_list(): function test_reload (line 64) | def test_reload(tmp_dir, dvc): function test_default_wdir_ignored_in_checksum (line 83) | def test_default_wdir_ignored_in_checksum(tmp_dir, dvc): function test_external_remote_output_resolution (line 98) | def test_external_remote_output_resolution(tmp_dir, dvc, make_remote): function test_external_remote_dependency_resolution (line 113) | def test_external_remote_dependency_resolution(tmp_dir, dvc, make_remote): function test_md5_ignores_comments (line 125) | def test_md5_ignores_comments(tmp_dir, dvc): function test_md5_ignores_annotations (line 135) | def test_md5_ignores_annotations(tmp_dir, dvc): function test_meta_desc_is_preserved (line 171) | def test_meta_desc_is_preserved(tmp_dir, dvc): function test_parent_repo_collect_stages (line 205) | def test_parent_repo_collect_stages(tmp_dir, scm, dvc): function test_collect_symlink (line 233) | def test_collect_symlink(tmp_dir, dvc, with_deps): function test_stage_strings_representation (line 265) | def test_stage_strings_representation(tmp_dir, dvc, run_copy): function test_stage_on_no_path_string_repr (line 294) | def test_stage_on_no_path_string_repr(tmp_dir, dvc): function test_stage_remove_pipeline_stage (line 306) | def test_stage_remove_pipeline_stage(tmp_dir, dvc, run_copy): function test_stage_remove_pointer_stage (line 324) | def test_stage_remove_pointer_stage(tmp_dir, dvc, run_copy): function test_stage_add_duplicated_output (line 337) | def test_stage_add_duplicated_output(tmp_dir, dvc): FILE: tests/func/test_stage_load.py function test_collect (line 20) | def test_collect(tmp_dir, scm, dvc, run_copy): function test_collect_dir_recursive (line 62) | def test_collect_dir_recursive(tmp_dir, dvc, run_head): function test_collect_with_not_existing_output_or_stage_name (line 71) | def test_collect_with_not_existing_output_or_stage_name(tmp_dir, dvc, ru... function test_stages (line 80) | def test_stages(tmp_dir, dvc): function stages (line 98) | def stages(tmp_dir, run_copy): function test_collect_not_a_group_stage_with_group_flag (line 109) | def test_collect_not_a_group_stage_with_group_flag(tmp_dir, dvc, stages): function test_collect_generated (line 126) | def test_collect_generated(tmp_dir, dvc): function test_collect_glob (line 147) | def test_collect_glob(tmp_dir, dvc, stages): function test_collect_granular_with_no_target (line 156) | def test_collect_granular_with_no_target(tmp_dir, dvc, stages): function test_collect_granular_with_target (line 163) | def test_collect_granular_with_target(tmp_dir, dvc, stages): function test_collect_with_not_existing_dvcfile (line 204) | def test_collect_with_not_existing_dvcfile(tmp_dir, dvc, target): function test_collect_granular_with_not_existing_output_or_stage_name (line 211) | def test_collect_granular_with_not_existing_output_or_stage_name(tmp_dir... function test_collect_granular_with_deps (line 218) | def test_collect_granular_with_deps(tmp_dir, dvc, stages): function test_collect_granular_same_output_name_stage_name (line 243) | def test_collect_granular_same_output_name_stage_name(tmp_dir, dvc, run_... function test_collect_granular_priority_on_collision (line 262) | def test_collect_granular_priority_on_collision(tmp_dir, dvc, run_copy): function test_collect_granular_collision_output_dir_stage_name (line 276) | def test_collect_granular_collision_output_dir_stage_name(tmp_dir, dvc, ... function test_collect_granular_not_existing_stage_name (line 287) | def test_collect_granular_not_existing_stage_name(tmp_dir, dvc, run_copy): function test_get_stages (line 299) | def test_get_stages(tmp_dir, dvc, run_copy): function test_get_stages_old_dvcfile (line 321) | def test_get_stages_old_dvcfile(tmp_dir, dvc): function test_get_stage (line 330) | def test_get_stage(tmp_dir, dvc, run_copy): function test_get_stage_single_stage_dvcfile (line 350) | def test_get_stage_single_stage_dvcfile(tmp_dir, dvc): function test_collect_optimization (line 358) | def test_collect_optimization(tmp_dir, dvc, mocker): function test_collect_optimization_on_stage_name (line 372) | def test_collect_optimization_on_stage_name(tmp_dir, dvc, mocker, run_co... function test_collect_repo_callback (line 386) | def test_collect_repo_callback(tmp_dir, dvc, mocker): function test_gitignored_file_try_collect_granular_for_data_files (line 402) | def test_gitignored_file_try_collect_granular_for_data_files(tmp_dir, dv... function test_gitignored_file_try_collect_granular_for_dvc_yaml_files (line 415) | def test_gitignored_file_try_collect_granular_for_dvc_yaml_files( FILE: tests/func/test_state.py function test_state (line 8) | def test_state(tmp_dir, dvc): function test_state_overflow (line 29) | def test_state_overflow(tmp_dir, dvc): function mock_get_inode (line 42) | def mock_get_inode(inode): function test_remove_links (line 49) | def test_remove_links(tmp_dir, dvc): function test_get_unused_links (line 59) | def test_get_unused_links(tmp_dir, dvc): FILE: tests/func/test_status.py function test_quiet (line 10) | def test_quiet(tmp_dir, dvc, capsys): function test_implied_cloud (line 29) | def test_implied_cloud(dvc, mocker): function test_status_non_dvc_repo_import (line 37) | def test_status_non_dvc_repo_import(tmp_dir, dvc, git_dir, check_updates): function test_status_before_and_after_dvc_init (line 57) | def test_status_before_and_after_dvc_init(tmp_dir, dvc, git_dir): function test_status_on_pipeline_stages (line 79) | def test_status_on_pipeline_stages(tmp_dir, dvc, run_copy): function test_status_recursive (line 106) | def test_status_recursive(tmp_dir, dvc): function test_status_outputs (line 122) | def test_status_outputs(tmp_dir, dvc): function test_params_without_targets (line 141) | def test_params_without_targets(tmp_dir, dvc): FILE: tests/func/test_unprotect.py function test_unprotect (line 4) | def test_unprotect(tmp_dir, dvc): FILE: tests/func/test_update.py function test_update_import (line 13) | def test_update_import(tmp_dir, dvc, erepo_dir, cached): function test_update_import_after_remote_updates_to_dvc (line 74) | def test_update_import_after_remote_updates_to_dvc(tmp_dir, dvc, erepo_d... function test_update_before_and_after_dvc_init (line 119) | def test_update_before_and_after_dvc_init(tmp_dir, dvc, git_dir): function test_update_unchanged (line 146) | def test_update_unchanged(tmp_dir, dvc, erepo_dir, mocker): function test_update_no_download (line 160) | def test_update_no_download(tmp_dir, dvc, erepo_dir, outs_exist, mocker): function test_update_import_url (line 187) | def test_update_import_url(tmp_dir, dvc, workspace): function test_update_import_url_no_download (line 208) | def test_update_import_url_no_download(tmp_dir, dvc, workspace, outs_exi... function test_update_import_url_unchanged (line 236) | def test_update_import_url_unchanged(tmp_dir, dvc, workspace, mocker): function test_update_rev (line 248) | def test_update_rev(tmp_dir, dvc, scm, git_dir): function test_update_recursive (line 282) | def test_update_recursive(tmp_dir, dvc, erepo_dir): function test_update_from_subrepos (line 336) | def test_update_from_subrepos(tmp_dir, dvc, erepo_dir, is_dvc): function test_update_import_to_remote (line 364) | def test_update_import_to_remote(tmp_dir, dvc, erepo_dir, local_remote): function test_update_import_url_to_remote (line 372) | def test_update_import_url_to_remote(tmp_dir, dvc, workspace, local_remo... function test_update_import_url_to_remote_directory (line 386) | def test_update_import_url_to_remote_directory( function test_update_import_url_to_remote_directory_changed_contents (line 424) | def test_update_import_url_to_remote_directory_changed_contents( function test_update_import_url_to_remote_directory_same_hash (line 446) | def test_update_import_url_to_remote_directory_same_hash( FILE: tests/func/test_used_objs.py function test_from_gitfs_when_pwd_not_in_root (line 32) | def test_from_gitfs_when_pwd_not_in_root(tmp_dir, scm, dvc, stage_wdir, ... function test_used_objs_push (line 52) | def test_used_objs_push(tmp_dir, scm, dvc): FILE: tests/func/test_utils.py function test_dict_md5 (line 9) | def test_dict_md5(): function test_boxify (line 32) | def test_boxify(): function test_glob_no_match (line 44) | def test_glob_no_match(): FILE: tests/func/test_version.py function test_ (line 12) | def test_(tmp_dir, dvc, scm, capsys): function test_import_error (line 28) | def test_import_error(tmp_dir, dvc, scm, capsys, monkeypatch): FILE: tests/func/test_virtual_directory.py function test_virtual_add (line 9) | def test_virtual_add(tmp_dir, dvc, remote): function test_virtual_remove (line 44) | def test_virtual_remove(tmp_dir, dvc, remote): function test_virtual_update_dir (line 88) | def test_virtual_update_dir(tmp_dir, dvc, remote): function test_virtual_update_file (line 113) | def test_virtual_update_file(tmp_dir, dvc, remote): function test_virtual_update_noop (line 137) | def test_virtual_update_noop(tmp_dir, dvc, remote): function test_partial_checkout_and_update (line 169) | def test_partial_checkout_and_update(tmp_dir, dvc, remote): FILE: tests/func/utils/test_hydra.py function test_apply_overrides (line 94) | def test_apply_overrides(tmp_dir, suffix, overrides, expected): function test_invalid_overrides (line 120) | def test_invalid_overrides(tmp_dir, overrides): function hydra_setup (line 131) | def hydra_setup(tmp_dir, config_dir, config_name): function test_compose_and_dump_overrides (line 173) | def test_compose_and_dump_overrides(tmp_dir, suffix, overrides, expected): function hydra_setup_dir_basic (line 186) | def hydra_setup_dir_basic(tmp_dir, config_subdir, config_name, config_co... function test_compose_and_dump_dir_module (line 225) | def test_compose_and_dump_dir_module( function test_compose_and_dump_yaml_handles_string (line 243) | def test_compose_and_dump_yaml_handles_string(tmp_dir): function test_compose_and_dump_resolves_interpolation (line 255) | def test_compose_and_dump_resolves_interpolation(tmp_dir): function test_compose_and_dump_plugins (line 269) | def test_compose_and_dump_plugins(tmp_dir): function test_hydra_sweeps (line 349) | def test_hydra_sweeps(overrides, expected): function test_invalid_sweep (line 355) | def test_invalid_sweep(): FILE: tests/func/utils/test_strict_yaml.py function force_posixpath (line 320) | def force_posixpath(mocker): function fixed_width_term (line 326) | def fixed_width_term(mocker): function test_exceptions (line 338) | def test_exceptions( function test_on_revision (line 362) | def test_on_revision( function test_make_relpath (line 375) | def test_make_relpath(tmp_dir, dvc, scm, monkeypatch): function test_fallback_exception_message (line 393) | def test_fallback_exception_message(tmp_dir, dvc, mocker, caplog): FILE: tests/integration/plots/conftest.py function repo_with_plots (line 5) | def repo_with_plots(tmp_dir, scm, dvc, run_copy_metrics): function repo_with_config_plots (line 87) | def repo_with_config_plots(tmp_dir, scm, dvc, run_copy_metrics): function repo_with_dvclive_plots (line 256) | def repo_with_dvclive_plots(tmp_dir, scm, dvc, run_copy_metrics): FILE: tests/integration/plots/test_plots.py function call (line 18) | def call(capsys, subcommand="show"): function extract_vega_specs (line 39) | def extract_vega_specs(html_path, plots_ids): function drop_fields (line 59) | def drop_fields(datapoints: list[dict], fields: list[str]): function verify_image (line 69) | def verify_image(path, version, filename, content, html_path, json_result): function _remove_blanks (line 95) | def _remove_blanks(text: str): function verify_vega (line 99) | def verify_vega( function verify_vega_props (line 161) | def verify_vega_props(plot_id, json_result, title, x, y, **kwargs): function _update_datapoints (line 182) | def _update_datapoints(datapoints: list, update: dict): function test_no_plots (line 192) | def test_no_plots(tmp_dir, scm, dvc, capsys): function test_repo_with_plots (line 200) | def test_repo_with_plots(tmp_dir, scm, dvc, capsys, run_copy_metrics, re... function test_repo_with_removed_plots (line 369) | def test_repo_with_removed_plots(tmp_dir, capsys, repo_with_plots): function test_config_output_dir (line 408) | def test_config_output_dir(tmp_dir, dvc, capsys): function test_repo_with_config_plots (line 433) | def test_repo_with_config_plots(tmp_dir, capsys, repo_with_config_plots): function test_repo_with_dvclive_plots (line 490) | def test_repo_with_dvclive_plots(tmp_dir, capsys, repo_with_dvclive_plots): function test_nested_x_defn_collection (line 505) | def test_nested_x_defn_collection(tmp_dir, dvc, scm, capsys): function test_plots_empty_directory (line 636) | def test_plots_empty_directory(tmp_dir, dvc, scm, capsys): FILE: tests/integration/plots/test_repo_plots_api.py function test_api (line 8) | def test_api(tmp_dir, dvc, repo_with_plots): function test_api_with_config_plots (line 106) | def test_api_with_config_plots(tmp_dir, dvc, capsys, repo_with_config_pl... FILE: tests/integration/test_studio_live_experiments.py function test_post_to_studio (line 21) | def test_post_to_studio( function test_post_to_studio_subdir (line 79) | def test_post_to_studio_subdir(tmp_dir, scm, mocker, monkeypatch, tmp): function test_monorepo_relpath (line 151) | def test_monorepo_relpath(tmp_dir, scm): function test_virtual_monorepo_relpath (line 171) | def test_virtual_monorepo_relpath(tmp_dir, scm): FILE: tests/remotes/git_server.py class GitSSH (line 6) | class GitSSH(SSH): method get_url (line 8) | def get_url(host, port): function git_server (line 13) | def git_server(request, test_config): function git_ssh_connection (line 46) | def git_ssh_connection(git_server): function git_ssh (line 58) | def git_ssh(git_server, monkeypatch): FILE: tests/scripts.py function append_foo_script (line 7) | def append_foo_script(tmp_dir): function head_script (line 22) | def head_script(tmp_dir): FILE: tests/unit/cli/test_main.py function test_state_pickle_errors_are_correctly_raised (line 12) | def test_state_pickle_errors_are_correctly_raised(tmp_dir, caplog, mocker): function test_remote_missing_deps_are_correctly_reported (line 40) | def test_remote_missing_deps_are_correctly_reported(tmp_dir, caplog, moc... function test_ignore_in_collected_dir_error_is_logged (line 68) | def test_ignore_in_collected_dir_error_is_logged(tmp_dir, caplog, mocker): FILE: tests/unit/command/ls/test_ls.py function _test_cli (line 7) | def _test_cli(mocker, *args): function test_list (line 18) | def test_list(mocker): function test_list_recursive (line 34) | def test_list_recursive(mocker): function test_list_git_ssh_rev (line 50) | def test_list_git_ssh_rev(mocker): function test_list_targets (line 66) | def test_list_targets(mocker): function test_list_outputs_only (line 83) | def test_list_outputs_only(mocker): function test_list_config (line 99) | def test_list_config(mocker): function test_list_level (line 126) | def test_list_level(mocker): function test_list_tree (line 142) | def test_list_tree(mocker): function test_show_json (line 184) | def test_show_json(mocker, capsys): function test_show_colors (line 198) | def test_show_colors(mocker, capsys, monkeypatch): function test_show_size (line 232) | def test_show_size(mocker, capsys): function test_show_hash (line 269) | def test_show_hash(mocker, capsys): function test_show_size_and_hash (line 306) | def test_show_size_and_hash(mocker, capsys): function test_show_tree (line 350) | def test_show_tree(capsys): function test_list_alias (line 494) | def test_list_alias(): FILE: tests/unit/command/ls/test_ls_colors.py function colorize (line 4) | def colorize(ls_colors): function test_ls_colors_out_file (line 17) | def test_ls_colors_out_file(): function test_ls_colors_out_dir (line 22) | def test_ls_colors_out_dir(): function test_ls_colors_out_exec (line 27) | def test_ls_colors_out_exec(): function test_ls_colors_out_ext (line 32) | def test_ls_colors_out_ext(): function test_ls_colors_file (line 37) | def test_ls_colors_file(): function test_ls_colors_dir (line 42) | def test_ls_colors_dir(): function test_ls_colors_exec (line 47) | def test_ls_colors_exec(): function test_ls_colors_ext (line 52) | def test_ls_colors_ext(): function test_ls_repo_with_custom_color_env_defined (line 57) | def test_ls_repo_with_custom_color_env_defined(monkeypatch): FILE: tests/unit/command/test_add.py function test_add (line 7) | def test_add(mocker, dvc): function test_add_to_remote (line 29) | def test_add_to_remote(mocker, dvc): function test_add_to_remote_invalid_combinations (line 53) | def test_add_to_remote_invalid_combinations(mocker, caplog, dvc): function test_add_to_cache_invalid_combinations (line 73) | def test_add_to_cache_invalid_combinations(mocker, caplog, dvc): FILE: tests/unit/command/test_cache.py function test_cache_dir_local (line 7) | def test_cache_dir_local(tmp_dir, dvc, capsys, caplog): FILE: tests/unit/command/test_checkout.py function test_checkout (line 5) | def test_checkout(tmp_dir, dvc, mocker): function test_log_changes (line 23) | def test_log_changes(capsys): FILE: tests/unit/command/test_compat_flag.py function _id_gen (line 8) | def _id_gen(val) -> str: function test_backward_compat_flags (line 22) | def test_backward_compat_flags(args, key): FILE: tests/unit/command/test_completion.py function test_completion (line 10) | def test_completion(caplog, capsys, shell): FILE: tests/unit/command/test_config.py function test_config_formatter (line 7) | def test_config_formatter(): function test_config_bad_name (line 27) | def test_config_bad_name(name): FILE: tests/unit/command/test_dag.py function test_dag (line 25) | def test_dag(tmp_dir, dvc, mocker, fmt, formatter): function repo (line 48) | def repo(tmp_dir, dvc): function test_collapse_foreach_matrix (line 60) | def test_collapse_foreach_matrix(repo): function test_build (line 97) | def test_build(repo): function test_build_collapse (line 101) | def test_build_collapse(repo): function test_build_target (line 107) | def test_build_target(repo): function test_build_target_with_outs (line 113) | def test_build_target_with_outs(repo): function test_build_granular_target_with_outs (line 119) | def test_build_granular_target_with_outs(repo): function test_build_full (line 125) | def test_build_full(repo): function test_build_full_outs (line 132) | def test_build_full_outs(repo, granular): function test_show_ascii (line 150) | def test_show_ascii(repo): function test_show_dot (line 170) | def test_show_dot(repo): function test_show_dot_properly_escapes (line 194) | def test_show_dot_properly_escapes(): function test_show_mermaid (line 228) | def test_show_mermaid(repo): function test_show_mermaid_markdown (line 246) | def test_show_mermaid_markdown(repo, dvc, capsys, mocker): FILE: tests/unit/command/test_data_status.py function mocked_status (line 14) | def mocked_status(): function test_cli (line 37) | def test_cli(dvc, mocker, mocked_status): function test_json (line 74) | def test_json(dvc, mocker, capsys, mocked_status, args, to_omit): function test_no_changes_repo (line 82) | def test_no_changes_repo(dvc, scm, capsys): function test_empty_scm_repo (line 88) | def test_empty_scm_repo(tmp_dir, capsys): function test_show_status (line 112) | def test_show_status(dvc, scm, mocker, capsys, mocked_status, args, is_d... FILE: tests/unit/command/test_data_sync.py function test_fetch (line 5) | def test_fetch(mocker, dvc): function test_pull (line 51) | def test_pull(mocker, dvc): function test_push (line 95) | def test_push(mocker, dvc): FILE: tests/unit/command/test_dataset.py function test_add (line 31) | def test_add(dvc, capsys, mocker, spec, lock, expected_output): function test_add_already_exists (line 43) | def test_add_already_exists(dvc, caplog, mocker): function test_update (line 119) | def test_update(dvc, capsys, mocker, spec, old_lock, new_lock, expected_... FILE: tests/unit/command/test_diff.py function test_digest (line 18) | def test_digest(checksum, expected): function test_default (line 22) | def test_default(mocker, capsys, dvc): function test_show_hash (line 54) | def test_show_hash(mocker, capsys, dvc): function test_show_json (line 104) | def test_show_json(mocker, capsys, dvc): function test_show_json_and_hash (line 126) | def test_show_json_and_hash(mocker, capsys, dvc): function test_show_json_hide_missing (line 163) | def test_show_json_hide_missing(mocker, capsys, dvc): function test_diff_show_markdown_and_hash (line 193) | def test_diff_show_markdown_and_hash(mocker, show_hash, dvc): function test_no_changes (line 224) | def test_no_changes(mocker, capsys, opts, show, expected, dvc): function test_show_markdown (line 234) | def test_show_markdown(capsys): function test_show_markdown_with_hash (line 265) | def test_show_markdown_with_hash(capsys): function test_show_markdown_hide_missing (line 302) | def test_show_markdown_hide_missing(capsys): function test_hide_missing (line 333) | def test_hide_missing(mocker, capsys, dvc): FILE: tests/unit/command/test_du.py function test_du (line 5) | def test_du(mocker): FILE: tests/unit/command/test_experiments.py function test_experiments_apply (line 21) | def test_experiments_apply(dvc, scm, mocker): function test_experiments_diff (line 33) | def test_experiments_diff(dvc, scm, mocker): function test_experiments_diff_revs (line 60) | def test_experiments_diff_revs(mocker, capsys, dvc, scm): function test_experiments_show (line 79) | def test_experiments_show(dvc, scm, mocker): function test_experiments_run (line 123) | def test_experiments_run(dvc, scm, mocker): function test_experiments_run_message (line 145) | def test_experiments_run_message(dvc, scm, mocker, flag): function test_experiments_branch (line 166) | def test_experiments_branch(dvc, scm, mocker): function test_experiments_list (line 184) | def test_experiments_list(dvc, scm, mocker): function test_experiments_list_format (line 222) | def test_experiments_list_format(mocker, capsys, args, expected, dvc, scm): function test_experiments_list_remote (line 242) | def test_experiments_list_remote(mocker, capsys, dvc, scm): function test_experiments_push (line 270) | def test_experiments_push(dvc, scm, mocker): function test_experiments_pull (line 319) | def test_experiments_pull(dvc, scm, mocker): function test_experiments_remove_flag (line 365) | def test_experiments_remove_flag(dvc, scm, mocker, capsys, caplog): function test_experiments_remove_special (line 395) | def test_experiments_remove_special(dvc, scm, mocker, capsys, caplog): function test_experiments_remove_invalid (line 422) | def test_experiments_remove_invalid(dvc, scm, mocker, capsys, caplog): function test_experiments_rename_flag (line 437) | def test_experiments_rename_flag(dvc, scm, mocker, capsys, caplog): function test_experiments_rename_invalid (line 461) | def test_experiments_rename_invalid(dvc, scm, mocker, capsys, caplog): function test_experiments_save (line 471) | def test_experiments_save(dvc, scm, mocker): function test_experiments_save_message (line 494) | def test_experiments_save_message(dvc, scm, mocker, flag): function test_experiments_clean (line 514) | def test_experiments_clean(dvc, scm, mocker): FILE: tests/unit/command/test_gc.py function test_ (line 8) | def test_(dvc, scm, mocker): FILE: tests/unit/command/test_get.py function test_get (line 5) | def test_get(mocker): function test_get_url (line 46) | def test_get_url(mocker, capsys): FILE: tests/unit/command/test_get_url.py function test_get_url (line 7) | def test_get_url(mocker): FILE: tests/unit/command/test_git_hook.py function test_out_of_repo (line 15) | def test_out_of_repo(tmp_dir, hook, cls, mocker): FILE: tests/unit/command/test_help.py function command_tuples (line 13) | def command_tuples(): function ids (line 36) | def ids(values): function test_help (line 41) | def test_help(caplog, capsys, command_tuples): FILE: tests/unit/command/test_imp.py function test_import (line 5) | def test_import(mocker, dvc): function test_import_no_exec (line 48) | def test_import_no_exec(mocker, dvc): function test_import_no_download (line 82) | def test_import_no_download(mocker, dvc): FILE: tests/unit/command/test_imp_url.py function test_import_url (line 10) | def test_import_url(mocker, dvc): function test_failed_import_url (line 33) | def test_failed_import_url(mocker, caplog, dvc): function test_import_url_no_exec_download_flags (line 56) | def test_import_url_no_exec_download_flags(mocker, flag, expected, dvc): function test_import_url_to_remote (line 77) | def test_import_url_to_remote(mocker, dvc): function test_import_url_to_remote_invalid_combination (line 110) | def test_import_url_to_remote_invalid_combination(dvc, mocker, caplog, f... function test_import_url_to_remote_flag (line 134) | def test_import_url_to_remote_flag(dvc, mocker, caplog): FILE: tests/unit/command/test_ls_url.py function test_ls_url (line 8) | def test_ls_url(mocker): function test_recursive (line 25) | def test_recursive(mocker): function test_tree (line 38) | def test_tree(mocker): FILE: tests/unit/command/test_metrics.py function test_metrics_diff (line 7) | def test_metrics_diff(dvc, mocker, capsys): function test_metrics_diff_json (line 54) | def test_metrics_diff_json(dvc, mocker, capsys): function test_metrics_show (line 92) | def test_metrics_show(dvc, mocker): function test_metrics_show_json (line 132) | def test_metrics_show_json(dvc, mocker, capsys): FILE: tests/unit/command/test_params.py function test_params_diff (line 5) | def test_params_diff(dvc, mocker): function test_params_diff_from_cli (line 40) | def test_params_diff_from_cli(dvc, mocker): function test_params_diff_show_json (line 69) | def test_params_diff_show_json(dvc, mocker, capsys): FILE: tests/unit/command/test_plots.py function plots_data (line 16) | def plots_data(): function test_plots_diff (line 30) | def test_plots_diff(dvc, mocker, plots_data): function test_plots_show_vega (line 83) | def test_plots_show_vega(dvc, mocker, plots_data): function test_plots_diff_vega (line 116) | def test_plots_diff_vega(dvc, mocker, capsys, plots_data): function test_plots_diff_open (line 144) | def test_plots_diff_open(tmp_dir, dvc, mocker, capsys, plots_data, auto_... function test_plots_diff_open_wsl (line 169) | def test_plots_diff_open_wsl(tmp_dir, dvc, mocker, plots_data): function test_plots_diff_open_failed (line 186) | def test_plots_diff_open_failed(tmp_dir, dvc, mocker, capsys, plots_data): function test_plots_path_is_quoted_and_resolved_properly (line 219) | def test_plots_path_is_quoted_and_resolved_properly( function test_should_pass_template_dir (line 233) | def test_should_pass_template_dir(tmp_dir, dvc, mocker, capsys): function test_should_call_render (line 264) | def test_should_call_render(tmp_dir, mocker, capsys, plots_data, output): function test_plots_diff_json (line 290) | def test_plots_diff_json(dvc, mocker, capsys): function test_plots_templates (line 327) | def test_plots_templates(dvc, mocker, capsys, target, expected_out, expe... function test_show_json (line 356) | def test_show_json(split, mocker, capsys): function test_show_json_no_renderers (line 374) | def test_show_json_no_renderers(capsys): function test_show_json_with_error (line 383) | def test_show_json_with_error(dvc, mocker, capsys): FILE: tests/unit/command/test_queue.py function test_experiments_remove_flags (line 13) | def test_experiments_remove_flags(dvc, scm, mocker): function test_experiments_remove_invalid (line 29) | def test_experiments_remove_invalid(dvc, scm, mocker): function test_experiments_remove_name (line 46) | def test_experiments_remove_name(dvc, scm, mocker): function test_experiments_kill (line 67) | def test_experiments_kill(dvc, scm, mocker): function test_experiments_start (line 89) | def test_experiments_start(dvc, scm, mocker): function test_experiments_stop (line 100) | def test_experiments_stop(dvc, scm, mocker): function test_worker_status (line 132) | def test_worker_status(dvc, scm, worker_status, output, mocker, capsys): function test_experiments_status (line 158) | def test_experiments_status(dvc, scm, mocker, capsys): function test_queue_logs (line 192) | def test_queue_logs(dvc, scm, mocker): FILE: tests/unit/command/test_repro.py function test_default_arguments (line 26) | def test_default_arguments(dvc, mocker): function test_downstream (line 33) | def test_downstream(dvc, mocker): FILE: tests/unit/command/test_stage.py function test_stage_add (line 17) | def test_stage_add(mocker, dvc, command, parsed_command): function test_stage_add_and_run (line 87) | def test_stage_add_and_run(mocker, dvc): FILE: tests/unit/command/test_status.py function test_cloud_status (line 9) | def test_cloud_status(tmp_dir, dvc, mocker): function test_status_show_json (line 49) | def test_status_show_json(dvc, mocker, capsys, status): function test_status_quiet (line 65) | def test_status_quiet(dvc, mocker, caplog, capsys, status, ret): function test_status_empty (line 79) | def test_status_empty(dvc, mocker, capsys): function test_status_up_to_date (line 105) | def test_status_up_to_date(dvc, mocker, capsys, cloud_opts, expected_mes... function test_status_check_updates (line 123) | def test_status_check_updates(dvc, mocker, capsys): FILE: tests/unit/command/test_studio.py function global_config_dir (line 10) | def global_config_dir(monkeypatch, tmp_path_factory): function test_studio_login_token_check_failed (line 16) | def test_studio_login_token_check_failed(mocker): function test_studio_login_success (line 24) | def test_studio_login_success(mocker, dvc): function test_studio_login_arguments (line 37) | def test_studio_login_arguments(mocker): function test_studio_logout (line 69) | def test_studio_logout(dvc): function test_studio_token (line 80) | def test_studio_token(dvc, capsys): FILE: tests/unit/command/test_update.py function test_update (line 5) | def test_update(dvc, mocker): function test_update_to_remote (line 35) | def test_update_to_remote(dvc, mocker): FILE: tests/unit/data/db/test_local.py function test_status_download_optimization (line 11) | def test_status_download_optimization(mocker, dvc): function test_is_protected (line 34) | def test_is_protected(tmp_dir, dvc, link_name): function test_protect_ignore_errors (line 66) | def test_protect_ignore_errors(tmp_dir, dvc, mocker, err): function test_set_exec_ignore_errors (line 75) | def test_set_exec_ignore_errors(tmp_dir, dvc, mocker, err): function test_staging_file (line 83) | def test_staging_file(tmp_dir, dvc): function test_staging_dir (line 109) | def test_staging_dir(tmp_dir, dvc): FILE: tests/unit/dependency/test_dependency.py function test_save_missing (line 7) | def test_save_missing(dvc, mocker): FILE: tests/unit/dependency/test_params.py function test_loads_params (line 12) | def test_loads_params(dvc): function test_loads_params_without_any_specific_targets (line 43) | def test_loads_params_without_any_specific_targets(dvc): function test_params_error (line 84) | def test_params_error(dvc, params, errmsg): function test_loadd_from (line 89) | def test_loadd_from(dvc): function test_dumpd_with_info (line 99) | def test_dumpd_with_info(dvc): function test_dumpd_without_info (line 104) | def test_dumpd_without_info(dvc): function test_read_params_nonexistent_file (line 109) | def test_read_params_nonexistent_file(dvc): function test_read_params_unsupported_format (line 114) | def test_read_params_unsupported_format(tmp_dir, dvc): function test_read_params_nested (line 121) | def test_read_params_nested(tmp_dir, dvc): function test_read_params_default_loader (line 127) | def test_read_params_default_loader(tmp_dir, dvc): function test_read_params_wrong_suffix (line 134) | def test_read_params_wrong_suffix(tmp_dir, dvc): function test_read_params_toml (line 142) | def test_read_params_toml(tmp_dir, dvc): function test_read_params_py (line 149) | def test_read_params_py(tmp_dir, dvc): function test_params_py_tuple_status (line 216) | def test_params_py_tuple_status(tmp_dir, dvc): function test_get_hash_missing_config (line 232) | def test_get_hash_missing_config(dvc): function test_get_hash_missing_param (line 238) | def test_get_hash_missing_param(tmp_dir, dvc): function test_params_with_false_values (line 246) | def test_params_with_false_values(tmp_dir, dvc, param_value): function test_params_status_without_targets (line 257) | def test_params_status_without_targets(tmp_dir, dvc): FILE: tests/unit/fs/test_base.py function test_missing_deps (line 6) | def test_missing_deps(mocker): FILE: tests/unit/fs/test_data.py function test_get_key (line 24) | def test_get_key(tmp_dir, dvc, path, key): function test_exists (line 29) | def test_exists(tmp_dir, dvc): function test_open (line 38) | def test_open(tmp_dir, dvc): function test_open_dirty_hash (line 48) | def test_open_dirty_hash(tmp_dir, dvc): function test_open_no_remote (line 59) | def test_open_no_remote(tmp_dir, dvc): function test_open_dirty_no_hash (line 70) | def test_open_dirty_no_hash(tmp_dir, dvc): function test_open_in_history (line 82) | def test_open_in_history(tmp_dir, scm, dvc): function test_isdir_isfile (line 99) | def test_isdir_isfile(tmp_dir, dvc): function test_isdir_mixed (line 119) | def test_isdir_mixed(tmp_dir, dvc): function test_walk (line 129) | def test_walk(tmp_dir, dvc): function test_walk_dir (line 163) | def test_walk_dir(tmp_dir, dvc): function test_walk_missing (line 197) | def test_walk_missing(tmp_dir, dvc): function test_walk_not_a_dir (line 204) | def test_walk_not_a_dir(tmp_dir, dvc): function test_get_hash_file (line 212) | def test_get_hash_file(tmp_dir, dvc): function test_get_hash_dir (line 218) | def test_get_hash_dir(tmp_dir, dvc, mocker): function test_get_hash_granular (line 226) | def test_get_hash_granular(tmp_dir, dvc): function test_get_hash_dirty_file (line 239) | def test_get_hash_dirty_file(tmp_dir, dvc): function test_get_hash_dirty_dir (line 250) | def test_get_hash_dirty_dir(tmp_dir, dvc): FILE: tests/unit/fs/test_dvc.py function test_exists (line 15) | def test_exists(tmp_dir, dvc): function test_open (line 24) | def test_open(tmp_dir, dvc): function test_open_dirty_hash (line 34) | def test_open_dirty_hash(tmp_dir, dvc): function test_open_dirty_no_hash (line 43) | def test_open_dirty_no_hash(tmp_dir, dvc): function test_open_in_history (line 52) | def test_open_in_history(tmp_dir, scm, dvc): function test_isdir_isfile (line 69) | def test_isdir_isfile(tmp_dir, dvc): function test_exists_isdir_isfile_dirty (line 123) | def test_exists_isdir_isfile_dirty(tmp_dir, dvc): function test_isdir_mixed (line 156) | def test_isdir_mixed(tmp_dir, dvc): function test_ls_dirty (line 166) | def test_ls_dirty(tmp_dir, dvc): function test_ls_file_not_found (line 176) | def test_ls_file_not_found(tmp_dir, dvc): function test_ls_dir_empty (line 184) | def test_ls_dir_empty(tmp_dir, dvc): function test_walk (line 207) | def test_walk(tmp_dir, dvc, dvcfiles, extra_expected): function test_walk_dirty (line 240) | def test_walk_dirty(tmp_dir, dvc): function test_walk_dirty_cached_dir (line 275) | def test_walk_dirty_cached_dir(tmp_dir, scm, dvc): function test_walk_mixed_dir (line 291) | def test_walk_mixed_dir(tmp_dir, scm, dvc): function test_walk_missing (line 315) | def test_walk_missing(tmp_dir, dvc): function test_walk_not_a_dir (line 322) | def test_walk_not_a_dir(tmp_dir, dvc): function test_isdvc (line 330) | def test_isdvc(tmp_dir, dvc): function test_subrepos (line 342) | def test_subrepos(tmp_dir, scm, dvc, mocker): function test_subrepo_walk (line 420) | def test_subrepo_walk(tmp_dir, scm, dvc, dvcfiles, extra_expected): function test_dvcfs_no_subrepos (line 465) | def test_dvcfs_no_subrepos(tmp_dir, dvc, scm): function test_get_hash_cached_file (line 510) | def test_get_hash_cached_file(tmp_dir, dvc, mocker): function test_get_hash_cached_dir (line 521) | def test_get_hash_cached_dir(tmp_dir, dvc, mocker): function test_get_hash_cached_granular (line 535) | def test_get_hash_cached_granular(tmp_dir, dvc, mocker): function test_get_hash_mixed_dir (line 552) | def test_get_hash_mixed_dir(tmp_dir, scm, dvc): function test_get_hash_dirty_file (line 573) | def test_get_hash_dirty_file(tmp_dir, dvc): function test_get_hash_dirty_dir (line 603) | def test_get_hash_dirty_dir(tmp_dir, dvc): function test_walk_nested_subrepos (line 614) | def test_walk_nested_subrepos(tmp_dir, dvc, scm, traverse_subrepos): function test_fsid_noscm (line 667) | def test_fsid_noscm(tmp_dir, dvc): function test_fsid (line 672) | def test_fsid(tmp_dir, dvc, scm): function test_fsid_url (line 683) | def test_fsid_url(erepo_dir): function test_init_arg (line 712) | def test_init_arg(tmp_dir, dvc, fs_kwargs): FILE: tests/unit/fs/test_dvc_info.py function dvcfs (line 10) | def dvcfs(tmp_dir, dvc, scm): function test_info_not_existing (line 44) | def test_info_not_existing(dvcfs): function test_info_git_tracked_file (line 59) | def test_info_git_tracked_file(dvcfs, path): function test_info_dvc_tracked_file (line 78) | def test_info_dvc_tracked_file(dvcfs, path): function test_info_git_only_dirs (line 88) | def test_info_git_only_dirs(dvcfs, path): function test_info_git_dvc_mixed_dirs (line 98) | def test_info_git_dvc_mixed_dirs(dvcfs, path): function test_info_dvc_only_dirs (line 108) | def test_info_dvc_only_dirs(dvcfs, path): function test_info_on_subrepos (line 117) | def test_info_on_subrepos(make_tmp_dir, tmp_dir, dvc, scm, dvcfs): FILE: tests/unit/fs/test_dvcfs.py class DVCFixtures (line 13) | class DVCFixtures: method fs_bulk_operations_scenario_0 (line 26) | def fs_bulk_operations_scenario_0(self, tmp_dir): method fs_10_files_with_hashed_names (line 61) | def fs_10_files_with_hashed_names(self, tmp_dir, local_fs, local_join,... method src_directory (line 79) | def src_directory(self, tmp_dir): method fs_dir_and_file_with_same_name_prefix (line 86) | def fs_dir_and_file_with_same_name_prefix(self, tmp_dir): method fs_glob_edge_cases_files (line 107) | def fs_glob_edge_cases_files(self, tmp_dir): method fs (line 145) | def fs(self, request, tmp_dir, dvc, scm): method mock_ignore (line 149) | def mock_ignore(self, mocker): method fs_join (line 153) | def fs_join(self): method fs_path (line 157) | def fs_path(self, fs): method local_fs (line 161) | def local_fs(self): method local_join (line 167) | def local_join(self): method local_path (line 175) | def local_path(self, tmpdir): method local_target (line 179) | def local_target(self, local_fs, local_join, local_path): class TestDVCFileSystemGet (line 191) | class TestDVCFileSystemGet(DVCFixtures): method test_get_file_to_existing_directory (line 197) | def test_get_file_to_existing_directory( method test_get_file_to_new_directory (line 237) | def test_get_file_to_new_directory( method test_get_file_to_file_in_existing_directory (line 260) | def test_get_file_to_file_in_existing_directory( method test_get_file_to_file_in_new_directory (line 278) | def test_get_file_to_file_in_new_directory( method test_get_directory_to_existing_directory (line 300) | def test_get_directory_to_existing_directory( method test_get_directory_to_new_directory (line 379) | def test_get_directory_to_new_directory( method test_get_glob_to_existing_directory (line 431) | def test_get_glob_to_existing_directory( method test_get_glob_to_new_directory (line 503) | def test_get_glob_to_new_directory( method test_get_glob_edge_cases (line 572) | def test_get_glob_edge_cases( method test_get_list_of_files_to_existing_directory (line 614) | def test_get_list_of_files_to_existing_directory( method test_get_list_of_files_to_new_directory (line 653) | def test_get_list_of_files_to_new_directory( method test_get_directory_recursive (line 680) | def test_get_directory_recursive( method test_get_directory_without_files_with_same_name_prefix (line 710) | def test_get_directory_without_files_with_same_name_prefix( method test_get_with_source_and_destination_as_list (line 739) | def test_get_with_source_and_destination_as_list( function test_maxdepth (line 770) | def test_maxdepth(tmp_dir, dvc, scm): function test_init_arg (line 825) | def test_init_arg(tmp_dir, dvc, fs_args): FILE: tests/unit/fs/test_fs.py function test_get_fs_cls (line 34) | def test_get_fs_cls(url, cls): function test_get_fs_config (line 38) | def test_get_fs_config(): function test_get_fs_config_error (line 43) | def test_get_fs_config_error(): function test_remote_url (line 48) | def test_remote_url(): function test_get_cloud_fs (line 64) | def test_get_cloud_fs(): FILE: tests/unit/fs/test_tree.py function test_get_cloud_fs (line 7) | def test_get_cloud_fs(tmp_dir, dvc): function test_get_cloud_fs_validate (line 24) | def test_get_cloud_fs_validate(tmp_dir, dvc): FILE: tests/unit/output/test_annotations.py function test_annotation_to_dict (line 13) | def test_annotation_to_dict(kwargs): FILE: tests/unit/output/test_load.py function test_load_from_pipeline (line 19) | def test_load_from_pipeline(dvc, out_type, type_test_func): function test_load_from_pipeline_accumulates_flag (line 47) | def test_load_from_pipeline_accumulates_flag(dvc): function test_load_remote_files_from_pipeline (line 71) | def test_load_remote_files_from_pipeline(dvc): function test_load_remote (line 84) | def test_load_remote(dvc): function test_load_from_pipeline_error_on_typ (line 95) | def test_load_from_pipeline_error_on_typ(dvc, typ): function test_load_from_pipeline_illegal_type (line 103) | def test_load_from_pipeline_illegal_type(dvc, key): function test_plots_load_from_pipeline (line 114) | def test_plots_load_from_pipeline(dvc): FILE: tests/unit/output/test_local.py function test_str_workdir_outside_repo (line 9) | def test_str_workdir_outside_repo(tmp_dir, erepo_dir): function test_str_workdir_inside_repo (line 16) | def test_str_workdir_inside_repo(dvc): function test_str_on_local_absolute_path (line 28) | def test_str_on_local_absolute_path(dvc): function test_str_on_external_absolute_path (line 40) | def test_str_on_external_absolute_path(dvc): function test_return_0_on_no_cache (line 52) | def test_return_0_on_no_cache(dvc): function test_return_multiple_for_dir (line 58) | def test_return_multiple_for_dir(dvc): function test_return_1_on_single_file_cache (line 65) | def test_return_1_on_single_file_cache(mocker, dvc): FILE: tests/unit/output/test_output.py function test_save_missing (line 15) | def test_save_missing(dvc, mocker): function test_checksum_schema (line 50) | def test_checksum_schema(value, expected): function test_checksum_schema_fail (line 55) | def test_checksum_schema_fail(value): function test_get_used_objs (line 83) | def test_get_used_objs(exists, expected_message, mocker, caplog): function test_remote_missing_dependency_on_dir_pull (line 112) | def test_remote_missing_dependency_on_dir_pull(tmp_dir, scm, dvc, mocker): function test_hash_info_cloud_versioning_dir (line 129) | def test_hash_info_cloud_versioning_dir(mocker): function test_dumpd_cloud_versioning_dir (line 158) | def test_dumpd_cloud_versioning_dir(mocker): function test_version_aware_is_set_based_on_files (line 184) | def test_version_aware_is_set_based_on_files(mocker): FILE: tests/unit/remote/test_oss.py function test_init (line 9) | def test_init(dvc): FILE: tests/unit/remote/test_remote.py function test_remote_with_hash_jobs (line 8) | def test_remote_with_hash_jobs(dvc): function test_remote_with_jobs (line 20) | def test_remote_with_jobs(dvc): function test_remote_without_hash_jobs (line 28) | def test_remote_without_hash_jobs(dvc): function test_remote_without_hash_jobs_default (line 37) | def test_remote_without_hash_jobs_default(dvc): function test_makedirs_not_create_for_top_level_path (line 46) | def test_makedirs_not_create_for_top_level_path(fs_cls, dvc, mocker): FILE: tests/unit/remote/test_webdav.py function test_common (line 15) | def test_common(): function test_user (line 43) | def test_user(): function test_password (line 48) | def test_password(): function test_token (line 60) | def test_token(): function test_ask_password (line 69) | def test_ask_password(mocker): function test_custom_auth_header (line 90) | def test_custom_auth_header(): function test_ask_password_custom_auth_header (line 103) | def test_ask_password_custom_auth_header(mocker): function test_ssl_verify_custom_cert (line 126) | def test_ssl_verify_custom_cert(): function test_remote_with_jobs (line 140) | def test_remote_with_jobs(dvc, base_url, fs_cls): function test_bearer_token_command (line 158) | def test_bearer_token_command(mocker): FILE: tests/unit/remote/test_webhdfs.py function fixture_webhdfs_config (line 18) | def fixture_webhdfs_config(): function test_init (line 32) | def test_init(dvc, webhdfs_config): function test_verify_ssl (line 44) | def test_verify_ssl(dvc, webhdfs_config, monkeypatch, mocker): FILE: tests/unit/render/test_convert.py function test_to_json_vega (line 9) | def test_to_json_vega(mocker): function test_to_json_vega_split (line 24) | def test_to_json_vega_split(mocker): function test_to_json_image (line 75) | def test_to_json_image(mocker): FILE: tests/unit/render/test_image_converter.py function test_image_converter_no_out (line 5) | def test_image_converter_no_out(): function test_image_converter_with_out (line 17) | def test_image_converter_with_out(tmp_dir): function test_image_converter_with_slash_in_revision (line 32) | def test_image_converter_with_slash_in_revision(tmp_dir): FILE: tests/unit/render/test_match.py function test_group_definitions (line 117) | def test_group_definitions(data, expected): function test_match_renderers (line 122) | def test_match_renderers(): function test_flat_datapoints_errors_are_caught (line 191) | def test_flat_datapoints_errors_are_caught(mocker): function test_squash_plots_properties_revs (line 205) | def test_squash_plots_properties_revs(): function test_squash_plots_properties_config_files (line 217) | def test_squash_plots_properties_config_files(): FILE: tests/unit/render/test_vega_converter.py function test_finding_lists (line 21) | def test_finding_lists(dictionary, expected_result): function test_convert (line 516) | def test_convert(input_data, properties, expected_datapoints, expected_p... function test_convert_fail (line 561) | def test_convert_fail(input_data, properties, exc): function test_infer_x_label (line 581) | def test_infer_x_label(properties, label): FILE: tests/unit/repo/experiments/conftest.py function exp_stage (line 11) | def exp_stage(tmp_dir, scm, dvc, copy_script): function failed_exp_stage (line 35) | def failed_exp_stage(tmp_dir, scm, dvc, copy_script): function _thread_worker (line 58) | def _thread_worker(app, **kwargs): function session_app (line 68) | def session_app(tmp_path_factory) -> FSApp: function session_worker (line 89) | def session_worker(session_app): function session_queue (line 101) | def session_queue(tmp_dir, dvc, scm, mocker, session_app, session_worker): function test_queue (line 114) | def test_queue(tmp_dir, dvc, scm, mocker): FILE: tests/unit/repo/experiments/queue/test_celery.py function test_shutdown_no_tasks (line 13) | def test_shutdown_no_tasks(test_queue, mocker): function _foo (line 20) | def _foo(arg=None): function test_shutdown (line 24) | def test_shutdown(test_queue, mocker): function test_shutdown_with_kill (line 30) | def test_shutdown_with_kill(test_queue, mocker): function test_post_run_after_kill (line 52) | def test_post_run_after_kill(test_queue): function test_celery_queue_kill (line 80) | def test_celery_queue_kill(test_queue, mocker, force): function test_celery_queue_kill_invalid (line 137) | def test_celery_queue_kill_invalid(test_queue, mocker, force): function test_queue_iter_done_task (line 157) | def test_queue_iter_done_task(test_queue, mocker, status): function test_queue_status (line 176) | def test_queue_status(test_queue, scm, mocker): FILE: tests/unit/repo/experiments/queue/test_remove.py function test_remove_queued (line 4) | def test_remove_queued(test_queue, mocker): function test_remove_done (line 46) | def test_remove_done(test_queue, mocker): FILE: tests/unit/repo/experiments/test_collect.py function test_collect_stable_sorting (line 10) | def test_collect_stable_sorting(dvc, scm, mocker): function _assert_experiment_rev_order (line 60) | def _assert_experiment_rev_order(actual: list["ExpRange"], expected_revs... FILE: tests/unit/repo/experiments/test_executor_status.py function test_celery_queue_success_status (line 10) | def test_celery_queue_success_status(dvc, scm, test_queue, exp_stage): function test_celery_queue_failure_status (line 33) | def test_celery_queue_failure_status(dvc, scm, test_queue, failed_exp_st... function test_workspace_executor_success_status (line 48) | def test_workspace_executor_success_status(dvc, scm, exp_stage, queue_ty... function test_workspace_executor_failed_status (line 72) | def test_workspace_executor_failed_status(dvc, scm, failed_exp_stage, qu... function test_executor_status_compatibility (line 97) | def test_executor_status_compatibility(): FILE: tests/unit/repo/experiments/test_remove.py function test_remove_done_tasks (line 4) | def test_remove_done_tasks(dvc, test_queue, scm, mocker): FILE: tests/unit/repo/experiments/test_utils.py function commit_exp_ref (line 15) | def commit_exp_ref(tmp_dir, scm, file="foo", contents="foo", name="foo"): function test_resolve_exp_ref (line 25) | def test_resolve_exp_ref(tmp_dir, scm, git_upstream, name_only, use_url): function test_run_check_ref_format (line 56) | def test_run_check_ref_format(scm, name, result): function test_to_studio_params (line 82) | def test_to_studio_params(params, expected): function test_gen_random_name (line 86) | def test_gen_random_name(): FILE: tests/unit/repo/plots/test_diff.py function test_revisions (line 15) | def test_revisions(mocker, arg_revisions, is_dirty, expected_revisions): function test_revisions_experiment (line 33) | def test_revisions_experiment(mocker, arg_revisions, baseline, expected_... FILE: tests/unit/repo/test_graph.py function test_subgraph_of_nodes (line 27) | def test_subgraph_of_nodes(nodes, downstream, expected_edges): FILE: tests/unit/repo/test_open_repo.py function test_hook_is_called (line 9) | def test_hook_is_called(tmp_dir, erepo_dir, mocker): function test_subrepo_is_constructed_properly (line 49) | def test_subrepo_is_constructed_properly( FILE: tests/unit/repo/test_repo.py function test_is_dvc_internal (line 11) | def test_is_dvc_internal(dvc): function test_find_outs_by_path (line 24) | def test_find_outs_by_path(tmp_dir, dvc, path): function test_find_outs_by_path_does_graph_checks (line 32) | def test_find_outs_by_path_does_graph_checks(tmp_dir, dvc): function test_used_objs (line 45) | def test_used_objs(tmp_dir, dvc, path): function test_locked (line 60) | def test_locked(mocker): function test_skip_graph_checks (line 76) | def test_skip_graph_checks(tmp_dir, dvc, mocker, run_copy): function test_branch_config (line 103) | def test_branch_config(tmp_dir, scm): function test_dynamic_cache_initialization (line 130) | def test_dynamic_cache_initialization(tmp_dir, scm): FILE: tests/unit/repo/test_reproduce.py function test_active_graph (line 10) | def test_active_graph(mocker): function test_repro_plan (line 30) | def test_repro_plan(): function test_number_reproduces (line 48) | def test_number_reproduces(tmp_dir, dvc, mocker): FILE: tests/unit/repo/test_scm_context.py function pytest_generate_tests (line 9) | def pytest_generate_tests(metafunc): function scm_context (line 15) | def scm_context(request, mocker): function test_scm_track_file (line 29) | def test_scm_track_file(scm_context): function test_scm_track_changed_files (line 36) | def test_scm_track_changed_files(scm_context): function test_ignore (line 45) | def test_ignore(scm_context): function test_ignore_remove (line 53) | def test_ignore_remove(scm_context): function test_scm_context_reset_on_exit (line 59) | def test_scm_context_reset_on_exit(scm_context): function test_scm_context_autostage_changed_files (line 67) | def test_scm_context_autostage_changed_files(scm_context): function test_scm_context_clears_ignores_on_error (line 79) | def test_scm_context_clears_ignores_on_error(scm_context): function test_scm_context_on_no_files_to_track (line 95) | def test_scm_context_on_no_files_to_track(caplog, scm_context, autostage... function test_scm_context_remind_to_track (line 104) | def test_scm_context_remind_to_track(caplog, scm_context, quiet): function test_scm_context_remind_disable (line 119) | def test_scm_context_remind_disable(caplog, scm_context): function test_scm_context_decorator (line 133) | def test_scm_context_decorator(scm_context, mocker): FILE: tests/unit/scm/test_scm.py function test_iter_revs (line 9) | def test_iter_revs(tmp_dir, scm, mocker): FILE: tests/unit/stage/test_cache.py function test_stage_cache (line 8) | def test_stage_cache(tmp_dir, dvc, mocker): function test_stage_cache_params (line 50) | def test_stage_cache_params(tmp_dir, dvc, mocker): function test_stage_cache_wdir (line 93) | def test_stage_cache_wdir(tmp_dir, dvc, mocker): function test_shared_stage_cache (line 137) | def test_shared_stage_cache(tmp_dir, dvc, run_copy): function test_unhashable (line 194) | def test_unhashable(tmp_dir, dvc, mocker, kwargs): FILE: tests/unit/stage/test_loader_pipeline_file.py function stage_data (line 15) | def stage_data(): function lock_data (line 20) | def lock_data(): function test_fill_from_lock_deps_outs (line 28) | def test_fill_from_lock_deps_outs(dvc, lock_data): function test_fill_from_lock_outs_isexec (line 40) | def test_fill_from_lock_outs_isexec(dvc): function test_fill_from_lock_params (line 60) | def test_fill_from_lock_params(dvc, lock_data): function test_fill_from_lock_missing_params_section (line 94) | def test_fill_from_lock_missing_params_section(dvc, lock_data): function test_fill_from_lock_missing_checksums (line 109) | def test_fill_from_lock_missing_checksums(dvc, lock_data): function test_fill_from_lock_use_appropriate_checksum (line 126) | def test_fill_from_lock_use_appropriate_checksum(dvc, lock_data): function test_fill_from_lock_with_missing_sections (line 140) | def test_fill_from_lock_with_missing_sections(dvc, lock_data): function test_fill_from_lock_empty_data (line 155) | def test_fill_from_lock_empty_data(dvc): function test_load_stage (line 165) | def test_load_stage(dvc, stage_data, lock_data): function test_load_stage_cmd_with_list (line 179) | def test_load_stage_cmd_with_list(dvc, stage_data, lock_data): function test_load_stage_outs_with_flags (line 186) | def test_load_stage_outs_with_flags(dvc, stage_data, lock_data): function test_load_stage_no_lock (line 193) | def test_load_stage_no_lock(dvc, stage_data): function test_load_stage_with_params (line 202) | def test_load_stage_with_params(dvc, stage_data, lock_data): function test_load_stage_with_metrics_and_plots (line 218) | def test_load_stage_with_metrics_and_plots(dvc, stage_data, lock_data, t... function test_load_changed_command (line 227) | def test_load_changed_command(dvc, stage_data, lock_data): function test_load_stage_wdir_and_path_correctly (line 239) | def test_load_stage_wdir_and_path_correctly(dvc, stage_data, lock_data): function test_load_stage_mapping (line 248) | def test_load_stage_mapping(dvc, stage_data, lock_data): function test_fill_from_lock_dos2unix (line 260) | def test_fill_from_lock_dos2unix(dvc): FILE: tests/unit/stage/test_run.py function test_run_stage_dry (line 16) | def test_run_stage_dry(caplog, dvc, cmd, expected): FILE: tests/unit/stage/test_serialize_pipeline_file.py function to_pipeline_file (line 16) | def to_pipeline_file(stage): function test_cmd (line 23) | def test_cmd(dvc): function test_wdir (line 29) | def test_wdir(dvc): function test_deps_sorted (line 40) | def test_deps_sorted(dvc): function test_outs_sorted (line 52) | def test_outs_sorted(dvc): function test_params_sorted (line 67) | def test_params_sorted(dvc): function test_params_file_sorted (line 85) | def test_params_file_sorted(dvc): function test_params_file_without_targets (line 103) | def test_params_file_without_targets(dvc): function test_outs_and_outs_flags_are_sorted (line 126) | def test_outs_and_outs_flags_are_sorted(dvc, typ, extra): function test_plot_props (line 145) | def test_plot_props(dvc): function test_frozen (line 155) | def test_frozen(dvc): function test_always_changed (line 163) | def test_always_changed(dvc): function test_order (line 171) | def test_order(dvc): function test_order_deps_outs (line 194) | def test_order_deps_outs(dvc, typ): FILE: tests/unit/stage/test_serialize_pipeline_lock.py function to_single_stage_lockfile (line 18) | def to_single_stage_lockfile(stage): function test_lock (line 25) | def test_lock(dvc): function test_lock_deps (line 30) | def test_lock_deps(dvc): function test_lock_deps_order (line 44) | def test_lock_deps_order(dvc): function test_lock_params (line 66) | def test_lock_params(dvc): function test_lock_params_file_sorted (line 76) | def test_lock_params_file_sorted(dvc): function test_lock_params_no_values_filled (line 115) | def test_lock_params_no_values_filled(dvc): function test_lock_params_without_targets (line 128) | def test_lock_params_without_targets(dvc, info, expected): function test_lock_outs (line 138) | def test_lock_outs(dvc, typ): function test_lock_outs_isexec (line 153) | def test_lock_outs_isexec(dvc, typ): function test_lock_outs_order (line 178) | def test_lock_outs_order(dvc, typ): function test_dump_nondefault_hash (line 200) | def test_dump_nondefault_hash(dvc): function test_order (line 222) | def test_order(dvc): function test_to_lockfile (line 247) | def test_to_lockfile(dvc): function test_to_single_stage_lockfile_cloud_versioning_dir (line 263) | def test_to_single_stage_lockfile_cloud_versioning_dir(dvc): FILE: tests/unit/stage/test_stage.py function test_stage_checksum (line 20) | def test_stage_checksum(mocker): function test_wdir_default_ignored (line 27) | def test_wdir_default_ignored(mocker): function test_wdir_non_default_is_not_ignored (line 35) | def test_wdir_non_default_is_not_ignored(mocker): function test_meta_ignored (line 43) | def test_meta_ignored(mocker): function test_path_conversion (line 51) | def test_path_conversion(dvc): function test_stage_update (line 58) | def test_stage_update(dvc, mocker): function test_stage_run_ignore_sigint (line 83) | def test_stage_run_ignore_sigint(dvc, mocker): function test_always_changed (line 98) | def test_always_changed(dvc): function test_external_outs (line 106) | def test_external_outs(tmp_path_factory, dvc): FILE: tests/unit/stage/test_utils.py function test_resolve_paths (line 7) | def test_resolve_paths(): function test_get_stage_files (line 24) | def test_get_stage_files(tmp_dir, dvc): function test_get_stage_files_wdir (line 37) | def test_get_stage_files_wdir(tmp_dir, dvc): FILE: tests/unit/test_analytics.py function tmp_global_dir (line 13) | def tmp_global_dir(mocker, tmp_path): function test_collect_and_send_report (line 24) | def test_collect_and_send_report(mocker, tmp_global_dir): function test_runtime_info (line 45) | def test_runtime_info(tmp_global_dir): function test_send (line 63) | def test_send(monkeypatch, mocker, tmp_path): function test_is_enabled (line 92) | def test_is_enabled(dvc, config, result, monkeypatch, tmp_global_dir): function test_is_enabled_env_neg (line 117) | def test_is_enabled_env_neg(dvc, config, env, result, monkeypatch, tmp_g... function test_system_info (line 137) | def test_system_info(): function test_git_remote_hash (line 177) | def test_git_remote_hash(mocker, git_remote): function test_git_remote_hash_local (line 194) | def test_git_remote_hash_local(mocker, git_remote): FILE: tests/unit/test_api.py function test_open_raises_error_if_no_context (line 8) | def test_open_raises_error_if_no_context(tmp_dir, dvc): function test_open_rev_raises_error_on_wrong_mode (line 18) | def test_open_rev_raises_error_on_wrong_mode(tmp_dir, dvc): FILE: tests/unit/test_collect.py function test_collect_duplicates (line 4) | def test_collect_duplicates(tmp_dir, scm, dvc): FILE: tests/unit/test_compare.py function test_diff_table (line 10) | def test_diff_table(title): function test_diff_table_with_value_column (line 26) | def test_diff_table_with_value_column(): function test_no_path (line 42) | def test_no_path(): function test_do_not_show_changes (line 53) | def test_do_not_show_changes(): function test_diff_table_precision (line 69) | def test_diff_table_precision(): function test_diff_table_rounding (line 83) | def test_diff_table_rounding(): function test_diff_unsupported_diff_message (line 100) | def test_diff_unsupported_diff_message(extra, expected): function test_diff_new (line 117) | def test_diff_new(): function test_diff_old_deleted (line 132) | def test_diff_old_deleted(): function test_diff_sorted (line 147) | def test_diff_sorted(): function test_diff_falsey_values (line 165) | def test_diff_falsey_values(): function test_diff_list (line 183) | def test_diff_list(composite, expected): function test_diff_mocked (line 197) | def test_diff_mocked(mocker, markdown): function test_diff_default (line 218) | def test_diff_default(capsys): function test_metrics_diff_md (line 241) | def test_metrics_diff_md(capsys): function test_metrics_show_with_valid_falsey_values (line 267) | def test_metrics_show_with_valid_falsey_values(): function test_metrics_show_with_no_revision (line 289) | def test_metrics_show_with_no_revision(): function test_metrics_show_with_non_dict_values (line 305) | def test_metrics_show_with_non_dict_values(): function test_metrics_show_with_multiple_revision (line 313) | def test_metrics_show_with_multiple_revision(): function test_metrics_show_with_one_revision_multiple_paths (line 343) | def test_metrics_show_with_one_revision_multiple_paths(): function test_metrics_show_with_different_metrics_header (line 373) | def test_metrics_show_with_different_metrics_header(): function test_metrics_show_precision (line 405) | def test_metrics_show_precision(): function test_metrics_show_mocked (line 454) | def test_metrics_show_mocked(mocker, markdown): function test_metrics_show_default (line 471) | def test_metrics_show_default(capsys): function test_metrics_show_markdown (line 494) | def test_metrics_show_markdown(capsys): FILE: tests/unit/test_config.py function test_to_relpath (line 20) | def test_to_relpath(path, expected): function test_resolve (line 34) | def test_resolve(path, expected): function test_resolve_homedir (line 39) | def test_resolve_homedir(): function test_get_fs (line 47) | def test_get_fs(tmp_dir, scm): function test_s3_ssl_verify (line 63) | def test_s3_ssl_verify(tmp_dir, dvc): function test_load_unicode_error (line 99) | def test_load_unicode_error(tmp_dir, dvc, mocker): function test_load_configob_error (line 109) | def test_load_configob_error(tmp_dir, dvc, mocker): function test_feature_section_supports_arbitrary_values (line 119) | def test_feature_section_supports_arbitrary_values(caplog): FILE: tests/unit/test_context.py function test_context (line 22) | def test_context(): function test_context_dict_ignores_keys_except_str (line 40) | def test_context_dict_ignores_keys_except_str(): function test_context_list (line 49) | def test_context_list(): function test_context_setitem_getitem (line 66) | def test_context_setitem_getitem(): function test_loop_context (line 105) | def test_loop_context(): function test_repr (line 121) | def test_repr(): function test_select (line 129) | def test_select(): function test_select_unwrap (line 159) | def test_select_unwrap(): function test_merge_dict (line 177) | def test_merge_dict(): function test_merge_list (line 199) | def test_merge_list(): function test_overwrite_with_setitem (line 213) | def test_overwrite_with_setitem(): function test_load_from (line 220) | def test_load_from(mocker): function test_clone (line 261) | def test_clone(): function test_track (line 284) | def test_track(tmp_dir): function test_track_from_multiple_files (line 322) | def test_track_from_multiple_files(tmp_dir): function test_node_value (line 373) | def test_node_value(): function test_resolve_resolves_dict_keys (line 400) | def test_resolve_resolves_dict_keys(): function test_resolve_resolves_boolean_value (line 409) | def test_resolve_resolves_boolean_value(): function test_load_from_raises_if_file_not_exist (line 420) | def test_load_from_raises_if_file_not_exist(tmp_dir, dvc): function test_load_from_raises_if_file_is_directory (line 427) | def test_load_from_raises_if_file_is_directory(tmp_dir, dvc): FILE: tests/unit/test_daemon.py function test_daemon (line 7) | def test_daemon(mocker): function test_no_recursive_spawn (line 24) | def test_no_recursive_spawn(mocker): FILE: tests/unit/test_dirs.py function test_global_config_dir_respects_env_var (line 9) | def test_global_config_dir_respects_env_var(monkeypatch): function test_site_cache_dir_on_unix (line 16) | def test_site_cache_dir_on_unix(monkeypatch): function test_site_cache_dir_env_var (line 21) | def test_site_cache_dir_env_var(monkeypatch): function test_site_cache_dir_with_config_parameter (line 26) | def test_site_cache_dir_with_config_parameter(monkeypatch): function test_site_cache_dir_env_var_precedence (line 31) | def test_site_cache_dir_env_var_precedence(monkeypatch): FILE: tests/unit/test_dvcfile.py function test_pipelines_file (line 28) | def test_pipelines_file(path): function test_pipelines_single_stage_file (line 34) | def test_pipelines_single_stage_file(path): function test_stage_load_on_not_existing_file (line 41) | def test_stage_load_on_not_existing_file(tmp_dir, dvc, file, is_dvcignor... function test_stage_load_on_non_file (line 54) | def test_stage_load_on_non_file(tmp_dir, dvc, file): function test_stage_load_on_invalid_data (line 62) | def test_stage_load_on_invalid_data(tmp_dir, dvc, file): function test_dump_stage (line 72) | def test_dump_stage(tmp_dir, dvc): function test_dump_multiple_pipeline_stages (line 93) | def test_dump_multiple_pipeline_stages(tmp_dir, dvc): function test_dump_stages_single_stage (line 115) | def test_dump_stages_single_stage(tmp_dir, dvc): function test_stage_load_file_exists_but_dvcignored (line 127) | def test_stage_load_file_exists_but_dvcignored(tmp_dir, dvc, scm, file): function test_try_loading_dvcfile_that_is_gitignored (line 140) | def test_try_loading_dvcfile_that_is_gitignored(tmp_dir, dvc, scm, file): function test_dvcfile_encoding_error (line 155) | def test_dvcfile_encoding_error(tmp_dir, dvc): FILE: tests/unit/test_hashinfo.py function test_as_raw (line 4) | def test_as_raw(): FILE: tests/unit/test_ignore.py function test_match_ignore_from_file (line 167) | def test_match_ignore_from_file( function test_should_ignore_dir (line 190) | def test_should_ignore_dir(omit_dir, sub_dir): function test_ignore_complex (line 208) | def test_ignore_complex(tmp_dir, dvc): function test_ignore_unignore_from_git_example (line 303) | def test_ignore_unignore_from_git_example(tmp_dir, dvc, scm): FILE: tests/unit/test_imports.py function test_no_remote_imports (line 5) | def test_no_remote_imports(): FILE: tests/unit/test_info.py function find_supported_remotes (line 17) | def find_supported_remotes(string): function test_info_in_repo (line 45) | def test_info_in_repo(scm_init, tmp_dir): function test_info_in_subdir (line 66) | def test_info_in_subdir(tmp_dir, scm, caplog): function test_info_in_broken_git_repo (line 80) | def test_info_in_broken_git_repo(tmp_dir, dvc, scm, caplog): function test_caches (line 87) | def test_caches(tmp_dir, dvc, caplog): function test_remotes_empty (line 94) | def test_remotes_empty(tmp_dir, dvc, caplog): function test_remotes (line 101) | def test_remotes(tmp_dir, dvc, caplog): function test_fs_info_in_repo (line 111) | def test_fs_info_in_repo(tmp_dir, dvc, caplog): function test_info_outside_of_repo (line 119) | def test_info_outside_of_repo(tmp_dir, caplog): function test_fs_info_outside_of_repo (line 129) | def test_fs_info_outside_of_repo(tmp_dir, caplog): function test_plugin_versions (line 136) | def test_plugin_versions(tmp_dir, dvc): FILE: tests/unit/test_interpolate.py function test_resolve_primitive_values (line 14) | def test_resolve_primitive_values(data, template, var): function test_escape (line 33) | def test_escape(template, expected): function test_resolve_str (line 38) | def test_resolve_str(): function test_resolve_primitives_dict_access (line 45) | def test_resolve_primitives_dict_access(): function test_resolve_primitives_list_access (line 63) | def test_resolve_primitives_list_access(): function test_resolve_collection (line 83) | def test_resolve_collection(): function test_resolve_unicode (line 96) | def test_resolve_unicode(): FILE: tests/unit/test_lockfile.py function test_stage_dump_no_outs_deps (line 8) | def test_stage_dump_no_outs_deps(tmp_dir, dvc): function test_stage_dump_when_already_exists (line 18) | def test_stage_dump_when_already_exists(tmp_dir, dvc): function test_stage_dump_with_deps_and_outs (line 30) | def test_stage_dump_with_deps_and_outs(tmp_dir, dvc): function test_stage_overwrites_if_already_exists (line 48) | def test_stage_overwrites_if_already_exists(tmp_dir, dvc): function test_load_when_lockfile_does_not_exist (line 60) | def test_load_when_lockfile_does_not_exist(tmp_dir, dvc): function test_load_when_lockfile_is_corrupted (line 78) | def test_load_when_lockfile_is_corrupted(tmp_dir, dvc, corrupt_data): function test_try_loading_lockfile_that_is_gitignored (line 88) | def test_try_loading_lockfile_that_is_gitignored( FILE: tests/unit/test_logger.py function dt (line 22) | def dt(mocker): class TestColorFormatter (line 28) | class TestColorFormatter: method test_debug (line 29) | def test_debug(self, caplog, dt): method test_info (line 39) | def test_info(self, caplog): method test_warning (line 45) | def test_warning(self, caplog): method test_error (line 53) | def test_error(self, caplog): method test_exception (line 61) | def test_exception(self, caplog): method test_exception_with_description_and_without_message (line 72) | def test_exception_with_description_and_without_message(self, caplog): method test_exception_with_description_and_message (line 83) | def test_exception_with_description_and_message(self, caplog): method test_exception_under_verbose (line 94) | def test_exception_under_verbose(self, caplog, dt): method test_exc_info_on_other_record_types (line 112) | def test_exc_info_on_other_record_types(self, caplog, dt): method test_tb_only (line 132) | def test_tb_only(self, caplog, dt): method test_nested_exceptions (line 150) | def test_nested_exceptions(self, caplog, dt): method test_progress_awareness (line 174) | def test_progress_awareness(self, mocker, capsys, caplog): function test_handlers (line 205) | def test_handlers(): function test_logging_debug_with_datetime (line 214) | def test_logging_debug_with_datetime(caplog, dt): function test_info_with_debug_loglevel_shows_no_datetime (line 226) | def test_info_with_debug_loglevel_shows_no_datetime(caplog, dt): function test_add_existing_level (line 233) | def test_add_existing_level(caplog, dt): FILE: tests/unit/test_metrics.py function test_metrics_order (line 5) | def test_metrics_order(tmp_dir, dvc): FILE: tests/unit/test_params.py function test_params_order (line 6) | def test_params_order(tmp_dir, dvc): function test_repro_unicode (line 33) | def test_repro_unicode(tmp_dir, dvc): FILE: tests/unit/test_pathspec_math.py function test_dvcignore_pattern_change_dir (line 71) | def test_dvcignore_pattern_change_dir(tmp_dir, patterns, dirname, changed): FILE: tests/unit/test_progress.py function test_quiet_logging (line 7) | def test_quiet_logging(caplog, capsys): function test_quiet_logging_disable_false (line 16) | def test_quiet_logging_disable_false(caplog, capsys, mocker): function test_quiet_notty (line 27) | def test_quiet_notty(caplog, capsys): function test_default (line 39) | def test_default(caplog, capsys, mocker): FILE: tests/unit/test_prompt.py function test_confirm_in_tty_if_stdin_is_closed (line 4) | def test_confirm_in_tty_if_stdin_is_closed(mocker): FILE: tests/unit/test_run.py function test_valid_stage_names (line 7) | def test_valid_stage_names(name): function test_invalid_stage_names (line 12) | def test_invalid_stage_names(name): FILE: tests/unit/test_rwlock.py function test_rwlock (line 16) | def test_rwlock(tmp_path): function test_rwlock_reentrant (line 36) | def test_rwlock_reentrant(tmp_path): function test_rwlock_edit_is_guarded (line 59) | def test_rwlock_edit_is_guarded(tmp_path, mocker): function test_rwlock_subdirs (line 71) | def test_rwlock_subdirs(tmp_path): function test_broken_rwlock (line 96) | def test_broken_rwlock(tmp_path): function test_corrupted_rwlock (line 112) | def test_corrupted_rwlock(tmp_path, mocker, return_value): FILE: tests/unit/test_scm.py function test_resolve_rev_empty_git_repo (line 7) | def test_resolve_rev_empty_git_repo(scm): FILE: tests/unit/test_tabular_data.py function test_table_empty (line 8) | def test_table_empty(capsys): function test_list_operations (line 45) | def test_list_operations(): function test_dict_like_interfaces (line 99) | def test_dict_like_interfaces(): function test_fill_value (line 115) | def test_fill_value(): function test_drop (line 148) | def test_drop(): function test_protected (line 157) | def test_protected(): function test_row_from_dict (line 173) | def test_row_from_dict(): function test_dropna (line 234) | def test_dropna(axis, how, data, expected): function test_dropna_subset (line 248) | def test_dropna_subset(axis, expected): function test_drop_duplicates (line 280) | def test_drop_duplicates(axis, expected, ignore_empty): function test_drop_duplicates_rich_text (line 296) | def test_drop_duplicates_rich_text(): function test_drop_duplicates_subset (line 349) | def test_drop_duplicates_subset(axis, subset, expected): function test_dropna_invalid_axis (line 367) | def test_dropna_invalid_axis(): function test_drop_duplicates_invalid_axis (line 374) | def test_drop_duplicates_invalid_axis(): FILE: tests/unit/test_updater.py function tmp_global_dir (line 14) | def tmp_global_dir(mocker, tmp_path): function mock_env (line 22) | def mock_env(monkeypatch): function updater (line 28) | def updater(tmp_path, tmp_global_dir): function mock_tty (line 33) | def mock_tty(mocker): function test_fetch (line 37) | def test_fetch(mocker, updater): function test_is_enabled (line 63) | def test_is_enabled(dvc, updater, config, result): function test_check_update_respect_config (line 71) | def test_check_update_respect_config(result, updater, mocker): function test_check_updates (line 87) | def test_check_updates(mocker, capsys, updater, current, latest, notify): function test_check_refetches_each_day (line 107) | def test_check_refetches_each_day(mock_tty, updater, caplog, mocker): function test_check_fetches_on_invalid_data_format (line 124) | def test_check_fetches_on_invalid_data_format(mock_tty, updater, caplog,... function test_check (line 136) | def test_check(mocker, updater): function test_notify_message (line 173) | def test_notify_message(updater, pkg, instruction): FILE: tests/unit/ui/test_console.py function test_write (line 9) | def test_write(capsys): function test_write_json (line 45) | def test_write_json(capsys, mocker, isatty, expected_output): function test_capsys_works (line 56) | def test_capsys_works(capsys): FILE: tests/unit/ui/test_pager.py function clear_envs (line 10) | def clear_envs(monkeypatch): function test_find_pager_when_not_isatty (line 16) | def test_find_pager_when_not_isatty(mocker): function test_find_pager_uses_custom_pager_when_dvc_pager_env_var_is_defined (line 21) | def test_find_pager_uses_custom_pager_when_dvc_pager_env_var_is_defined( function test_find_pager_uses_custom_pager_when_pager_env_is_defined (line 30) | def test_find_pager_uses_custom_pager_when_pager_env_is_defined(mocker, ... function test_find_pager_uses_default_pager_when_found (line 37) | def test_find_pager_uses_default_pager_when_found(mocker): function test_find_pager_fails_to_find_any_pager (line 44) | def test_find_pager_fails_to_find_any_pager(mocker): function test_dvc_sets_default_options_on_less_without_less_env (line 52) | def test_dvc_sets_default_options_on_less_without_less_env(mocker, monke... function test_dvc_sets_some_options_on_less_if_less_env_defined (line 65) | def test_dvc_sets_some_options_on_less_if_less_env_defined(mocker, monke... function test_make_pager_when_no_pager_found (line 75) | def test_make_pager_when_no_pager_found(): function test_pager (line 79) | def test_pager(mocker, monkeypatch): FILE: tests/unit/ui/test_table.py function test_plain (line 9) | def test_plain(capsys): function test_plain_md (line 25) | def test_plain_md(capsys): function test_plain_pager (line 43) | def test_plain_pager(mocker): function test_plain_headerless (line 63) | def test_plain_headerless(capsys): function test_rich_simple (line 75) | def test_rich_simple(capsys): function test_rich_headerless (line 91) | def test_rich_headerless(capsys): function test_rich_border (line 101) | def test_rich_border(capsys): function test_rich_styles (line 126) | def test_rich_styles(capsys, extra_opts): function test_rich_pager (line 143) | def test_rich_pager(mocker): function test_empty (line 162) | def test_empty(capsys, rich_table): function test_empty_markdown (line 168) | def test_empty_markdown(capsys): FILE: tests/unit/utils/serialize/test_python.py function test_parse_valid_types (line 33) | def test_parse_valid_types(text, result): function test_parse_invalid_types (line 44) | def test_parse_invalid_types(text): FILE: tests/unit/utils/serialize/test_toml.py function test_preserve_comments (line 1) | def test_preserve_comments(tmp_dir): function test_parse_toml_type (line 17) | def test_parse_toml_type(): function test_parse_toml_for_update (line 29) | def test_parse_toml_for_update(): FILE: tests/unit/utils/serialize/test_yaml.py function test_parse_yaml_duplicate_key_error (line 11) | def test_parse_yaml_duplicate_key_error(): function test_parse_yaml_invalid_unicode (line 22) | def test_parse_yaml_invalid_unicode(tmp_dir): FILE: tests/unit/utils/test_cli_parse.py function test_parse_params (line 6) | def test_parse_params(): function test_to_path_overrides (line 41) | def test_to_path_overrides(params, expected): FILE: tests/unit/utils/test_collections.py class MyDict (line 14) | class MyDict(dict): class MyInt (line 18) | class MyInt(int): function test_apply_diff_is_inplace (line 22) | def test_apply_diff_is_inplace(): function test_apply_diff_mapping (line 31) | def test_apply_diff_mapping(): function test_apply_diff_seq (line 49) | def test_apply_diff_seq(): function is_serializable (line 62) | def is_serializable(d): function test_to_omegaconf (line 68) | def test_to_omegaconf(): function test_merge_dicts (line 117) | def test_merge_dicts(changes, expected): function test_remove_missing_keys (line 136) | def test_remove_missing_keys(changes, expected): FILE: tests/unit/utils/test_executors.py function test_cancel_futures (line 12) | def test_cancel_futures(wait, cancel_futures): function test_cancel_on_error_context_manager (line 49) | def test_cancel_on_error_context_manager(mocker): FILE: tests/unit/utils/test_fs.py function test_should_raise_exception_on_base_path_not_in_path (line 16) | def test_should_raise_exception_on_base_path_not_in_path(): function test_should_return_true_on_symlink_in_path (line 21) | def test_should_return_true_on_symlink_in_path(mocker): function test_should_return_false_on_path_eq_to_base_path (line 28) | def test_should_return_false_on_path_eq_to_base_path(mocker): function test_should_return_false_on_no_more_dirs_below_path (line 34) | def test_should_return_false_on_no_more_dirs_below_path(mocker): function test_should_return_false_when_base_path_is_symlink (line 41) | def test_should_return_false_when_base_path_is_symlink(mocker): function test_path_object_and_str_are_valid_arg_types (line 57) | def test_path_object_and_str_are_valid_arg_types(): function test_should_call_recursive_on_no_condition_matched (line 64) | def test_should_call_recursive_on_no_condition_matched(mocker): function test_relpath_windows_different_drives (line 75) | def test_relpath_windows_different_drives(): function test_remove (line 85) | def test_remove(tmp_dir): function test_path_isin_positive (line 93) | def test_path_isin_positive(): function test_path_isin_on_same_path (line 102) | def test_path_isin_on_same_path(): function test_path_isin_on_common_substring_path (line 112) | def test_path_isin_on_common_substring_path(): function test_path_isin_with_absolute_path (line 119) | def test_path_isin_with_absolute_path(): function test_path_isin_case_sensitive (line 126) | def test_path_isin_case_sensitive(): function test_contains_symlink_case_sensitive_win (line 134) | def test_contains_symlink_case_sensitive_win(): function test_contains_symlink_case_sensitive_posix (line 141) | def test_contains_symlink_case_sensitive_posix(): function test_makedirs (line 148) | def test_makedirs(tmp_dir): FILE: tests/unit/utils/test_humanize.py function test_get_summary (line 8) | def test_get_summary(): function test_truncate_text (line 42) | def test_truncate_text(): function test_truncate_text_smaller_than_max_length (line 60) | def test_truncate_text_smaller_than_max_length(with_ellipsis): FILE: tests/unit/utils/test_plots.py function test_get_plot_id (line 4) | def test_get_plot_id(): function test_group_definitions_by_id (line 9) | def test_group_definitions_by_id(): FILE: tests/unit/utils/test_studio.py function test_notify_refs (line 41) | def test_notify_refs(mocker, status_code, side_effect): function test_config_to_env (line 72) | def test_config_to_env(): function test_env_to_config (line 76) | def test_env_to_config(): function test_get_repo_url (line 88) | def test_get_repo_url(dvc, scm, monkeypatch, exp_git_remote, repo_url): FILE: tests/unit/utils/test_utils.py function test_fix_env_pyenv (line 32) | def test_fix_env_pyenv(path, orig): function test_relpath_windows (line 44) | def test_relpath_windows(): function test_resolve_output (line 71) | def test_resolve_output(inp, out, is_dir, expected, mocker): function test_parse_target (line 116) | def test_parse_target(inp, out, default): function test_hint_on_lockfile (line 120) | def test_hint_on_lockfile(): function test_dict_sha256 (line 149) | def test_dict_sha256(d, sha): FILE: tests/utils/__init__.py function get_gitignore_content (line 15) | def get_gitignore_content(): function cd (line 21) | def cd(newdir): function to_posixpath (line 30) | def to_posixpath(path): function dump_sv (line 34) | def dump_sv(stream, metrics, delimiter=",", header=True): function console_width (line 48) | def console_width(console, width): class ANY (line 62) | class ANY: # noqa: PLW1641 method __init__ (line 63) | def __init__(self, expected_type): method __repr__ (line 66) | def __repr__(self): method __eq__ (line 69) | def __eq__(self, other): FILE: tests/utils/asserts.py function issubset (line 8) | def issubset(subset: dict, superset: dict) -> bool: function called_once_with_subset (line 13) | def called_once_with_subset(m: "Mock", *args: Any, **kwargs: Any) -> bool: FILE: tests/utils/plots.py function get_plot (line 6) | def get_plot(plots_data, revision, typ="sources", file=None, endkey="dat...