1 line
17 KiB
JSON
1 line
17 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_docstring_parser_attrdoc_py", "label": "attrdoc.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L1"}, {"id": "attrdoc_ast_get_constant_value", "label": "ast_get_constant_value()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L15"}, {"id": "attrdoc_ast_unparse", "label": "ast_unparse()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L20"}, {"id": "attrdoc_ast_is_literal_str", "label": "ast_is_literal_str()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L32"}, {"id": "attrdoc_ast_get_attribute", "label": "ast_get_attribute()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L41"}, {"id": "attrdoc_attributedocstrings", "label": "AttributeDocstrings", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L60"}, {"id": "attrdoc_attributedocstrings_visit", "label": ".visit()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L66"}, {"id": "attrdoc_attributedocstrings_get_attr_docs", "label": ".get_attr_docs()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L78"}, {"id": "attrdoc_add_attribute_docstrings", "label": "add_attribute_docstrings()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L104"}, {"id": "attrdoc_rationale_1", "label": "Attribute docstrings parsing. .. seealso:: https://peps.python.org/pep-0257/#wh", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L1"}, {"id": "attrdoc_rationale_16", "label": "Return the constant's value if the given node is a constant.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L16"}, {"id": "attrdoc_rationale_21", "label": "Convert the AST node to source code as a string.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L21"}, {"id": "attrdoc_rationale_33", "label": "Return True if the given node is a literal string.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L33"}, {"id": "attrdoc_rationale_44", "label": "Return name, type and default if the given node is an attribute.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L44"}, {"id": "attrdoc_rationale_61", "label": "An ast.NodeVisitor that collects attribute docstrings.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L61"}, {"id": "attrdoc_rationale_81", "label": "Get attribute docstrings from the given component. :param component: co", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L81"}, {"id": "attrdoc_rationale_107", "label": "Add attribute docstrings found in the object's source code. :param obj: obj", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L107"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_docstring_parser_attrdoc_py", "target": "ast", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_docstring_parser_attrdoc_py", "target": "inspect", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_docstring_parser_attrdoc_py", "target": "textwrap", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_docstring_parser_attrdoc_py", "target": "typing", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_docstring_parser_attrdoc_py", "target": "types", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_docstring_parser_attrdoc_py", "target": "backend_venv_lib_python3_12_site_packages_docstring_parser_common_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_docstring_parser_attrdoc_py", "target": "attrdoc_ast_get_constant_value", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_docstring_parser_attrdoc_py", "target": "attrdoc_ast_unparse", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L20", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_docstring_parser_attrdoc_py", "target": "attrdoc_ast_is_literal_str", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L32", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_docstring_parser_attrdoc_py", "target": "attrdoc_ast_get_attribute", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L41", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_docstring_parser_attrdoc_py", "target": "attrdoc_attributedocstrings", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L60", "weight": 1.0}, {"source": "attrdoc_attributedocstrings", "target": "attrdoc_attributedocstrings_visit", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L66", "weight": 1.0}, {"source": "attrdoc_attributedocstrings", "target": "attrdoc_attributedocstrings_get_attr_docs", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L78", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_docstring_parser_attrdoc_py", "target": "attrdoc_add_attribute_docstrings", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L104", "weight": 1.0}, {"source": "attrdoc_ast_unparse", "target": "attrdoc_ast_get_constant_value", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L26", "weight": 1.0}, {"source": "attrdoc_ast_is_literal_str", "target": "attrdoc_ast_get_constant_value", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L37", "weight": 1.0}, {"source": "attrdoc_ast_get_attribute", "target": "attrdoc_ast_unparse", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L52", "weight": 1.0}, {"source": "attrdoc_attributedocstrings_visit", "target": "attrdoc_ast_is_literal_str", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L67", "weight": 1.0}, {"source": "attrdoc_attributedocstrings_visit", "target": "attrdoc_ast_get_constant_value", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L70", "weight": 1.0}, {"source": "attrdoc_attributedocstrings_visit", "target": "attrdoc_ast_get_attribute", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L74", "weight": 1.0}, {"source": "attrdoc_attributedocstrings_get_attr_docs", "target": "attrdoc_attributedocstrings_visit", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L96", "weight": 1.0}, {"source": "attrdoc_add_attribute_docstrings", "target": "attrdoc_attributedocstrings_get_attr_docs", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L115", "weight": 1.0}, {"source": "attrdoc_add_attribute_docstrings", "target": "attrdoc_attributedocstrings", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L115", "weight": 1.0}, {"source": "attrdoc_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_docstring_parser_attrdoc_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L1", "weight": 1.0}, {"source": "attrdoc_rationale_16", "target": "attrdoc_ast_get_constant_value", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L16", "weight": 1.0}, {"source": "attrdoc_rationale_21", "target": "attrdoc_ast_unparse", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L21", "weight": 1.0}, {"source": "attrdoc_rationale_33", "target": "attrdoc_ast_is_literal_str", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L33", "weight": 1.0}, {"source": "attrdoc_rationale_44", "target": "attrdoc_ast_get_attribute", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L44", "weight": 1.0}, {"source": "attrdoc_rationale_61", "target": "attrdoc_attributedocstrings", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L61", "weight": 1.0}, {"source": "attrdoc_rationale_81", "target": "attrdoc_attributedocstrings_get_attr_docs", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L81", "weight": 1.0}, {"source": "attrdoc_rationale_107", "target": "attrdoc_add_attribute_docstrings", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L107", "weight": 1.0}], "raw_calls": [{"caller_nid": "attrdoc_ast_get_constant_value", "callee": "getattr", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L17"}, {"caller_nid": "attrdoc_ast_unparse", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L22"}, {"caller_nid": "attrdoc_ast_unparse", "callee": "unparse", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L23"}, {"caller_nid": "attrdoc_ast_unparse", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L25"}, {"caller_nid": "attrdoc_ast_unparse", "callee": "str", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L26"}, {"caller_nid": "attrdoc_ast_unparse", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L27"}, {"caller_nid": "attrdoc_ast_is_literal_str", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L35"}, {"caller_nid": "attrdoc_ast_is_literal_str", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L36"}, {"caller_nid": "attrdoc_ast_is_literal_str", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L37"}, {"caller_nid": "attrdoc_ast_get_attribute", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L45"}, {"caller_nid": "attrdoc_ast_get_attribute", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L47"}, {"caller_nid": "attrdoc_ast_get_attribute", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L49"}, {"caller_nid": "attrdoc_ast_get_attribute", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L51"}, {"caller_nid": "attrdoc_attributedocstrings_visit", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L75"}, {"caller_nid": "attrdoc_attributedocstrings_visit", "callee": "generic_visit", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L76"}, {"caller_nid": "attrdoc_attributedocstrings_get_attr_docs", "callee": "dedent", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L90"}, {"caller_nid": "attrdoc_attributedocstrings_get_attr_docs", "callee": "getsource", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L90"}, {"caller_nid": "attrdoc_attributedocstrings_get_attr_docs", "callee": "parse", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L94"}, {"caller_nid": "attrdoc_attributedocstrings_get_attr_docs", "callee": "ismodule", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L95"}, {"caller_nid": "attrdoc_attributedocstrings_get_attr_docs", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L97"}, {"caller_nid": "attrdoc_attributedocstrings_get_attr_docs", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L97"}, {"caller_nid": "attrdoc_add_attribute_docstrings", "callee": "set", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L113"}, {"caller_nid": "attrdoc_add_attribute_docstrings", "callee": "items", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L115"}, {"caller_nid": "attrdoc_add_attribute_docstrings", "callee": "DocstringParam", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L118"}, {"caller_nid": "attrdoc_add_attribute_docstrings", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/docstring_parser/attrdoc.py", "source_location": "L126"}]} |