mirror of
				https://github.com/clearml/clearml-server
				synced 2025-06-26 23:15:47 +00:00 
			
		
		
		
	Add created to the range fields for tasks
This commit is contained in:
		
							parent
							
								
									fd46f3c6f3
								
							
						
					
					
						commit
						cfcad6300a
					
				@ -242,7 +242,7 @@ class HistoryDebugImageIterator:
 | 
			
		||||
        ]
 | 
			
		||||
        es_req = {
 | 
			
		||||
            "size": 1,
 | 
			
		||||
            "sort": [{"iter": order}, {"metric": order}, {"variant": order}],
 | 
			
		||||
            "sort": [{"iter": order}, {"metric": order}, {"variant": order}, {"url": "desc"}],
 | 
			
		||||
            "query": {"bool": {"must": must_conditions}},
 | 
			
		||||
        }
 | 
			
		||||
        es_res = search_company_events(
 | 
			
		||||
@ -338,7 +338,7 @@ class HistoryDebugImageIterator:
 | 
			
		||||
 | 
			
		||||
            es_req = {
 | 
			
		||||
                "size": 1,
 | 
			
		||||
                "sort": {"iter": "desc"},
 | 
			
		||||
                "sort": [{"iter": "desc"}, {"url": "desc"}],
 | 
			
		||||
                "query": {"bool": {"must": must_conditions}},
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -233,7 +233,7 @@ class Task(AttributedDocument):
 | 
			
		||||
            "execution.queue",
 | 
			
		||||
            "models.input.model",
 | 
			
		||||
        ),
 | 
			
		||||
        range_fields=("started", "active_duration", "last_metrics.*", "last_iteration"),
 | 
			
		||||
        range_fields=("created", "started", "active_duration", "last_metrics.*", "last_iteration"),
 | 
			
		||||
        datetime_fields=("status_changed", "last_update"),
 | 
			
		||||
        pattern_fields=("name", "comment", "report"),
 | 
			
		||||
        fields=("runtime.*",),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user