1 line
19 KiB
JSON
1 line
19 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "label": "tokens.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L1"}, {"id": "tokens_get_field_masks", "label": "_get_field_masks()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L30"}, {"id": "tokens_convert_bidi_setup_to_token_setup", "label": "_convert_bidi_setup_to_token_setup()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L44"}, {"id": "tokens_tokens", "label": "Tokens", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L113"}, {"id": "tokens_create", "label": "create()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L123"}, {"id": "tokens_asynctokens", "label": "AsyncTokens", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L269"}, {"id": "tokens_rationale_48", "label": "Converts bidiGenerateContentSetup.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L48"}, {"id": "tokens_rationale_114", "label": "[Experimental] Auth Tokens API client. This class provides methods for creati", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L114"}, {"id": "tokens_rationale_126", "label": "[Experimental] Creates an auth token. Args: config (CreateAuthTokenCo", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L126"}, {"id": "tokens_rationale_270", "label": "[Experimental] Async Auth Tokens API client. This class provides asynchronous", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L270"}, {"id": "tokens_rationale_282", "label": "Creates an auth token asynchronously. Support in v1alpha only. Args:", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L282"}, {"id": "tokens_rationale_237", "label": "# TODO: remove the hack that pops config.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L237"}, {"id": "tokens_rationale_332", "label": "# TODO: remove the hack that pops config.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L332"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "target": "json", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L19", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L20", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "target": "urllib_parse", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "target": "backend_venv_lib_python3_12_site_packages_google_genai_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "target": "backend_venv_lib_python3_12_site_packages_google_genai_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L23", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "target": "backend_venv_lib_python3_12_site_packages_google_genai_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L24", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "target": "backend_venv_lib_python3_12_site_packages_google_genai_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L25", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "target": "tokens_get_field_masks", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L30", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "target": "tokens_convert_bidi_setup_to_token_setup", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L44", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "target": "tokens_tokens", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L113", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "target": "tokens_create", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L123", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "target": "tokens_asynctokens", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L269", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "target": "tokens_create", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L279", "weight": 1.0}, {"source": "tokens_convert_bidi_setup_to_token_setup", "target": "tokens_get_field_masks", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L56", "weight": 1.0}, {"source": "tokens_create", "target": "tokens_convert_bidi_setup_to_token_setup", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L244", "weight": 1.0}, {"source": "tokens_rationale_48", "target": "tokens_convert_bidi_setup_to_token_setup", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L48", "weight": 1.0}, {"source": "tokens_rationale_114", "target": "tokens_tokens", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L114", "weight": 1.0}, {"source": "tokens_rationale_126", "target": "tokens_tokens_create", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L126", "weight": 1.0}, {"source": "tokens_rationale_270", "target": "tokens_asynctokens", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L270", "weight": 1.0}, {"source": "tokens_rationale_282", "target": "tokens_asynctokens_create", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L282", "weight": 1.0}, {"source": "tokens_rationale_237", "target": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L237", "weight": 1.0}, {"source": "tokens_rationale_332", "target": "backend_venv_lib_python3_12_site_packages_google_genai_tokens_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L332", "weight": 1.0}], "raw_calls": [{"caller_nid": "tokens_get_field_masks", "callee": "items", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L33"}, {"caller_nid": "tokens_get_field_masks", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L35"}, {"caller_nid": "tokens_get_field_masks", "callee": "keys", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L36"}, {"caller_nid": "tokens_get_field_masks", "callee": "extend", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L39"}, {"caller_nid": "tokens_get_field_masks", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L41"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L49"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L50"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L53"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L59"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L60"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L61"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L63"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L70"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L71"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L73"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "pop", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L77"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L80"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "keys", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L83"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "model_dump", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L83"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "GenerationConfig", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L83"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L89"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L93"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "pop", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L99"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L101"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L102"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "pop", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L106"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L107"}, {"caller_nid": "tokens_convert_bidi_setup_to_token_setup", "callee": "pop", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L108"}, {"caller_nid": "tokens_create", "callee": "CreateAuthTokenParameters", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L215"}, {"caller_nid": "tokens_create", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L220"}, {"caller_nid": "tokens_create", "callee": "_CreateAuthTokenParameters_to_mldev", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L224"}, {"caller_nid": "tokens_create", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L228"}, {"caller_nid": "tokens_create", "callee": "format_map", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L230"}, {"caller_nid": "tokens_create", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L234"}, {"caller_nid": "tokens_create", "callee": "urlencode", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L236"}, {"caller_nid": "tokens_create", "callee": "pop", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L239"}, {"caller_nid": "tokens_create", "callee": "convert_to_dict", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L254"}, {"caller_nid": "tokens_create", "callee": "encode_unserializable_types", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L255"}, {"caller_nid": "tokens_create", "callee": "request", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L257"}, {"caller_nid": "tokens_create", "callee": "loads", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L260"}, {"caller_nid": "tokens_create", "callee": "_from_response", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L262"}, {"caller_nid": "tokens_create", "callee": "model_dump", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L263"}, {"caller_nid": "tokens_create", "callee": "_verify_response", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L265"}, {"caller_nid": "tokens_create", "callee": "CreateAuthTokenParameters", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L309"}, {"caller_nid": "tokens_create", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L315"}, {"caller_nid": "tokens_create", "callee": "_CreateAuthTokenParameters_to_mldev", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L319"}, {"caller_nid": "tokens_create", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L323"}, {"caller_nid": "tokens_create", "callee": "format_map", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L325"}, {"caller_nid": "tokens_create", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L329"}, {"caller_nid": "tokens_create", "callee": "urlencode", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L331"}, {"caller_nid": "tokens_create", "callee": "pop", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L333"}, {"caller_nid": "tokens_create", "callee": "convert_to_dict", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L347"}, {"caller_nid": "tokens_create", "callee": "encode_unserializable_types", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L348"}, {"caller_nid": "tokens_create", "callee": "async_request", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L350"}, {"caller_nid": "tokens_create", "callee": "loads", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L356"}, {"caller_nid": "tokens_create", "callee": "_from_response", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L358"}, {"caller_nid": "tokens_create", "callee": "model_dump", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L359"}, {"caller_nid": "tokens_create", "callee": "_verify_response", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tokens.py", "source_location": "L361"}]} |