@property<EOL><INDENT>def connect_timeout(self):<DEDENT>
if self.total is None:<EOL><INDENT>return self._connect<EOL><DEDENT>if self._connect is None or self._connect is self.DEFAULT_TIMEOUT:<EOL><INDENT>return self.total<EOL><DEDENT>return min(self._connect, self.total)<EOL>
Get the value to use when setting a connection timeout.

        This will be a positive float or integer, the value None
        (never timeout), or the default system timeout.

        :return: Connect timeout.
        :rtype: int, float, :attr:`Timeout.DEFAULT_TIMEOUT` or None