Ethon

Results 11 comments of Ethon

`fastapi.get_open_api -> fastapi.get_model_definitions -> pydanic.model_process_schema -> pydantic.model_type_schema` In the `model_type_schema`, it use the `model.__fields__` to generate field definitions. so the `property_field` not in the swagger definitions. The `property_field`'s type is...

The threads is not safe with `SimpleCache`.

add the `orjson` into your deps. `ormar` use `orjson` when it was installed, it serializes str without escaping unicode to ASCII.

> These days I'm trying to profile several of my routes, and I notice that it's not the DB calls that takes the most time, but more what comes after,...

You should use the `rangeGt` `rangeGte` and etc.