(data_base64: str)
| 405 | return base64.b64encode(data).decode("utf-8") |
| 406 | |
| 407 | def decode_file_base64(data_base64: str) -> bytes: |
| 408 | return base64.b64decode(data_base64) |
| 409 | |
| 410 | def make_file_url(file_path: str) -> str: |
| 411 | mime_type, _ = mimetypes.guess_type(file_path) |
no outgoing calls
no test coverage detected