Felipe Faria

Results 7 issues of Felipe Faria

This is a very bootleg addition to the project to add a man-in-the-middle attack to allow ProxyBroker to check HTTPS requests and the returned headers. One of the biggest missing...

Fixes #172. Note that the comparison must be done using `type` since `None` is a special typehint case. Python documentation states: > Note that `None` as a type hint is...

While it is implied that a function without a return typehint will return `None` some might choose to explicitly write it in their code. As of right now the following...

bug

This is a problem that arose on [FastAPI#1442](https://github.com/tiangolo/fastapi/issues/1442). In essence, when creating an upload endpoint like the one detailed [here](https://fastapi.tiangolo.com/tutorial/request-files/#import-file), FastAPI automatically generates the schema names for the `UploadFile` (or...

enhancement

Unsure if this will break for some users. If not accepted, I recommend at least creating a new release with version 3 so that users may do: ``` uses: ammaraskar/sphinx-action@v3...

As mentioned [here](https://twitter.com/__felipefaria/status/1263219887343841280), the following will remove the need to use decorators everywhere: ```python import typing class Module(): def __new__(cls, *args, **kwargs): type_hints = typing.get_type_hints(cls) arguments = {} # Takes...

I was wondering if there is a way to effectively get the entire raw response from a `ClientResponse` class. Take the following code for example: ```python async with aiohttp.ClientSession() as...

enhancement