consul.std module

class consul.std.Consul(*args, connections_timeout=30, **kwargs)[source]

Bases: Consul

connections_timeout is how long, in seconds, to wait for the agent to connect or answer before requests raises a timeout, so a connection the agent dropped silently does not block forever. For a blocking query, the query’s wait and its jitter are added to it. None disables the timeout.

Parameters:

connections_timeout (float | None)

http_connect(host, port, scheme, verify=True, cert=None)[source]
Parameters: