-
Notifications
You must be signed in to change notification settings - Fork 26
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 script for processing local file #57
Labels
Projects
Comments
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use Case
Please provide a use case to help us understand your request in context
To process the various one-off events that occur, for example, I just started processing the 2021 election events for Seattle.
Solution
Please describe your ideal solution
I wrote a tiny script to do this in
cdptools
that takes a local file + some JSON file for the event / minutes details (the questions asked at the forum), uploads the video to Google storage then processes that uploaded file with the config JSON for event details.In
cdp-backend
this is actually easier because all the ingestion models are seriabliable to JSON iirc.dataclasses_json
.So that would mean a user simply has to write the object in Python and serialize or just in pure JSON, then have a script accept the serialized ingestion model + the video path.
Alternatives
Please describe any alternatives you've considered, even if you've dismissed them
The text was updated successfully, but these errors were encountered: