1 line
17 KiB
JSON
1 line
17 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "label": "decor.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L1"}, {"id": "decor_classproperty", "label": "classproperty", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L32"}, {"id": "object", "label": "object", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "decor_classproperty_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L35"}, {"id": "decor_classproperty_get", "label": ".__get__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L38"}, {"id": "decor_func", "label": "__func__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L42"}, {"id": "decor_hybrid_method", "label": "hybrid_method", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L46"}, {"id": "decor_hybrid_method_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L52"}, {"id": "decor_hybrid_method_get", "label": ".__get__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L56"}, {"id": "decor_memoize_single_value", "label": "memoize_single_value()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L68"}, {"id": "decor_memoized_property", "label": "memoized_property", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L91"}, {"id": "decor_memoized_property_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L95"}, {"id": "decor_memoized_property_get", "label": ".__get__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L100"}, {"id": "decor_im_func", "label": "im_func()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L110"}, {"id": "decor_memoized_property_clear_cache", "label": ".clear_cache()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L114"}, {"id": "decor_memoized_property_peek_cache", "label": ".peek_cache()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L122"}, {"id": "decor_deprecated_function", "label": "deprecated_function()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L151"}, {"id": "decor_deprecated_method", "label": "deprecated_method()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L218"}, {"id": "decor_rationale_1", "label": "passlib.utils.decor -- helper decorators & properties", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L1"}, {"id": "decor_rationale_33", "label": "Function decorator which acts like a combination of classmethod+property (limite", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L33"}, {"id": "decor_rationale_47", "label": "decorator which invokes function with class if called as class method, and w", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L47"}, {"id": "decor_rationale_69", "label": "decorator for function which takes no args, and memoizes result. exposes a", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L69"}, {"id": "decor_rationale_92", "label": "decorator which invokes method once, then replaces attr with result", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L92"}, {"id": "decor_rationale_115", "label": "class-level helper to clear stored value (if any). usage: :samp:`type(s", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L115"}, {"id": "decor_rationale_123", "label": "class-level helper to peek at stored value usage: :samp:`value = type(s", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L123"}, {"id": "decor_rationale_154", "label": "decorator to deprecate a function. :arg msg: optional msg, default chosen i", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L154"}, {"id": "decor_rationale_220", "label": "decorator to deprecate a method. :arg msg: optional msg, default chosen if", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L220"}, {"id": "decor_rationale_177", "label": "# NOTE: PY26 doesn't support \"classmethod().__func__\" directly...", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L177"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "target": "functools", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "target": "types", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "target": "warnings", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "target": "passlib_utils_compat", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L16", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "target": "decor_classproperty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L32", "weight": 1.0}, {"source": "decor_classproperty", "target": "object", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L32", "weight": 1.0}, {"source": "decor_classproperty", "target": "decor_classproperty_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L35", "weight": 1.0}, {"source": "decor_classproperty", "target": "decor_classproperty_get", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L38", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "target": "decor_func", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L42", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "target": "decor_hybrid_method", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L46", "weight": 1.0}, {"source": "decor_hybrid_method", "target": "object", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L46", "weight": 1.0}, {"source": "decor_hybrid_method", "target": "decor_hybrid_method_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L52", "weight": 1.0}, {"source": "decor_hybrid_method", "target": "decor_hybrid_method_get", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L56", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "target": "decor_memoize_single_value", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L68", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "target": "decor_memoized_property", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L91", "weight": 1.0}, {"source": "decor_memoized_property", "target": "object", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L91", "weight": 1.0}, {"source": "decor_memoized_property", "target": "decor_memoized_property_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L95", "weight": 1.0}, {"source": "decor_memoized_property", "target": "decor_memoized_property_get", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L100", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "target": "decor_im_func", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L110", "weight": 1.0}, {"source": "decor_memoized_property", "target": "decor_memoized_property_clear_cache", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L114", "weight": 1.0}, {"source": "decor_memoized_property", "target": "decor_memoized_property_peek_cache", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L122", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "target": "decor_deprecated_function", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L151", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "target": "decor_deprecated_method", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L218", "weight": 1.0}, {"source": "decor_classproperty_get", "target": "decor_im_func", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L39", "weight": 1.0}, {"source": "decor_memoized_property_get", "target": "decor_func", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L103", "weight": 1.0}, {"source": "decor_deprecated_method", "target": "decor_deprecated_function", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L228", "weight": 1.0}, {"source": "decor_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L1", "weight": 1.0}, {"source": "decor_rationale_33", "target": "decor_classproperty", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L33", "weight": 1.0}, {"source": "decor_rationale_47", "target": "decor_hybrid_method", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L47", "weight": 1.0}, {"source": "decor_rationale_69", "target": "decor_memoize_single_value", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L69", "weight": 1.0}, {"source": "decor_rationale_92", "target": "decor_memoized_property", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L92", "weight": 1.0}, {"source": "decor_rationale_115", "target": "decor_memoized_property_clear_cache", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L115", "weight": 1.0}, {"source": "decor_rationale_123", "target": "decor_memoized_property_peek_cache", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L123", "weight": 1.0}, {"source": "decor_rationale_154", "target": "decor_deprecated_function", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L154", "weight": 1.0}, {"source": "decor_rationale_220", "target": "decor_deprecated_method", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L220", "weight": 1.0}, {"source": "decor_rationale_177", "target": "backend_venv_lib_python3_12_site_packages_passlib_utils_decor_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L177", "weight": 1.0}], "raw_calls": [{"caller_nid": "decor_hybrid_method_init", "callee": "update_wrapper", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L54"}, {"caller_nid": "decor_hybrid_method_get", "callee": "MethodType", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L60"}, {"caller_nid": "decor_hybrid_method_get", "callee": "MethodType", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L62"}, {"caller_nid": "decor_memoize_single_value", "callee": "wraps", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L76"}, {"caller_nid": "decor_memoized_property_get", "callee": "setattr", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L104"}, {"caller_nid": "decor_memoized_property_clear_cache", "callee": "pop", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L120"}, {"caller_nid": "decor_memoized_property_peek_cache", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/utils/decor.py", "source_location": "L128"}]} |