File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 9
9
class Drilldown (BaseModel ):
10
10
name : str = Field (..., description = "The name of the drilldown search" , min_length = 5 )
11
11
search : str = Field (..., description = "The text of a drilldown search. This must be valid SPL." , min_length = 1 )
12
- earliest_offset :str = Field (default = "$info_min_time$" , description = "Earliest offset time for the drilldown search" , min_length = 1 )
13
- latest_offset :str = Field (default = "$info_max_time$" , description = "Latest offset time for the driolldown search" , min_length = 1 )
12
+ earliest_offset :str = Field (...,
13
+ description = "Earliest offset time for the drilldown search. "
14
+ "The most common value for this field is '$info_min_time$', "
15
+ "but it is NOT the default value and must be supplied explicitly." ,
16
+ min_length = 1 )
17
+ latest_offset :str = Field (...,
18
+ description = "Latest offset time for the driolldown search. "
19
+ "The most common value for this field is '$info_max_time$', "
20
+ "but it is NOT the default value and must be supplied explicitly." ,
21
+ min_length = 1 )
14
22
15
23
@classmethod
16
24
def constructDrilldownFromDetection (cls , detection : Detection ) -> Drilldown :
You can’t perform that action at this time.
0 commit comments