mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-19 20:14:17 +02:00
* Added to_data_uri method and path_to_data_uri classmethod for Image class. * Removed path_to_data_uri classmethod and modified _get_mime_type to use mimetypes.guess_type function instead of hardcoded dictionary. * Register image/webp with mimetypes before guess_type to support WEBP mimetype detection on Python 3.10. * Improved branch coverage for Image.to_data_uri. * Added Image._to_data_uri example in the docs. |
||
|---|---|---|
| .. | ||
| openapi | ||
| __init__.py | ||
| test_cli.py | ||
| test_components.py | ||
| test_inspect.py | ||
| test_json_schema.py | ||
| test_json_schema_type.py | ||
| test_logging.py | ||
| test_tests.py | ||
| test_typeadapter.py | ||
| test_types.py | ||