Commit 9c300d74 authored by Christophe Benz's avatar Christophe Benz
Browse files

Use None default value to keep type valid

parent 69ab0b10
......@@ -25,7 +25,7 @@ class Catalog(BaseModel):
class Section(BaseModel):
name: str
title: str
description: Optional[str] = ""
description: Optional[str] = None
catalog: Optional[Union[HttpUrl, Catalog]] = None
links: Optional[List[ExternalLink]] = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment