8 integrate LiDO and SPARQL endpoint for metadata extraction#9
Merged
shashankmc merged 28 commits intoMay 18, 2026
Merged
Conversation
Co-authored-by: Copilot <copilot@github.com>
…f the 3-line xmltodict/json round-trip
…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
…pes for consistency
…via_sqlite tests for consistency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.