Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/google/adk-python
/ exists
Method
exists
tests/unittests/evaluation/mock_gcs_utils.py:77–79 ·
view source on GitHub ↗
Mocks checking if the blob exists.
(self)
Source
from the content-addressed store, hash-verified
75
self._exists = False
76
77
def
exists(self) -> bool:
78
""
"Mocks checking if the blob exists."
""
79
return
self._exists
80
81
82
class
MockBucket:
Callers
15
load_env_for_tests
Function · 0.45
get_test_files
Function · 0.45
test_rename_trajectory_to_conversation_id
Function · 0.45
test_sqlite_session_service_accepts_sqlite_urls
Function · 0.45
test_sqlite_session_service_accepts_absolute_sqlite_urls
Function · 0.45
test_export_single_span_returns_success
Function · 0.45
test_write_files_blocks_relative_traversal
Function · 0.45
test_write_files_blocks_absolute_outside_root
Function · 0.45
test_delete_files_blocks_relative_traversal
Function · 0.45
test_builder_final_save_preserves_files_and_cleans_tmp
Function · 0.45
test_builder_save_rejects_cross_origin_post
Function · 0.45
test_builder_cancel_deletes_tmp_idempotent
Function · 0.45
Calls
no outgoing calls
Tested by
15
load_env_for_tests
Function · 0.36
get_test_files
Function · 0.36
test_rename_trajectory_to_conversation_id
Function · 0.36
test_sqlite_session_service_accepts_sqlite_urls
Function · 0.36
test_sqlite_session_service_accepts_absolute_sqlite_urls
Function · 0.36
test_export_single_span_returns_success
Function · 0.36
test_write_files_blocks_relative_traversal
Function · 0.36
test_write_files_blocks_absolute_outside_root
Function · 0.36
test_delete_files_blocks_relative_traversal
Function · 0.36
test_builder_final_save_preserves_files_and_cleans_tmp
Function · 0.36
test_builder_save_rejects_cross_origin_post
Function · 0.36
test_builder_cancel_deletes_tmp_idempotent
Function · 0.36