mirror of
https://github.com/clearml/clearml
synced 2025-02-01 01:26:49 +00:00
Allow Monitor.get_query_parameters to override defaults
This commit is contained in:
parent
a06fcfef17
commit
0366b3d3df
@ -91,15 +91,14 @@ class Monitor(object):
|
||||
timestamp = time()
|
||||
try:
|
||||
# retrieve experiments orders by last update time
|
||||
task_filter = self.get_query_parameters()
|
||||
task_filter.update(
|
||||
{
|
||||
'page_size': 100,
|
||||
'page': 0,
|
||||
'status_changed': ['>{}'.format(datetime.utcfromtimestamp(previous_timestamp)), ],
|
||||
'project': self._get_projects_ids(),
|
||||
}
|
||||
)
|
||||
task_filter = {
|
||||
'page_size': 100,
|
||||
'page': 0,
|
||||
'status_changed': ['>{}'.format(datetime.utcfromtimestamp(previous_timestamp)), ],
|
||||
'project': self._get_projects_ids(),
|
||||
}
|
||||
task_filter.update(self.get_query_parameters())
|
||||
|
||||
queried_tasks = Task.get_tasks(task_name=self._task_name_filter, task_filter=task_filter)
|
||||
except Exception as ex:
|
||||
# do not update the previous timestamp
|
||||
|
Loading…
Reference in New Issue
Block a user