von_anchor/anchor/rrbuilder.py
def _get_state(wallet_name: str) -> _State:
        """
        Return current state of revocation registry builder process.

        :param wallet_name: name of wallet for corresponding Issuer
        :return: current process state as _State enum
        """

        dir_sentinel = RevRegBuilder.dir_tails_sentinel(wallet_name)
        file_pid = join(dir_sentinel, '.pid')
        file_start = join(dir_sentinel, '.start')
        file_stop = join(dir_sentinel, '.stop')

        if isfile(file_stop):
            return _State.STOPPING

        if isfile(file_start) or isfile(file_pid):
            return _State.RUNNING

        return _State.ABSENT

        Return current state of revocation registry builder process.

        :param wallet_name: name of wallet for corresponding Issuer
        :return: current process state as _State enum
        
Return current state of revocation registry builder process.
Return current state of revocation registry builder process .
def _get_state(wallet_name: str) -> _State:
        dir_sentinel = RevRegBuilder.dir_tails_sentinel(wallet_name)
        file_pid = join(dir_sentinel, '.pid')
        file_start = join(dir_sentinel, '.start')
        file_stop = join(dir_sentinel, '.stop')
        if isfile(file_stop):
            return _State.STOPPING
        if isfile(file_start) or isfile(file_pid):
            return _State.RUNNING
        return _State.ABSENT
def _get_state ( wallet_name : str ) -> _State : dir_sentinel = RevRegBuilder . dir_tails_sentinel ( wallet_name ) file_pid = join ( dir_sentinel , '.pid' ) file_start = join ( dir_sentinel , '.start' ) file_stop = join ( dir_sentinel , '.stop' ) if isfile ( file_stop ) : return _State . STOPPING if isfile ( file_start ) or isfile ( file_pid ) : return _State . RUNNING return _State . ABSENT
Return current state of revocation registry builder process.
Return current state of revocation registry builder process .
"""
        Return current state of revocation registry builder process.

        :param wallet_name: name of wallet for corresponding Issuer
        :return: current process state as _State enum
        """
current process state as _State enum
current process state as _State enum
wallet_name
str
name of wallet for corresponding Issuer
name of wallet for corresponding Issuer