Commit 7efb7ef5 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

cq: UserAvatar: Fix annotation

parent 1e32ee81
Pipeline #10975 passed with stages
in 42 seconds
......@@ -16,6 +16,7 @@
# along with this program; If not, see <>.
from typing import List
from typing import Optional
from typing import Dict
import hashlib
......@@ -307,7 +308,7 @@ class AvatarData:
class AvatarMetaData:
infos: List[AvatarInfo] = field(default_factory=list)
default: AvatarInfo = None
default: Optional[str] = None
def from_node(cls, node, default=None):
Supports Markdown
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