develop #41
1 changed files with 0 additions and 4 deletions
get rid of circular import
commit
ac3eb272ad
|
|
@ -6,7 +6,6 @@ import numpy as np
|
|||
from .input.implementations import codes
|
||||
from .tools import k2m, get_db_file
|
||||
from .tracker import get
|
||||
from .integrity import has_valid_times
|
||||
from .sql import thin_sql_wrapper
|
||||
from typing import Any, Optional
|
||||
from pathlib import Path
|
||||
|
|
@ -83,9 +82,6 @@ def _time_filter(results: pd.DataFrame, created_before: Optional[str]=None, cre
|
|||
result = results.iloc[ind]
|
||||
created_at = dt.datetime.fromisoformat(result['created_at'])
|
||||
updated_at = dt.datetime.fromisoformat(result['updated_at'])
|
||||
db_times_valid = has_valid_times(result)
|
||||
if not db_times_valid:
|
||||
raise ValueError('Time stamps not valid for result with path', result["path"])
|
||||
|
||||
if created_before is not None:
|
||||
date_created_before = dt.datetime.fromisoformat(created_before)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue