(self, content: Any)
| 92 | """ |
| 93 | |
| 94 | def render(self, content: Any) -> bytes: |
| 95 | assert orjson is not None, "orjson must be installed to use ORJSONResponse" |
| 96 | return orjson.dumps( |
| 97 | content, option=orjson.OPT_NON_STR_KEYS | orjson.OPT_SERIALIZE_NUMPY |
| 98 | ) |