1 line
16 KiB
JSON
1 line
16 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "label": "cli.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L1"}, {"id": "cli_resolve_path", "label": "resolve_path()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L18"}, {"id": "cli_cli", "label": "cli()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L26"}, {"id": "cli_import_exit", "label": "import_exit()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L185"}, {"id": "cli_build_filter", "label": "build_filter()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L197"}, {"id": "cli_rationale_27", "label": "Watch one or more directories and execute either a shell command or a python fun", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L27"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "argparse", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "shlex", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "pathlib", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "textwrap", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "backend_venv_lib_python3_12_site_packages_watchfiles_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "backend_venv_lib_python3_12_site_packages_watchfiles_filters_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "backend_venv_lib_python3_12_site_packages_watchfiles_run_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "backend_venv_lib_python3_12_site_packages_watchfiles_version_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "cli_resolve_path", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "cli_cli", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L26", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "cli_import_exit", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L185", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_watchfiles_cli_py", "target": "cli_build_filter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L197", "weight": 1.0}, {"source": "cli_cli", "target": "cli_import_exit", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L148", "weight": 1.0}, {"source": "cli_cli", "target": "cli_resolve_path", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L155", "weight": 1.0}, {"source": "cli_cli", "target": "cli_build_filter", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L160", "weight": 1.0}, {"source": "cli_build_filter", "target": "cli_import_exit", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L213", "weight": 1.0}, {"source": "cli_rationale_27", "target": "cli_cli", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L27", "weight": 1.0}], "raw_calls": [{"caller_nid": "cli_resolve_path", "callee": "Path", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L19"}, {"caller_nid": "cli_resolve_path", "callee": "exists", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L20"}, {"caller_nid": "cli_resolve_path", "callee": "FileNotFoundError", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L21"}, {"caller_nid": "cli_resolve_path", "callee": "resolve", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L23"}, {"caller_nid": "cli_cli", "callee": "ArgumentParser", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L41"}, {"caller_nid": "cli_cli", "callee": "dedent", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L43"}, {"caller_nid": "cli_cli", "callee": "strip", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L43"}, {"caller_nid": "cli_cli", "callee": "add_argument", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L46"}, {"caller_nid": "cli_cli", "callee": "add_argument", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L47"}, {"caller_nid": "cli_cli", "callee": "add_argument", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L51"}, {"caller_nid": "cli_cli", "callee": "add_argument", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L60"}, {"caller_nid": "cli_cli", "callee": "add_argument", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L71"}, {"caller_nid": "cli_cli", "callee": "add_argument", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L82"}, {"caller_nid": "cli_cli", "callee": "add_argument", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L88"}, {"caller_nid": "cli_cli", "callee": "add_argument", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L89"}, {"caller_nid": "cli_cli", "callee": "add_argument", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L92"}, {"caller_nid": "cli_cli", "callee": "add_argument", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L100"}, {"caller_nid": "cli_cli", "callee": "add_argument", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L107"}, {"caller_nid": "cli_cli", "callee": "add_argument", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L114"}, {"caller_nid": "cli_cli", "callee": "add_argument", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L121"}, {"caller_nid": "cli_cli", "callee": "add_argument", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L126"}, {"caller_nid": "cli_cli", "callee": "parse_args", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L127"}, {"caller_nid": "cli_cli", "callee": "getattr", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L132"}, {"caller_nid": "cli_cli", "callee": "upper", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L132"}, {"caller_nid": "cli_cli", "callee": "StreamHandler", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L134"}, {"caller_nid": "cli_cli", "callee": "setLevel", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L135"}, {"caller_nid": "cli_cli", "callee": "setFormatter", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L136"}, {"caller_nid": "cli_cli", "callee": "Formatter", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L136"}, {"caller_nid": "cli_cli", "callee": "getLogger", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L137"}, {"caller_nid": "cli_cli", "callee": "addHandler", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L138"}, {"caller_nid": "cli_cli", "callee": "setLevel", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L139"}, {"caller_nid": "cli_cli", "callee": "detect_target_type", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L142"}, {"caller_nid": "cli_cli", "callee": "debug", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L147"}, {"caller_nid": "cli_cli", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L150"}, {"caller_nid": "cli_cli", "callee": "warning", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L152"}, {"caller_nid": "cli_cli", "callee": "print", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L157"}, {"caller_nid": "cli_cli", "callee": "exit", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L158"}, {"caller_nid": "cli_cli", "callee": "info", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L162"}, {"caller_nid": "cli_cli", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L165"}, {"caller_nid": "cli_cli", "callee": "run_process", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L171"}, {"caller_nid": "cli_import_exit", "callee": "getcwd", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L186"}, {"caller_nid": "cli_import_exit", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L188"}, {"caller_nid": "cli_import_exit", "callee": "import_string", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L191"}, {"caller_nid": "cli_import_exit", "callee": "print", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L193"}, {"caller_nid": "cli_import_exit", "callee": "exit", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L194"}, {"caller_nid": "cli_build_filter", "callee": "resolve", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L202"}, {"caller_nid": "cli_build_filter", "callee": "Path", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L202"}, {"caller_nid": "cli_build_filter", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L202"}, {"caller_nid": "cli_build_filter", "callee": "DefaultFilter", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L205"}, {"caller_nid": "cli_build_filter", "callee": "PythonFilter", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L207"}, {"caller_nid": "cli_build_filter", "callee": "warning", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L210"}, {"caller_nid": "cli_build_filter", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L214"}, {"caller_nid": "cli_build_filter", "callee": "issubclass", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L214"}, {"caller_nid": "cli_build_filter", "callee": "watch_filter_cls", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L215"}, {"caller_nid": "cli_build_filter", "callee": "warning", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L218"}, {"caller_nid": "cli_build_filter", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L220"}, {"caller_nid": "cli_build_filter", "callee": "issubclass", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L220"}, {"caller_nid": "cli_build_filter", "callee": "watch_filter_cls", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L221"}, {"caller_nid": "cli_build_filter", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L223"}, {"caller_nid": "cli_build_filter", "callee": "repr", "source_file": "backend/venv/lib/python3.12/site-packages/watchfiles/cli.py", "source_location": "L224"}]} |