Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for ser_json_bytes (0.06 seconds)

  1. fastapi/_compat/v2.py

        def bytes_schema(self, schema: CoreSchema) -> JsonSchemaValue:
            json_schema = {"type": "string", "contentMediaType": "application/octet-stream"}
            bytes_mode = (
                self._config.ser_json_bytes
                if self.mode == "serialization"
                else self._config.val_json_bytes
            )
            if bytes_mode == "base64":
                json_schema["contentEncoding"] = "base64"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 16.7K bytes
    - Click Count (0)
Back to Top