* Fix AttributeError when event_date is None in fact_extraction `_extract_facts_from_chunk` crashes with `'NoneType' object has no attribute 'isoformat'` when retaining documents without a timestamp. Two locations fixed: - Line 1058: debug log called `event_date.isoformat()` without a None check - Line 921: `parse_datetime_flexible()` can return None, so re-check before calling `.strftime()` / `.isoformat()` Fixes #874 * Revert unnecessary None guard on line 921 The original `if event_date is not None:` already guards that block. Only line 1058 needed the fix. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| bank_utils.py | ||
| chunk_storage.py | ||
| embedding_processing.py | ||
| embedding_utils.py | ||
| entity_labels.py | ||
| entity_processing.py | ||
| fact_extraction.py | ||
| fact_storage.py | ||
| link_creation.py | ||
| link_utils.py | ||
| orchestrator.py | ||
| types.py | ||