{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_google_auth_refresh_worker_py", "label": "_refresh_worker.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L1"}, {"id": "refresh_worker_refreshthreadmanager", "label": "RefreshThreadManager", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L24"}, {"id": "refresh_worker_refreshthreadmanager_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L29"}, {"id": "refresh_worker_refreshthreadmanager_start_refresh", "label": ".start_refresh()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L35"}, {"id": "refresh_worker_refreshthreadmanager_clear_error", "label": ".clear_error()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L62"}, {"id": "refresh_worker_refreshthreadmanager_getstate", "label": ".__getstate__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L70"}, {"id": "refresh_worker_refreshthreadmanager_setstate", "label": ".__setstate__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L76"}, {"id": "refresh_worker_refreshthread", "label": "RefreshThread", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L82"}, {"id": "refresh_worker_refreshthread_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L87"}, {"id": "refresh_worker_refreshthread_run", "label": ".run()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L101"}, {"id": "refresh_worker_rationale_25", "label": "Organizes exactly one background job that refresh a token.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L25"}, {"id": "refresh_worker_rationale_30", "label": "Initializes the manager.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L30"}, {"id": "refresh_worker_rationale_36", "label": "Starts a refresh thread for the given credentials. The credentials are r", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L36"}, {"id": "refresh_worker_rationale_63", "label": "Removes any errors that were stored from previous background refreshes.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L63"}, {"id": "refresh_worker_rationale_71", "label": "Pickle helper that serializes the _lock attribute.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L71"}, {"id": "refresh_worker_rationale_77", "label": "Pickle helper that deserializes the _lock attribute.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L77"}, {"id": "refresh_worker_rationale_83", "label": "Thread that refreshes credentials.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L83"}, {"id": "refresh_worker_rationale_88", "label": "Initializes the thread. Args: cred: A Credential object to", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L88"}, {"id": "refresh_worker_rationale_102", "label": "Perform the credential refresh.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L102"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_google_auth_refresh_worker_py", "target": "copy", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_refresh_worker_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L16", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_refresh_worker_py", "target": "threading", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_refresh_worker_py", "target": "google_auth_exceptions", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L19", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_refresh_worker_py", "target": "refresh_worker_refreshthreadmanager", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L24", "weight": 1.0}, {"source": "refresh_worker_refreshthreadmanager", "target": "refresh_worker_refreshthreadmanager_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L29", "weight": 1.0}, {"source": "refresh_worker_refreshthreadmanager", "target": "refresh_worker_refreshthreadmanager_start_refresh", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L35", "weight": 1.0}, {"source": "refresh_worker_refreshthreadmanager", "target": "refresh_worker_refreshthreadmanager_clear_error", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L62", "weight": 1.0}, {"source": "refresh_worker_refreshthreadmanager", "target": "refresh_worker_refreshthreadmanager_getstate", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L70", "weight": 1.0}, {"source": "refresh_worker_refreshthreadmanager", "target": "refresh_worker_refreshthreadmanager_setstate", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L76", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_refresh_worker_py", "target": "refresh_worker_refreshthread", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L82", "weight": 1.0}, {"source": "refresh_worker_refreshthread", "target": "refresh_worker_refreshthread_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L87", "weight": 1.0}, {"source": "refresh_worker_refreshthread", "target": "refresh_worker_refreshthread_run", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L101", "weight": 1.0}, {"source": "refresh_worker_refreshthreadmanager_start_refresh", "target": "refresh_worker_refreshthread", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L58", "weight": 1.0}, {"source": "refresh_worker_rationale_25", "target": "refresh_worker_refreshthreadmanager", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L25", "weight": 1.0}, {"source": "refresh_worker_rationale_30", "target": "refresh_worker_refreshthreadmanager_init", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L30", "weight": 1.0}, {"source": "refresh_worker_rationale_36", "target": "refresh_worker_refreshthreadmanager_start_refresh", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L36", "weight": 1.0}, {"source": "refresh_worker_rationale_63", "target": "refresh_worker_refreshthreadmanager_clear_error", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L63", "weight": 1.0}, {"source": "refresh_worker_rationale_71", "target": "refresh_worker_refreshthreadmanager_getstate", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L71", "weight": 1.0}, {"source": "refresh_worker_rationale_77", "target": "refresh_worker_refreshthreadmanager_setstate", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L77", "weight": 1.0}, {"source": "refresh_worker_rationale_83", "target": "refresh_worker_refreshthread", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L83", "weight": 1.0}, {"source": "refresh_worker_rationale_88", "target": "refresh_worker_refreshthread_init", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L88", "weight": 1.0}, {"source": "refresh_worker_rationale_102", "target": "refresh_worker_refreshthread_run", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L102", "weight": 1.0}], "raw_calls": [{"caller_nid": "refresh_worker_refreshthreadmanager_init", "callee": "Lock", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L33"}, {"caller_nid": "refresh_worker_refreshthreadmanager_start_refresh", "callee": "InvalidValue", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L49"}, {"caller_nid": "refresh_worker_refreshthreadmanager_start_refresh", "callee": "is_alive", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L57"}, {"caller_nid": "refresh_worker_refreshthreadmanager_start_refresh", "callee": "deepcopy", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L58"}, {"caller_nid": "refresh_worker_refreshthreadmanager_start_refresh", "callee": "start", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L59"}, {"caller_nid": "refresh_worker_refreshthreadmanager_getstate", "callee": "copy", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L72"}, {"caller_nid": "refresh_worker_refreshthreadmanager_setstate", "callee": "Lock", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L78"}, {"caller_nid": "refresh_worker_refreshthreadmanager_setstate", "callee": "update", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L79"}, {"caller_nid": "refresh_worker_refreshthread_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L96"}, {"caller_nid": "refresh_worker_refreshthread_run", "callee": "refresh", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L106"}, {"caller_nid": "refresh_worker_refreshthread_run", "callee": "error", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_refresh_worker.py", "source_location": "L108"}]}