howler-api 2.13.0.dev332__py3-none-any.whl → 2.13.0.dev341__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of howler-api might be problematic. Click here for more details.

howler/odm/models/lead.py CHANGED
@@ -2,18 +2,9 @@
2
2
  from typing import Optional
3
3
 
4
4
  from howler import odm
5
- from howler.odm.howler_enum import HowlerEnum
6
5
  from howler.odm.models.localized_label import LocalizedLabel
7
6
 
8
7
 
9
- class Formats(str, HowlerEnum):
10
- BOREALIS = "borealis"
11
- MARKDOWN = "markdown"
12
-
13
- def __str__(self) -> str:
14
- return self.value
15
-
16
-
17
8
  @odm.model(
18
9
  index=False,
19
10
  store=True,
@@ -24,7 +15,7 @@ class Lead(odm.Model):
24
15
  description="An optional icon to use in the tab display for this dossier.", optional=True
25
16
  )
26
17
  label: LocalizedLabel = odm.Compound(LocalizedLabel, description="Labels for the lead in the UI.")
27
- format: str = odm.Enum(values=Formats, description="The format of the lead. ")
18
+ format: str = odm.Keyword(description="The format of the lead.")
28
19
  content: str = odm.Text(
29
20
  description="The data for the content. Could be a link, raw markdown text, or other valid lead format.",
30
21
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: howler-api
3
- Version: 2.13.0.dev332
3
+ Version: 2.13.0.dev341
4
4
  Summary: Howler - API server
5
5
  License: MIT
6
6
  Keywords: howler,alerting,gc,canada,cse-cst,cse,cst,cyber,cccs
@@ -140,7 +140,7 @@ howler/odm/models/ecs/vulnerability.py,sha256=iX2TUmCZTJjwyMcOmxiHg-pfoEwX8Wx-h8
140
140
  howler/odm/models/gcp.py,sha256=FLwaQVcfFeE5AbIhEB_Ge2UL-HjPdldY04Nrm9Mq7kk,675
141
141
  howler/odm/models/hit.py,sha256=kgzk3RzgKGvHdtNG0iMRxCtLPD73-BFFU9A_IxJcOHI,13396
142
142
  howler/odm/models/howler_data.py,sha256=3bzKQ_vSP_rK20S_U4PkXzsmBL1uqSaIOHZmoPuRkS8,12473
143
- howler/odm/models/lead.py,sha256=QDzX0IdSWRZgBBNtHAyXMaOJa7bP41CDYQWN_vadkV4,1107
143
+ howler/odm/models/lead.py,sha256=lqapGWZ4u22Asib48o7wAzramnFY9EkRybmb4olsyrA,904
144
144
  howler/odm/models/localized_label.py,sha256=G7gfQ1cngiI4KprqldHWE1KHkAgK4AG_JsfHxVRdsRs,361
145
145
  howler/odm/models/overview.py,sha256=kvZcMYPDlkJEGa0L1jq9pG0RFjLOVudC64-2GTWVu2w,684
146
146
  howler/odm/models/pivot.py,sha256=VLZl5DHnLfmCM2ZU5sAye0qu18toCaFcYLYraXct2GM,1398
@@ -194,7 +194,7 @@ howler/utils/path.py,sha256=DfOU4i4zSs4wchHoE8iE7aWVLkTxiC_JRGepF2hBYBk,690
194
194
  howler/utils/socket_utils.py,sha256=nz1SklC9xBHUSfHyTJjpq3mbozX1GDf01WzdGxfaUII,2212
195
195
  howler/utils/str_utils.py,sha256=HE8Hqh2HlOLaj16w0H9zKOyDJLp-f1LQ50y_WeGZaEk,8389
196
196
  howler/utils/uid.py,sha256=p9dsqyvZ-lpiAuzZWCPCeEM99kdk0Ly9czf04HNdSuw,1341
197
- howler_api-2.13.0.dev332.dist-info/METADATA,sha256=hvBwPOBT37W4CKYSMyisUAtKQ5HQajbISIfm7_8-sRU,2805
198
- howler_api-2.13.0.dev332.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
199
- howler_api-2.13.0.dev332.dist-info/entry_points.txt,sha256=Lu9SBGvwe0wczJHmc-RudC24lmQk7tv3ZBXon9RIihg,259
200
- howler_api-2.13.0.dev332.dist-info/RECORD,,
197
+ howler_api-2.13.0.dev341.dist-info/METADATA,sha256=cux4ZHkfTdsGSV37O9Me-4EB98FVXSCF3_SXsMGMdVA,2805
198
+ howler_api-2.13.0.dev341.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
199
+ howler_api-2.13.0.dev341.dist-info/entry_points.txt,sha256=Lu9SBGvwe0wczJHmc-RudC24lmQk7tv3ZBXon9RIihg,259
200
+ howler_api-2.13.0.dev341.dist-info/RECORD,,