Skip to content

Commit

Permalink
the publisher is not returned by the API for a unasserted snap
Browse files Browse the repository at this point in the history
  • Loading branch information
mwhudson committed Oct 5, 2022
1 parent faf78a1 commit b57139d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subiquity/server/snapdapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import contextlib
import enum
import logging
from typing import List
from typing import List, Optional

from subiquity.common.api.client import make_client
from subiquity.common.api.defs import api, path_parameter, Payload
Expand Down Expand Up @@ -60,10 +60,10 @@ class Snap:
id: str
name: str
status: SnapStatus
publisher: Publisher
version: str
revision: str
channel: str
publisher: Optional[Publisher] = None


class SnapAction(enum.Enum):
Expand Down

0 comments on commit b57139d

Please sign in to comment.