IdentityAndVideoMeta
- class lib.align.updater.IdentityAndVideoMeta(alignments: dict[str, Any], version: float)
Bases:
_UpdaterPrior to version 2.3 the identity key did not exist and the video_meta key was not compulsory. These should now both always appear, but do not need to be populated.
Attributes Summary
Trueif this updater has been run otherwiseFalseMethods Summary
test()Identity Key was introduced in alignments version 2.3
update()Add the video_meta and identity keys to the alignment file and leave empty
Attributes Documentation
- Parameters:
alignments (dict[str, T.Any])
version (float)
- is_updated
Trueif this updater has been run otherwiseFalse
Methods Documentation
- test() bool
Identity Key was introduced in alignments version 2.3
- Return type:
Trueidentity key needs inserting otherwiseFalse
- update() int
Add the video_meta and identity keys to the alignment file and leave empty
- Return type:
The number of keys inserted
- test() bool
Identity Key was introduced in alignments version 2.3
- Return type:
Trueidentity key needs inserting otherwiseFalse
- update() int
Add the video_meta and identity keys to the alignment file and leave empty
- Return type:
The number of keys inserted