Skip to content
Snippets Groups Projects
Commit 2dd75fa0 authored by Christophe Benz's avatar Christophe Benz
Browse files

Format files

parent 7b979027
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,6 @@ def convert_sdmx_element(element, dataset_json, dataset_context, dsd_infos, seri
# Due to event=end, given to iterparse, we receive <Obs> then <Series> elements, in this order.
if element.tag.endswith("Series"):
# Ignore some specific XML element attributes corresponding to series SDMX attributes,
# because series SDMX attributes do not exist in DBnomics.
series_element_attributes = OrderedDict(
......@@ -173,7 +172,6 @@ def convert_sdmx_element(element, dataset_json, dataset_context, dsd_infos, seri
dataset_context["current_series_observations"] = []
elif element.tag.endswith("Obs"):
# Fill observations attributes labels in dataset.json.
t0 = time.time()
......@@ -214,7 +212,6 @@ def convert_sdmx_element(element, dataset_json, dataset_context, dsd_infos, seri
)
elif element.tag.endswith("Extracted"):
dataset_json["updated_at"] = element.text + "Z" # Assume the value is UTC time.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment