MCPcopy Create free account
hub / github.com/diffgram/diffgram / update_sequences

Method update_sequences

walrus/methods/input/process_media.py:1358–1373  ·  view source on GitHub ↗

Because we run the annotation updates in parallel it seems cleaner to do an "after" update thing to sequences an alternative is we could pro-actively add the keyframe list when it's first created. But this way we use an "existing" method. Also in

(self)

Source from the content-addressed store, hash-verified

1356 return input
1357
1358 def update_sequences(self):
1359 """
1360 Because we run the annotation updates in parallel
1361 it seems cleaner to do an "after" update thing to sequences
1362
1363 an alternative is we could pro-actively add the keyframe
1364 list when it's first created. But this way we use an
1365 "existing" method.
1366 Also in the future if we expand this to do some other type of update
1367 /work could be useful to run "after".
1368
1369 """
1370 Sequence.update_all_sequences_in_file(
1371 session = self.session,
1372 video_file_id = self.input.parent_file_id,
1373 regenerate_preview_images = True)
1374
1375 def process_one_audio_file(self):
1376 try:

Callers 2

video_status_updatesMethod · 0.95

Calls 1

Tested by

no test coverage detected