Skip to content

8 integrate LiDO and SPARQL endpoint for metadata extraction#9

Merged
shashankmc merged 28 commits into
developfrom
8-integrate-sparql-endpoint-for-metadata-extraction
May 18, 2026
Merged

8 integrate LiDO and SPARQL endpoint for metadata extraction#9
shashankmc merged 28 commits into
developfrom
8-integrate-sparql-endpoint-for-metadata-extraction

Conversation

@shashankmc

Copy link
Copy Markdown
Member

No description provided.

shashankmc and others added 28 commits March 24, 2026 12:35
Co-authored-by: Copilot <copilot@github.com>
…SE_DELAY_SECONDS

Exponential backoff (1s, 2s) in extract_data_from_xml before retrying
Fixed logging levels: exhausted retries → WARNING, unexpected exceptions → ERROR/WARNING
Extracted _fetch_metadata_for_ecli_list() + _api_fetch() to replace ~80 lines duplicated verbatim in _process_single_source and _process_all_files_in_directory
Removed unused batch_size parameter from all three function signatures
multi_threading is now functional: wired through to _api_fetch, which chooses between thread pool and sequential execution
All failure paths return None (not False) — consistent with get_rechtspraak(); return type updated to Optional[pd.DataFrame]
… mock_api_response; ensure_data_directories centralised here
…n_entry, check_api, _num_of_available_docs, get_exe_time, read_csv, save_csv, error paths of get_rechtspraak
…TTP errors), process_metadata_fields, get_data_from_api, fetch_eclis_via_sqlite, and get_rechtspraak_metadata input validation
…lite and test_fetch_eclis_via_sqlite_with_full_columns merged into one parametrized test; smoke tests strengthened with real assertions; stale is False assertions updated to is None

Co-authored-by: Copilot <copilot@github.com>
…scriptions for get_rechtspraak_metadata and fetch_eclis_via_sqlite functions
@shashankmc shashankmc merged commit c5b5a74 into develop May 18, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant