Skip to content
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

Closed
evamaxfield opened this issue May 24, 2021 · 0 comments · Fixed by #89
Closed

Add script for processing local file #57

evamaxfield opened this issue May 24, 2021 · 0 comments · Fixed by #89
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Projects

Comments

@evamaxfield
Copy link
Member

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

@evamaxfield evamaxfield added enhancement New feature or request good first issue Good for newcomers labels May 24, 2021
@evamaxfield evamaxfield self-assigned this Jun 6, 2021
@sarahjliu sarahjliu added this to To do in v3.0 Jul 10, 2021
@isaacna isaacna self-assigned this Aug 2, 2021
@evamaxfield evamaxfield moved this from Ready for Dev to In progress in v3.0 Aug 11, 2021
@evamaxfield evamaxfield removed their assignment Aug 14, 2021
v3.0 automation moved this from In progress to Done Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
No open projects
v3.0
Done
Development

Successfully merging a pull request may close this issue.

2 participants