File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- from typing import Optional
1+ from typing import List , Optional
22
33import pytest
44from aiohttp import web
@@ -98,7 +98,7 @@ async def test_multiple(
9898 my_app : web .Application ,
9999 aiohttp_client : ClientGenerator ,
100100):
101- async def handler (my_header : list [int ] = Depends (Header (multiple = True ))):
101+ async def handler (my_header : List [int ] = Depends (Header (multiple = True ))):
102102 return web .json_response ({"header" : my_header })
103103
104104 my_app .router .add_get ("/" , handler )
Original file line number Diff line number Diff line change 1- from typing import Optional
1+ from typing import List , Optional
22
33import pytest
44from aiohttp import web
@@ -98,7 +98,7 @@ async def test_multiple(
9898 my_app : web .Application ,
9999 aiohttp_client : ClientGenerator ,
100100):
101- async def handler (my_query : list [int ] = Depends (Query (multiple = True ))):
101+ async def handler (my_query : List [int ] = Depends (Query (multiple = True ))):
102102 return web .json_response ({"query" : my_query })
103103
104104 my_app .router .add_get ("/" , handler )
You can’t perform that action at this time.
0 commit comments