AirbusDefenceAndSpace / pesto

PESTO provides a set of tools to ease the process of packaging a Python algorithm as a processing web service into a docker image. The deployment of a web service becomes now as easy as filling few configuration files.
https://airbusdefenceandspace.github.io/pesto
Apache License 2.0
24 stars 8 forks source link

fix: move docker.from_env() to attribute instead of class variable to… #3

Closed fchouteau closed 2 years ago

fchouteau commented 3 years ago

… avoid docker to be loaded when importing TestRunner

This is a hotfix correcting a possible issue (See #2) when docker is possibly misconfigured or missing when calling pesto --help. Pesto --help should work whenever the case, even if pesto requires docker to be properly installed and configured.