Coverage for functions \ flipdare \ generated \ schema \ report \ flag_report_schema.py: 100%

0 statements  

« 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# 

20 

21# pragma: no cover 

22 

23 

24from typing import TypedDict 

25from enum import StrEnum 

26 

27 

28class FlagReportKey(StrEnum): 

29 FROM_UID = "from_uid" 

30 TO_UID = "to_uid" 

31 IN_DANGER = "in_danger" 

32 FLAG_TYPE = "flag_type" 

33 PROGRESS = "progress" 

34 DISPUTED_PROGRESS = "disputed_progress" 

35 DESCRIPTION = "description" 

36 BACKEND_LINK = "backend_link" 

37 OBJ_ID = "obj_id" 

38 BACKEND_OBJ_LINK = "backend_obj_link" 

39 CREATED_AT = "created_at" 

40 UPDATED_AT = "updated_at" 

41 

42 

43class FlagReportSchema(TypedDict): 

44 """Flag Report Schema""" 

45 

46 from_uid: str 

47 to_uid: str 

48 in_danger: str 

49 flag_type: str 

50 progress: str 

51 disputed_progress: str 

52 description: str 

53 backend_link: str 

54 obj_id: str 

55 backend_obj_link: str 

56 created_at: str 

57 updated_at: str