1 line
14 KiB
JSON
1 line
14 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_wrapt_patches_py", "label": "patches.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L1"}, {"id": "patches_resolve_path", "label": "resolve_path()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L9"}, {"id": "patches_apply_patch", "label": "apply_patch()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L61"}, {"id": "patches_wrap_object", "label": "wrap_object()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L71"}, {"id": "patches_attributewrapper", "label": "AttributeWrapper", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L99"}, {"id": "patches_attributewrapper_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L101"}, {"id": "patches_attributewrapper_get", "label": ".__get__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L107"}, {"id": "patches_attributewrapper_set", "label": ".__set__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L111"}, {"id": "patches_attributewrapper_delete", "label": ".__delete__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L114"}, {"id": "patches_wrap_object_attribute", "label": "wrap_object_attribute()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L118"}, {"id": "patches_function_wrapper", "label": "function_wrapper()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L147"}, {"id": "patches_wrap_function_wrapper", "label": "wrap_function_wrapper()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L171"}, {"id": "patches_patch_function_wrapper", "label": "patch_function_wrapper()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L186"}, {"id": "patches_transient_function_wrapper", "label": "transient_function_wrapper()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L207"}, {"id": "patches_rationale_10", "label": "Resolves the dotted path supplied as `name` to an attribute on a target obje", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L10"}, {"id": "patches_rationale_62", "label": "Convenience function for applying a patch to an attribute. Currently this ma", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L62"}, {"id": "patches_rationale_72", "label": "Wraps an object which is the attribute of a target object with a wrapper obj", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L72"}, {"id": "patches_rationale_119", "label": "Wraps an object which is the attribute of a class instance with a wrapper ob", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L119"}, {"id": "patches_rationale_148", "label": "Creates a decorator for wrapping a function with a `wrapper` function. The d", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L148"}, {"id": "patches_rationale_172", "label": "Wraps a function which is the attribute of a target object with a `wrapper`", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L172"}, {"id": "patches_rationale_187", "label": "Creates a decorator which can be applied to a wrapper function, where the wr", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L187"}, {"id": "patches_rationale_208", "label": "Creates a decorator that patches a target function with a wrapper function,", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L208"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_wrapt_patches_py", "target": "inspect", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_wrapt_patches_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_wrapt_patches_py", "target": "backend_venv_lib_python3_12_site_packages_wrapt_wrapt_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_wrapt_patches_py", "target": "patches_resolve_path", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_wrapt_patches_py", "target": "patches_apply_patch", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L61", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_wrapt_patches_py", "target": "patches_wrap_object", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L71", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_wrapt_patches_py", "target": "patches_attributewrapper", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L99", "weight": 1.0}, {"source": "patches_attributewrapper", "target": "patches_attributewrapper_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L101", "weight": 1.0}, {"source": "patches_attributewrapper", "target": "patches_attributewrapper_get", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L107", "weight": 1.0}, {"source": "patches_attributewrapper", "target": "patches_attributewrapper_set", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L111", "weight": 1.0}, {"source": "patches_attributewrapper", "target": "patches_attributewrapper_delete", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L114", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_wrapt_patches_py", "target": "patches_wrap_object_attribute", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L118", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_wrapt_patches_py", "target": "patches_function_wrapper", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L147", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_wrapt_patches_py", "target": "patches_wrap_function_wrapper", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L171", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_wrapt_patches_py", "target": "patches_patch_function_wrapper", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L186", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_wrapt_patches_py", "target": "patches_transient_function_wrapper", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L207", "weight": 1.0}, {"source": "patches_wrap_object", "target": "patches_resolve_path", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L85", "weight": 1.0}, {"source": "patches_wrap_object", "target": "patches_apply_patch", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L87", "weight": 1.0}, {"source": "patches_wrap_object_attribute", "target": "patches_resolve_path", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L135", "weight": 1.0}, {"source": "patches_wrap_object_attribute", "target": "patches_attributewrapper", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L136", "weight": 1.0}, {"source": "patches_wrap_object_attribute", "target": "patches_apply_patch", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L137", "weight": 1.0}, {"source": "patches_wrap_function_wrapper", "target": "patches_wrap_object", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L183", "weight": 1.0}, {"source": "patches_rationale_10", "target": "patches_resolve_path", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L10", "weight": 1.0}, {"source": "patches_rationale_62", "target": "patches_apply_patch", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L62", "weight": 1.0}, {"source": "patches_rationale_72", "target": "patches_wrap_object", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L72", "weight": 1.0}, {"source": "patches_rationale_119", "target": "patches_wrap_object_attribute", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L119", "weight": 1.0}, {"source": "patches_rationale_148", "target": "patches_function_wrapper", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L148", "weight": 1.0}, {"source": "patches_rationale_172", "target": "patches_wrap_function_wrapper", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L172", "weight": 1.0}, {"source": "patches_rationale_187", "target": "patches_patch_function_wrapper", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L187", "weight": 1.0}, {"source": "patches_rationale_208", "target": "patches_transient_function_wrapper", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L208", "weight": 1.0}], "raw_calls": [{"caller_nid": "patches_resolve_path", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L20"}, {"caller_nid": "patches_resolve_path", "callee": "__import__", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L21"}, {"caller_nid": "patches_resolve_path", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L26"}, {"caller_nid": "patches_resolve_path", "callee": "lookup_attribute", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L52"}, {"caller_nid": "patches_resolve_path", "callee": "lookup_attribute", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L56"}, {"caller_nid": "patches_apply_patch", "callee": "setattr", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L68"}, {"caller_nid": "patches_wrap_object", "callee": "factory", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L86"}, {"caller_nid": "patches_attributewrapper_get", "callee": "factory", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L109"}, {"caller_nid": "patches_wrap_object_attribute", "callee": "rsplit", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L134"}, {"caller_nid": "patches_function_wrapper", "callee": "FunctionWrapper", "source_file": "backend/venv/lib/python3.12/site-packages/wrapt/patches.py", "source_location": "L168"}]} |