github criteo/py-consul v1.2.1
Release v1.2.1

latest releases: v1.7.1, v1.7.0, test...
5 years ago
  • 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:
async with aio.Consul(...) as consul:
      svcs = await consul.agent.services()
      # Implicit close of the HTTP client

for svc in svcs:
  (...)
  • bugfixes:
    • rename internal connect method - this can lead to troubles since base.Consul class method and attribute names are conflicting since the connect integration performed in 1.2.0.

Don't miss a new py-consul release

NewReleases is sending notifications on new releases.