<filename>pyobs/interfaces/IReady.py<gh_stars>1-10
from .interface import Interface


class IReady(Interface):
    """The module can be in a "not ready" state for science and need to be initialized in some way."""
    __module__ = 'pyobs.interfaces'

    def is_ready(self, *args, **kwargs) -> bool:
        """Returns the device is "ready", whatever that means for the specific device.

        Returns:
            Whether device is ready
        """
        raise NotImplementedError


__all__ = ['IReady']

<filename>pyobs/interfaces/IReady.py<gh_stars>1-10
from .interface import Interface


class IReady(Interface):
    """The module can be in a "not ready" state for science and need to be initialized in some way."""
    __module__ = 'pyobs.interfaces'

    def is_ready(self, *args, **kwargs) -> bool:
        """Returns the device is "ready", whatever that means for the specific device.

        Returns:
            Whether device is ready
        """
        raise NotImplementedError


__all__ = ['IReady']

The module can be in a "not ready" state for science and need to be initialized in some way. Returns the device is "ready", whatever that means for the specific device.          Returns:             Whether device is ready