skinkie / reference

Personal repository where I collect working examples to understand inner workings while building PyNeTExConv
GNU Affero General Public License v3.0
0 stars 1 forks source link

import.py & no feed_info.txt #17

Closed ue71603 closed 2 months ago

ue71603 commented 2 months ago

Either we fill in a line or the import should block. Because it will break during the transform, if this is not there. I did this with a dummy entry. What do you prefer?

skinkie commented 2 months ago

If feed_info is empty it should generate it from the NeTEx side. Hence check the output of the feed_info query, if not exists, at least create a dummy datasource / codespace, if a single agency exists, use that otherwise the first one. The validity computation can be delayed until the calendars have processed.

ue71603 commented 2 months ago

Done in PR #18