oktaawscli/okta_auth_config.py
def duration_for(self, okta_profile):
        """ Gets requested duration from config, ignore it on failure """
        if self._value.has_option(okta_profile, 'duration'):
            duration = self._value.get(okta_profile, 'duration')
            self.logger.debug(
                "Requesting a duration of %s seconds" % duration
            )
            try:
                return int(duration)
            except ValueError:
                self.logger.warn(
                    "Duration could not be converted to a number,"
                    " ignoring."
                )
        return None
 Gets requested duration from config, ignore it on failure 
Gets requested duration from config, ignore it on failure
Gets requested duration from config ignore it on failure
def duration_for(self, okta_profile):
        if self._value.has_option(okta_profile, 'duration'):
            duration = self._value.get(okta_profile, 'duration')
            self.logger.debug(
                "Requesting a duration of %s seconds" % duration
            )
            try:
                return int(duration)
            except ValueError:
                self.logger.warn(
                    "Duration could not be converted to a number,"
                    " ignoring."
                )
        return None
def duration_for ( self , okta_profile ) : if self . _value . has_option ( okta_profile , 'duration' ) : duration = self . _value . get ( okta_profile , 'duration' ) self . logger . debug ( "Requesting a duration of %s seconds" % duration ) try : return int ( duration ) except ValueError : self . logger . warn ( "Duration could not be converted to a number," " ignoring." ) return None
Gets requested duration from config, ignore it on failure
Gets requested duration from config ignore it on failure
""" Gets requested duration from config, ignore it on failure """
self
okta_profile