Oleg Korsak
Oleg Korsak
from the same link: NOTE: VC4CL will NOT work with Raspberry Pi 4, since it has an incompatible GPU!
pervert request... how about sticking to standard string api and implementing extra stuff in a separate class/whatever? And creating a PR for Python to include your optimizations for standard string
yes, please add support
> Use `ui_version=3` to use open api v3 instead of swagger v2. > > ```python > setup_swagger(app, ui_version=3) > ``` have you tried to use swagger ui after that? It...
Actually with the following code CORS doesn't work even for 2.3.10: ```python for resource in app.router.resources(): cors.add(resource) ```
Route definition: ```python @routes.post('/api/users') async def create_user(request: Request): return web.json_response(status=web.HTTPCreated.status_code) ```
Having following error: ``` CORS preflight request failed: request method 'POST' is not allowed for 'http://example.com' origin ``` with: aiohttp==3.0.9 aiohttp-cors==0.7.0 same code works for aiohttp 2 and aiohttp-cors 0.6.0....
https://github.com/aio-libs/aiohttp-cors/blob/master/aiohttp_cors/urldispatcher_router_adapter.py#L296 Here `resource_config.method_config` is an empty dict. So if not setting default allow_methods to '*' globally - requests do not work with CORS