"""
LucidLink Python Library - Daemon Type Definitions
Types associated with the deprecated :class:`lucidlink.Daemon` API.
New code should use :class:`lucidlink.Client`.
"""
from dataclasses import dataclass
[docs]
@dataclass
class DaemonStatus:
"""Daemon status information.
Returned by ``Daemon.get_status()``.
"""
is_running: bool
"""Whether the daemon is currently running."""
is_authenticated: bool
"""Whether the daemon has authenticated to a workspace."""
is_linked: bool
"""Whether the authenticated workspace has any linked filespace.
.. deprecated::
Use ``Workspace.linked_filespaces`` instead, which reports the
individual links rather than a single yes/no.
"""
root_path: str
"""Root path for daemon operational files."""