Skip to content

Commit

Permalink
chore: correct return return type
Browse files Browse the repository at this point in the history
  • Loading branch information
s-aga-r committed Nov 22, 2024
1 parent 02d5105 commit 65a06ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def get_columns() -> list[dict]:
]


def get_data(filters: dict | None = None) -> list[list]:
def get_data(filters: dict | None = None) -> list[dict]:
filters = filters or {}

OM = frappe.qb.DocType("Outgoing Mail")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from mail_client.utils.user import get_user_mailboxes, has_role, is_system_manager


def execute(filters: dict | None = None) -> tuple[list, list]:
def execute(filters: dict | None = None) -> tuple:
columns = get_columns()
data = get_data(filters)
summary = get_summary(data)
Expand Down Expand Up @@ -123,7 +123,7 @@ def get_columns() -> list[dict]:
]


def get_data(filters: dict | None = None) -> list[list]:
def get_data(filters: dict | None = None) -> list[dict]:
filters = filters or {}

OM = frappe.qb.DocType("Outgoing Mail")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def get_columns() -> list[dict]:
]


def get_data(filters: dict | None = None) -> list[list]:
def get_data(filters: dict | None = None) -> list[dict]:
filters = filters or {}

OM = frappe.qb.DocType("Outgoing Mail")
Expand Down

0 comments on commit 65a06ef

Please sign in to comment.