Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sven Eberth <[email protected]>
  • Loading branch information
ArneGudermann and sveneberth authored Dec 21, 2023
1 parent a15c809 commit fccc99f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/viur/core/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@

import requests

from viur.core.skeleton import SkeletonInstance
if t.TYPE_CHECKING:
from viur.core.skeleton import SkeletonInstance
from viur.core import db, utils
from viur.core.config import conf
from viur.core.tasks import CallDeferred, DeleteEntitiesIter, PeriodicTask
Expand Down Expand Up @@ -143,7 +144,7 @@ def normalize_to_list(value: None | t.Any | list[t.Any] | t.Callable[[], list])
def sendEMail(*,
tpl: str = None,
stringTemplate: str = None,
skel: None | dict | SkeletonInstance | list[SkeletonInstance] = None,
skel: t.Union[None, dict, "SkeletonInstance", list["SkeletonInstance"]] = None,
sender: str = None,
dests: str | list[str] = None,
cc: str | list[str] = None,
Expand Down

0 comments on commit fccc99f

Please sign in to comment.