from .base import BaseAnnotationType, BaseAnnotation


class IntervalAnnotation(BaseAnnotation):

    def __init__(self, begin, end):
        self.begin = begin
        self.end = end
        self.midpoint = (end - begin) / 2 + begin


class PointAnnotation(BaseAnnotation):

    def __init__(self, time):
        self.time = time


class IntervalAnnotationType(BaseAnnotationType):
    pass


class PointAnnotationType(BaseAnnotationType):
    pass

36d6785882d850f15f07ab1fb92aab01e76f6acc
<mask token>


class PointAnnotation(BaseAnnotation):
    <mask token>


class IntervalAnnotationType(BaseAnnotationType):
    pass


class PointAnnotationType(BaseAnnotationType):
    pass

<mask token>


class PointAnnotation(BaseAnnotation):

    def __init__(self, time):
        self.time = time


class IntervalAnnotationType(BaseAnnotationType):
    pass


class PointAnnotationType(BaseAnnotationType):
    pass

<mask token>


class IntervalAnnotation(BaseAnnotation):

    def __init__(self, begin, end):
        self.begin = begin
        self.end = end
        self.midpoint = (end - begin) / 2 + begin


class PointAnnotation(BaseAnnotation):

    def __init__(self, time):
        self.time = time


class IntervalAnnotationType(BaseAnnotationType):
    pass


class PointAnnotationType(BaseAnnotationType):
    pass

from .base import BaseAnnotationType, BaseAnnotation


class IntervalAnnotation(BaseAnnotation):

    def __init__(self, begin, end):
        self.begin = begin
        self.end = end
        self.midpoint = (end - begin) / 2 + begin


class PointAnnotation(BaseAnnotation):

    def __init__(self, time):
        self.time = time


class IntervalAnnotationType(BaseAnnotationType):
    pass


class PointAnnotationType(BaseAnnotationType):
    pass
