Skip to content

Commit 62e81eb

Browse files
authored
Add a constant for the FULL_FRAME_ZONE_NAME ("Screen") (#12)
1 parent e974378 commit 62e81eb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

brainframe/api/bf_codecs/zone_codecs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from collections import Counter
2-
from typing import List, Optional
2+
from typing import ClassVar, List, Optional
33

44
from dataclasses import dataclass, field
55

@@ -11,6 +11,8 @@
1111
@dataclass
1212
class Zone(Codec):
1313
"""The definition for a zone. It is a non-convex polygon or a line."""
14+
FULL_FRAME_ZONE_NAME: ClassVar[str] = "Screen"
15+
"""The name of the default full-frame zone that exists on every stream"""
1416

1517
name: str
1618
"""A friendly name for the zone"""

0 commit comments

Comments
 (0)