perf: optimize reconciliation candidate lookup
This commit is contained in:
@@ -77,7 +77,6 @@ def integration_settings_summary() -> Dict[str, Dict[str, Any]]:
|
||||
}
|
||||
|
||||
def get_operation_links(opportunity_id: str) -> List[Dict[str, Any]]:
|
||||
ensure_operation_schema()
|
||||
with engine.begin() as conn:
|
||||
rows = conn.execute(text("""
|
||||
SELECT id::text, opportunity_id::text, system, external_type, external_id, external_name, external_url, status, payload, last_synced_at, created_at, updated_at
|
||||
|
||||
Reference in New Issue
Block a user