Sanchoyzer
Sanchoyzer
Python 3.7 Fastapi and fastapi-utils the latest Ubuntu 18.04 It seems that `InferringRouter` create `response_model` in case when this model has not expected Example, this code is ok: ``` from...
Added the ability to validate the response using schemas
Some fields are missing from `__apispec__["responses"]` The code for test: ``` class ResponseSchema(Schema): msg = fields.Str() data = fields.Dict() @pytest.fixture() def aiohttp_app(loop, aiohttp_client, request): @response_schema(ResponseSchema, 200, description="GET") async def handler_get(request):...
It seems that the plugin doesn't fully support the `Callable` type for duplicate fixture detection. For all fixtures with `Callable` return type, the plugin displays a warning that there are...
Hey. I'm trying to create a pin via API. It works well for my user, but I also want to be able to create pins for my business account. I've...
I've found a bad side effect of using `aioresponses`: it tries to mock all requests (not just those with rules written). For example: ``` python 3.12 aioresponses==0.7.6 pytest==8.2.1 pytest-asyncio==0.23.7 ```...
**Version**: `redis==5.0.4, mypy==1.10.0` **Platform**: `Python 3.12 on Ubuntu 23.10` **Description**: For some reasons, `mypy` shows the incompatible types error for the `expiretime` command in the async case, but this code...
* Faker version: 27.0.0 * OS: Ubuntu 23.10 Unequal distribution of `pydecimal` function values for parameters of different signs ### Steps to reproduce Code: ```python from collections import defaultdict from...
# Summary I would like to suggest adding a little syntax sugar. It might be more convenient to use `response.content_type` instead of `response.headers.get("Content-Type")`. I hope I haven't forgotten any places...