Coverage for functions \ flipdare \ generated \ schema \ email \ body \ admin \ cron_email_schema.py: 100%
0 statements
« prev ^ index » next coverage.py v7.13.0, created at 2026-05-08 12:22 +1000
« prev ^ index » next coverage.py v7.13.0, created at 2026-05-08 12:22 +1000
1#!/usr/bin/env python
2#
3# Copyright (c) 2026 Flipdare Pty Ltd. All rights reserved.
4#
5# This file is part of Flipdare's proprietary software and contains
6# confidential and copyrighted material. Unauthorised copying,
7# modification, distribution, or use of this file is strictly
8# prohibited without prior written permission from Flipdare Pty Ltd.
9#
10# This software includes third-party components licensed under MIT,
11# BSD, and Apache 2.0 licences. See THIRD_PARTY_NOTICES for details.
12#
13# NOTE: THIS FILE IS AUTO GENERATED. DO NOT EDIT.
14#
15# Generated by codegen_models.py
16#
17# Modify 'codegen_models.py'
18# and re-run the script above to update.
19#
21# pragma: no cover
24from typing import TypedDict, NotRequired
25from flipdare.generated.shared.backend.app_job_type import AppJobType
26from enum import StrEnum
29class CronEmailKey(StrEnum):
30 CRON_DATE = "cron_date"
31 JOB_TYPE = "job_type"
32 MESSAGE = "message"
33 PRIORITY = "priority"
34 ERROR = "error"
35 TEXT_REPORT = "text_report"
36 HTML_REPORT = "html_report"
39class CronEmailSchema(TypedDict):
40 """cron email schema."""
42 cron_date: str
43 job_type: AppJobType
44 message: str
45 priority: str
46 error: NotRequired[str]
47 text_report: NotRequired[str]
48 html_report: NotRequired[str]