-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add redirect field to Python operations #319
Comments
@cka-y Looks like the test is validating for a string value, when redirect is a number: 4b71837#diff-92300112b36301d0886c9786601b64e36393c1ae3dd25102b2ce3af4cfb72795. |
Indeed! had to change it to number because of preexisting feeds but forgot to update the tests. |
@cka-y Looks like this is breaking Fred's script:
Are the operations not set up to take the redirect as an optional field? The script run we did last night had 0 redirect fields populated. |
What problem is your feature request trying to solve?
In #309, redirect was added to the schema and CSV, but not the Python operations. That means right now, if I want to add redirect and still generate the right bounding box I need to
Add a feed via the add_gtfs_schedule_source or add_gtfs_realtime_source operations
Push PR
Modify JSON to include redirect directly
Update PR
rather than add all fields through the operations.
Describe the solution you'd like
Include redirect in Python operations, to add and update gtfs schedule and gtfs realtime feeds.
Include redirect object in schema in README
The text was updated successfully, but these errors were encountered: