Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AstrBotDevs/AstrBot
/ save
Method
save
tests/unit/test_cua_computer_use.py:1691–1693 ·
view source on GitHub ↗
(self, output, format)
Source
from the content-addressed store, hash-verified
1689
1690
class
SaveObject:
1691
def
save(self, output, format):
1692
assert format ==
"PNG"
1693
output.write(_PNG_BYTES)
1694
1695
class
FakeSandbox:
1696
async
def
screenshot(self):
Callers
15
test_file_read_tool_returns_image_call_tool_result_for_images
Function · 0.45
test_preprocess_preserves_image_formats_and_tracks_temp_files
Function · 0.45
test_preprocess_path_mapping_accepts_file_uri
Function · 0.45
test_image_from_base64_uses_detected_image_suffix
Function · 0.45
test_http_image_without_suffix_uses_detected_image_suffix
Function · 0.45
test_resolve_image_ref_to_base64_data_detects_png
Function · 0.45
test_detect_image_mime_type_accepts_path
Function · 0.45
test_resolve_image_ref_to_base64_data_decodes_data_uri
Function · 0.45
test_ensure_jpeg_converts_png_to_temp_jpg
Function · 0.45
test_ensure_jpeg_keeps_alpha_png
Function · 0.45
test_ensure_jpeg_keeps_animated_gif
Function · 0.45
test_ensure_jpeg_keeps_existing_jpg
Function · 0.45
Calls
1
write
Method · 0.45
Tested by
no test coverage detected