Update version 1.8.1

This commit is contained in:
Vincent Maillol
2021-03-27 12:34:39 +01:00
parent 145d2fc0f2
commit 7492af5acf
3 changed files with 7 additions and 4 deletions

View File

@@ -137,8 +137,11 @@ the List type
.. code-block:: python3
from typing import List
from pydantic import Field
class AccountView(PydanticView):
async def get(self, tags: List[str] = []):
async def get(self, tags: List[str] = Field(default_factory=list)):
...
app = web.Application()