authomatic/core.py
def expire_in(self, value):
        """
        Computes :attr:`.expiration_time` when the value is set.
        """

        # pylint:disable=attribute-defined-outside-init
        if value:
            self._expiration_time = int(time.time()) + int(value)
            self._expire_in = value
def expire_in(self, value):
        """
        Computes :attr:`.expiration_time` when the value is set.
        """

        # pylint:disable=attribute-defined-outside-init
        if value:
            self._expiration_time = int(time.time()) + int(value)
            self._expire_in = value
def expire_in ( self , value ) : # pylint:disable=attribute-defined-outside-init if value : self . _expiration_time = int ( time . time ( ) ) + int ( value ) self . _expire_in = value
Computes :attr:`.expiration_time` when the value is set.
Computes : attr : . expiration_time when the value is set .