Source code for flexlogger.automation._screen_document

from typing import Callable

from grpc import Channel

from .proto.Identifiers_pb2 import ElementIdentifier


[docs] class ScreenDocument: """Represents a document that displays data. Do not create this class directly; instead, use the return value of :meth:`.Project.open_screen_document`. Note that this class currently has no functionality; more functionality may be added in the future. """ def __init__( self, channel: Channel, raise_if_application_closed: Callable[[], None], identifier: ElementIdentifier, ) -> None: self._channel = channel self._raise_if_application_closed = raise_if_application_closed self._identifier = identifier