findmy.reports.state ==================== .. py:module:: findmy.reports.state .. autoapi-nested-parse:: Account login state. Classes ------- .. autoapisummary:: findmy.reports.state.LoginState Module Contents --------------- .. py:class:: LoginState Bases: :py:obj:`enum.Enum` Enum of possible login states. Used for `AppleAccount`'s internal state machine. .. py:attribute:: LOGGED_OUT :value: 0 .. py:attribute:: REQUIRE_2FA :value: 1 .. py:attribute:: AUTHENTICATED :value: 2 .. py:attribute:: LOGGED_IN :value: 3 .. py:method:: __lt__(other: LoginState) -> bool Compare against another `LoginState`. A `LoginState` is said to be "less than" another `LoginState` iff it is in an "earlier" stage of the login process, going from LOGGED_OUT to LOGGED_IN. .. py:method:: __repr__() -> str Human-readable string representation of the state.