-
Notifications
You must be signed in to change notification settings - Fork 1
filetype remote is not set for extra resources #250
Comments
Oh, seems true. It appears that filetype is also never set in DCAT harvesting: https://github.com/opendatateam/udata/blob/6f56467fc36fd54cf9ef7fec1fb4954f89141adc/udata/core/dataset/rdf.py#L393. |
right, I'm not sure either. This unfortunately caused a bug on our side because we handle remote/file differently in a few places so that's how I found it |
Sorry for the delay. A fix is prepared for DCAT harvester (that should be used by ODS shortly): opendatateam/udata#2931 |
@maudetes Thanks!
Could you share an expected release date in production when you will know it? |
We're currently targeting the end of next week! |
udata-ods/udata_ods/harvesters.py
Line 207 in d026b91
in this method, the filetype is not set which means that exports coming from ODS get assigned the wrong filetype (
file
).On ODS: https://twisto.opendatasoft.com/explore/dataset/fichier-gtfs-du-reseau-twisto/export/
data.gouv.fr's API: https://www.data.gouv.fr/api/1/datasets/caen-la-mer-reseau-twisto-gtfs-siri/ resource ID is
"291b778a-2c1f-43c5-a3fd-7e804ec01fbf"
The text was updated successfully, but these errors were encountered: