mirror of
https://github.com/iluvcapra/ptulsconv.git
synced 2025-12-31 17:00:46 +00:00
Type annotations
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
from .doc_entity import SessionDescriptor
|
from .doc_entity import SessionDescriptor
|
||||||
from .tagged_string_parser_visitor import parse_tags
|
from .tagged_string_parser_visitor import parse_tags
|
||||||
|
|
||||||
|
from fractions import Fraction
|
||||||
# field_map maps tags in the text export to fields in FMPXMLRESULT
|
# field_map maps tags in the text export to fields in FMPXMLRESULT
|
||||||
# - tuple field 0 is a list of tags, the first tag with contents will be used as source
|
# - tuple field 0 is a list of tags, the first tag with contents will be used as source
|
||||||
# - tuple field 1 is the field in FMPXMLRESULT
|
# - tuple field 1 is the field in FMPXMLRESULT
|
||||||
@@ -42,6 +43,33 @@ adr_field_map = ((['Title', 'PT.Session.Name'], 'Title', str),
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
class ADRLine:
|
||||||
|
title: str
|
||||||
|
supervisor: str
|
||||||
|
client: str
|
||||||
|
scene: str
|
||||||
|
version: str
|
||||||
|
reel: str
|
||||||
|
start: str
|
||||||
|
finish: str
|
||||||
|
priority: int
|
||||||
|
cue_number: str
|
||||||
|
character_id: str
|
||||||
|
prompt: str
|
||||||
|
reason: str
|
||||||
|
requested_by: str
|
||||||
|
note: str
|
||||||
|
spot: str
|
||||||
|
shot: str
|
||||||
|
effort: bool
|
||||||
|
tv: bool
|
||||||
|
tbw: bool
|
||||||
|
omitted: bool
|
||||||
|
adlib: bool
|
||||||
|
optional: bool
|
||||||
|
done: bool
|
||||||
|
|
||||||
|
|
||||||
class ADRDocument:
|
class ADRDocument:
|
||||||
document: SessionDescriptor
|
document: SessionDescriptor
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user