Skip to content

Commit

Permalink
fix: unify handling of empty values in index
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-20 committed Oct 24, 2024
1 parent 9b53334 commit e3e8a7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "bulk-data-service"
version = "0.0.1"
version = "0.2.0"
requires-python = ">= 3.12"
readme = "README.md"
dependencies = [
Expand Down
4 changes: 2 additions & 2 deletions src/bulk_data_service/dataset_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ def get_index_entry(context: dict, dataset: dict, index_type: str) -> dict[str,
else:
dataset_index_entry = get_full_index_entry_from_dataset(context, dataset)

dataset_index_entry["url_xml"] = ""
dataset_index_entry["url_zip"] = ""
dataset_index_entry["url_xml"] = None
dataset_index_entry["url_zip"] = None

if dataset_index_entry["last_successful_download"] is not None:
dataset_index_entry["url_xml"] = get_azure_blob_public_url(context, dataset, "xml")
Expand Down

0 comments on commit e3e8a7b

Please sign in to comment.