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 <http://www.gnu.org/licenses/>.
from typing import List
from typing import Optional
from typing import Dict
import hashlib
......@@ -307,7 +308,7 @@ class AvatarData:
@dataclass
class AvatarMetaData:
infos: List[AvatarInfo] = field(default_factory=list)
default: AvatarInfo = None
default: Optional[str] = None
@classmethod
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