feat: Enhance CSV cleaning service with new endpoints for CSV analysis and preview functionality. Introduce support for job management linked to extraction batches, and update the cleaning rules structure. Add new utility functions for handling CSV data and improve documentation for clarity on usage and available endpoints.
This commit is contained in:
@@ -66,7 +66,13 @@ def _client() -> httpx.AsyncClient:
|
||||
|
||||
|
||||
def _is_upload_path(path: str) -> bool:
|
||||
return path.startswith("/count/") or "/ingest" in path or "/upload" in path
|
||||
return (
|
||||
path.startswith("/count/")
|
||||
or "/ingest" in path
|
||||
or "/upload" in path
|
||||
or path.startswith("/cleaning/analyze-csv")
|
||||
or path.startswith("/cleaning/jobs/from-csv")
|
||||
)
|
||||
|
||||
|
||||
def _timeout_for_path(path: str) -> httpx.Timeout:
|
||||
|
||||
Reference in New Issue
Block a user