Release v1.2.1
- features:
- Add support for /v1/agent/service/:service_id API via
.agent.service_definition - Add support for (async or sync) context-managers. This is especially useful for aiohttp, and usable this way:
- Add support for /v1/agent/service/:service_id API via
async with aio.Consul(...) as consul:
svcs = await consul.agent.services()
# Implicit close of the HTTP client
for svc in svcs:
(...)
- bugfixes:
- rename internal
connectmethod - this can lead to troubles sincebase.Consulclass method and attribute names are conflicting since the connect integration performed in 1.2.0.
- rename internal